Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Developer

How to Use Semantic Scholar paper references in Gemini CLI

Returns papers cited in a selected paper's bibliography, with citation context where available. Use it to trace earlier methods and background sources before following later citations.

Prompts to try with Semantic Scholar paper references in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Semantic Scholar paper references for ARXIV:2005.11401 and add its returned bibliography to docs/rag-reading.md, including citation passages where available.

Semantic Scholar paper referencesGemini CLI
Try asking
  • Use Semantic Scholar paper references to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Semantic Scholar paper references and tell me what changed since last week.

  • Check Semantic Scholar paper references and summarize what you find in three bullet points.

  • Pull the newest data from Semantic Scholar paper references and give me the result as a table.

How to set up Semantic Scholar paper references in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Semantic Scholar paper references

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "semanticscholar-org/papers/get_references",
        "input": {
          "paper_id": "<paper_id>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Semantic Scholar paper references on Spiral, shows the price and runs it.

Semantic Scholar paper references providers and prices

Spiral runs Semantic Scholar paper references through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper
Semantic Scholar · Get references
semanticscholar-org/papers/get_references

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 10025

Items per page (1-100, default 25).

Every API field of Semantic Scholar · Get references is on its tool page: open its card above.

What can you do with Semantic Scholar paper references in Gemini CLI?

Build a research bibliography beside the code that implements a method, with Semantic Scholar records supporting each reading candidate. A coding agent can turn paper metadata and research connections into project documentation and comparison tables.

Prepare a literature review

Start with a topic search, resolve cited titles, collect paper records, and expand through references, citations, and recommendations. Use author records and publication lists to check attribution and find additional work for screening.

Update a survey bibliography

Resolve the survey's existing citations, retrieve their records, and look for subsequent citations and related papers. Search the topic and cited authors' publications to propose additions, with author metrics providing corpus context.

Map a paper's research context

Resolve a starting title, collect its bibliography and citing papers, and add recommendations as separate reading candidates. Retrieve the resulting paper records to create a map with clear citation directions.

Maintain a research topic bulletin

Repeat a topic search and check citations, author publications, and recommendations for reading candidates. Inspect their records and references to explain why each addition belongs in the bulletin.

Compare methods before implementation

Find papers for competing approaches and assemble their bibliographic records and available abstracts. Follow references, subsequent citations, and recommendations to build a reading queue for evaluating the methods.

Build an annotated seminar reading list

Combine topic searches, known titles, citation trails, and recommendations into a reading shortlist. Add paper details and author publication context so participants can see the bibliography behind each selection.

Questions about Semantic Scholar paper references in Gemini CLI

Can Gemini CLI use Semantic Scholar paper references?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Semantic Scholar paper references like any built-in tool.

How much does Semantic Scholar paper references cost in Gemini CLI?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an Alexandria account to use Semantic Scholar paper references in Gemini CLI?

No. Spiral runs Semantic Scholar paper references on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Semantic Scholar paper references in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while Semantic Scholar paper references runs?

Semantic Scholar paper references runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does Semantic Scholar cover every kind of research publication?

Its corpus spans all fields of science, with academic articles and preprints as the primary focus. Book coverage is limited, and patents are excluded from the scholarly corpus described in its citation-count documentation.

Where does Semantic Scholar get its papers?

It combines web indexing with partnerships involving scientific journals, indexes, and content providers. Its documented sources include PubMed, arXiv, and Springer Nature.

How fresh is Semantic Scholar's data?

Semantic Scholar says it adds content daily, which can change citation counts as additional papers enter the corpus. That describes corpus additions, rather than a guaranteed daily refresh of every record.

Why do Semantic Scholar's citation counts differ from other sources?

Counts depend on the citing papers discoverable in its own corpus. Its limited book coverage and exclusion of patents mean the counted material can differ from another scholarly index.

Does a publication date always mean the paper first appeared online?

Semantic Scholar may display either the print date or the online date, depending on the metadata supplied by its source.

Get started

Start using Semantic Scholar paper references in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options