[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [arXiv paper details](https://spiral.ai/integrations/gemini-cli/arxiv-paper-details)

# How to Use arXiv paper details in Gemini CLI

Returns one paper's title, authors, abstract, categories, submission dates, and links, with publication references when available. Use it to check a known paper or inspect a specific version.

|  |  |
| --- | --- |
| Model | arXiv paper details |
| 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 arXiv paper details in Gemini CLI

- Use arXiv paper details for 1706.03762 and compare its title and author list with the reference in our project's documentation.
- Use arXiv paper details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from arXiv paper details and tell me what changed since last week.
- Check arXiv paper details and summarize what you find in three bullet points.
- Pull the newest data from arXiv paper details and give me the result as a table.

## How to set up arXiv paper details 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 arXiv paper details**: 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": "arxiv-org/papers/get_paper",
    "input": {
      "url": "<url>"
    }
  }'
```

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

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

## arXiv paper details tools and prices

- [arXiv · Get paper](https://spiral.ai/tools/alexandria/arxiv-org/papers/get_paper) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A pasted arxiv.org paper URL instead of `arxiv_id`. |
| arxiv_id |  | — | arXiv identifier, new (`YYMM.NNNNN[vN]`) or old (`archive/YYMMNNN[vN]`) style, with or without the `arXiv:` prefix. |

## What can you do with arXiv paper details in Gemini CLI?

Build a research index with arXiv paper records, subject organization, and bibliography entries. Connect those records to the project's reading lists or documentation so each selected reference has an identifiable source.

### Build a subject research catalog

Choose subject sets, collect their metadata, and use category listings and topic searches to organize discovery. Add individual paper details and BibTeX citations to each selected catalog entry.

### Prepare a cited literature review

Find papers about retrieval-augmented generation, inspect their abstracts, and export citations for the selected references. Build the initial reading shortlist from metadata before evaluating the papers themselves.

### Prepare a journal club reading list

Browse machine learning announcements, search for the meeting's topic, and inspect promising paper records. Attach a BibTeX citation to each paper chosen for discussion.

### Audit research catalog changes

Define a discipline with subject sets and harvest records modified since the previous collection. Compare stored metadata with individual paper records to review changed titles, abstracts, or publication references.

### Plan an interdisciplinary course

Choose subject areas spanning computer science and statistics, browse their paper listings, and search for course topics. Inspect paper details and collect citations for the final reading list.

### Maintain a topical reading website

Define subject coverage, refresh metadata, and combine category browsing with topic searches to select papers. Publish chosen paper descriptions and citation entries, with links to arXiv.

### Refresh an existing bibliography

Compare changed metadata with the papers already cited in a research collection. Inspect individual records and retrieve citation entries for references that need review.

## Overview

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

## arXiv paper details in other agents

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

## More Gemini CLI guides

- [arXiv metadata harvest](https://spiral.ai/integrations/gemini-cli/arxiv-metadata-harvest)
- [arXiv paper search](https://spiral.ai/integrations/gemini-cli/arxiv-paper-search)
- [arXiv category papers](https://spiral.ai/integrations/gemini-cli/arxiv-category-papers)
- [arXiv subject sets](https://spiral.ai/integrations/gemini-cli/arxiv-subject-sets)
- [arXiv BibTeX citation](https://spiral.ai/integrations/gemini-cli/arxiv-bibtex-citation)
- [deps.dev package dependents](https://spiral.ai/integrations/gemini-cli/deps-dev-package-dependents)

## Questions about arXiv paper details in Gemini CLI

**Can Gemini CLI use arXiv paper details?**

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

**How much does arXiv paper details 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 arXiv paper details in Gemini CLI?**

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

**How long does it take to set up arXiv paper details in Gemini CLI?**

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

**Does Gemini CLI wait while arXiv paper details runs?**

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

**Which research fields does arXiv cover?**

arXiv covers eight areas, including physics, mathematics, computer science, economics, and quantitative finance. Its coverage is bounded by those subject areas.

**How fresh are arXiv records?**

New public announcements normally appear Sunday through Thursday, with none on Friday or Saturday. The bulk metadata service adds new article metadata daily.

**Does appearing on arXiv mean a paper passed peer review?**

No. arXiv checks submissions through moderation, but that process is separate from peer review.

**Can I collect metadata for all of arXiv?**

The OAI-PMH service provides metadata for all arXiv articles and is the preferred route for keeping a bulk copy current. Subject sets let you restrict collection to a category, archive, or broader discipline.

**Does a harvesting date range identify papers submitted during that period?**

No. Harvesting dates follow metadata modifications, so older papers can appear when their records change. They cannot reliably produce a count of papers originally submitted in a particular month.

