[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Semantic Scholar related papers](https://spiral.ai/integrations/gemini-cli/semantic-scholar-related-papers)

# How to Use Semantic Scholar related papers in Gemini CLI

Returns recommended papers based on one paper or a set of positive and negative examples. Use it to expand a reading list through paper similarity alongside citation and reference searches.

|  |  |
| --- | --- |
| Model | Semantic Scholar related papers |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Semantic Scholar related papers in Gemini CLI

- Use Semantic Scholar related papers to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Semantic Scholar related papers and tell me what changed since last week.
- Check Semantic Scholar related papers and summarize what you find in three bullet points.
- Pull the newest data from Semantic Scholar related papers and give me the result as a table.
- Check Semantic Scholar related papers every morning and tell me only when something changed.

## How to set up Semantic Scholar related papers 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:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
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.

```bash
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 related papers**: One request; the result comes back by polling or a webhook.

```bash
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_recommendations",
    "input": {
      "pool": "all-cs"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Semantic Scholar related papers tools and prices

- [Semantic Scholar · Get recommendations](https://spiral.ai/tools/alexandria/semanticscholar-org/papers/get_recommendations) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| pool | recent, all-cs | all-cs | Single-seed mode only: `recent` recommends from recent papers, `all-cs` from all computer-science papers (the source's default `recent` returns nothing for older seeds). |
| limit | 1 to 500 | 25 | Items per page (1-500, default 25). |
| paper_id |  | — | Semantic Scholar paper id (40 hex chars), `CorpusId:<n>`, `DOI:<doi>`, `ARXIV:<id>`, `MAG:<id>`, `ACL:<id>`, `PMID:<id>`, `PMCID:<id>`, `URL:<url>`, a bare DOI (`10.1016/...`), a bare arXiv id (`1812.08434`), or a semanticscholar.org paper URL, arxiv.org or doi.org URL. |
| negative_paper_ids |  | — | Papers to steer away from (multi-seed mode only). |
| positive_paper_ids |  | — | Seed papers to be similar to (multi-seed mode; not combined with `paper_id`). |

## What can you do with Semantic Scholar related papers 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Semantic Scholar related papers in other agents

- [Amp](https://spiral.ai/integrations/amp/semantic-scholar-related-papers)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/semantic-scholar-related-papers)
- [Claude](https://spiral.ai/integrations/claude-desktop/semantic-scholar-related-papers)
- [Claude Code](https://spiral.ai/integrations/claude-code/semantic-scholar-related-papers)
- [Cline](https://spiral.ai/integrations/cline/semantic-scholar-related-papers)
- [Codex](https://spiral.ai/integrations/codex/semantic-scholar-related-papers)
- [Cursor](https://spiral.ai/integrations/cursor/semantic-scholar-related-papers)
- [Devin](https://spiral.ai/integrations/devin/semantic-scholar-related-papers)
- [dots](https://spiral.ai/integrations/dots/semantic-scholar-related-papers)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/semantic-scholar-related-papers)
- [Gemini](https://spiral.ai/integrations/gemini/semantic-scholar-related-papers)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/semantic-scholar-related-papers)
- [goose](https://spiral.ai/integrations/goose/semantic-scholar-related-papers)
- [Grok](https://spiral.ai/integrations/grok/semantic-scholar-related-papers)
- [Grok Build](https://spiral.ai/integrations/grok-build/semantic-scholar-related-papers)
- [Hermes](https://spiral.ai/integrations/hermes/semantic-scholar-related-papers)
- [Instinct](https://spiral.ai/integrations/instinct/semantic-scholar-related-papers)
- [Manus](https://spiral.ai/integrations/manus/semantic-scholar-related-papers)
- [Muse](https://spiral.ai/integrations/muse/semantic-scholar-related-papers)
- [Muse Code](https://spiral.ai/integrations/muse-code/semantic-scholar-related-papers)
- [n8n](https://spiral.ai/integrations/n8n/semantic-scholar-related-papers)
- [Notion](https://spiral.ai/integrations/notion/semantic-scholar-related-papers)
- [OpenClaw](https://spiral.ai/integrations/openclaw/semantic-scholar-related-papers)
- [opencode](https://spiral.ai/integrations/opencode/semantic-scholar-related-papers)
- [Perplexity](https://spiral.ai/integrations/perplexity/semantic-scholar-related-papers)
- [Raycast](https://spiral.ai/integrations/raycast/semantic-scholar-related-papers)
- [VS Code](https://spiral.ai/integrations/vscode/semantic-scholar-related-papers)
- [Windsurf](https://spiral.ai/integrations/windsurf/semantic-scholar-related-papers)
- [Zapier](https://spiral.ai/integrations/zapier/semantic-scholar-related-papers)

## More Gemini CLI guides

- [Semantic Scholar paper title match](https://spiral.ai/integrations/gemini-cli/semantic-scholar-paper-title-match)
- [Vercel AI Gateway model catalog](https://spiral.ai/integrations/gemini-cli/vercel-ai-gateway-model-catalog)
- [Semantic Scholar paper search](https://spiral.ai/integrations/gemini-cli/semantic-scholar-paper-search)
- [Vercel AI Gateway model details](https://spiral.ai/integrations/gemini-cli/vercel-ai-gateway-model-details)
- [Semantic Scholar paper references](https://spiral.ai/integrations/gemini-cli/semantic-scholar-paper-references)
- [Vercel Marketplace integrations](https://spiral.ai/integrations/gemini-cli/vercel-marketplace-integrations)

## Questions about Semantic Scholar related papers in Gemini CLI

**Can Gemini CLI use Semantic Scholar related papers?**

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

**How much does Semantic Scholar related papers 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 related papers in Gemini CLI?**

No. Spiral runs Semantic Scholar related papers 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 related papers in Gemini CLI?**

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

**Does Gemini CLI wait while Semantic Scholar related papers runs?**

Semantic Scholar related papers 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.

