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

# How to Use arXiv category papers in Gemini CLI

Returns paper entries from an arXiv subject listing, including titles, authors, and identifiers. Use it to browse a discipline's announcements without choosing topic keywords.

|  |  |
| --- | --- |
| Model | arXiv category 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 arXiv category papers in Gemini CLI

- Use arXiv category papers to retrieve recent cs.LG entries and build a title-and-link reading list in docs/machine-learning.md.
- Use arXiv category papers to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from arXiv category papers and tell me what changed since last week.
- Check arXiv category papers and summarize what you find in three bullet points.
- Pull the newest data from arXiv category papers and give me the result as a table.

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

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

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

## arXiv category papers tools and prices

- [arXiv · List category](https://spiral.ai/tools/alexandria/arxiv-org/papers/list_category) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A pasted `https://arxiv.org/list/{category}/{period}` URL instead of `category`/`period`. |
| show | 25, 50, 100, 250, 500, 1000, 2000 | — | Page size arXiv fetches (one of 25, 50, 100, 250, 500, 1000, 2000; default 25). `limit` may return fewer. |
| skip | 0 to 200000 | — | Zero-based offset of the first entry (the `next_skip` of a previous page). |
| limit | 1 to 2000 | — | Entries to return from the fetched page (default: all of them). `next_skip` continues after the last returned entry. |
| category |  | — | Archive or category code, e.g. `cs`, `cs.LG`, `math.AP`, `hep-th`, `econ.GN`. Pattern: ^[a-zA-Z][a-zA-Z-]*(\.[A-Za-z][A-Za-z-]*)?$. |

## What can you do with arXiv category papers 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 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.

### 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.

### Compare publication activity by subject

Use subject sets to define comparable scopes and harvested metadata to build a subject-level dataset. Check category listings against the collected records before reporting counts.

### 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.

## Overview

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

## arXiv category papers in other agents

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

## More Gemini CLI guides

- [arXiv BibTeX citation](https://spiral.ai/integrations/gemini-cli/arxiv-bibtex-citation)
- [arXiv metadata harvest](https://spiral.ai/integrations/gemini-cli/arxiv-metadata-harvest)
- [Wayback Machine earliest capture](https://spiral.ai/integrations/gemini-cli/wayback-machine-earliest-capture)
- [arXiv paper details](https://spiral.ai/integrations/gemini-cli/arxiv-paper-details)
- [Wayback Machine capture history](https://spiral.ai/integrations/gemini-cli/wayback-machine-capture-history)
- [arXiv paper search](https://spiral.ai/integrations/gemini-cli/arxiv-paper-search)

## Questions about arXiv category papers in Gemini CLI

**Can Gemini CLI use arXiv category papers?**

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

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

No. Spiral runs arXiv category 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 arXiv category papers in Gemini CLI?**

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

**Does Gemini CLI wait while arXiv category papers runs?**

arXiv category papers 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.

