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.
Prompts to try with arXiv category papers in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
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
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run arXiv category papers
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": "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.
arXiv category papers providers and prices
Spiral runs arXiv category papers through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Show | 25, 50, 100, 250, 500, 1000, or 2000 | Page size arXiv fetches (one of 25, 50, 100, 250, 500, 1000, 2000; default 25). | |
| Skip | 0 to 200000 | Zero-based offset of the first entry (the | |
| Limit | 1 to 2000 | Entries to return from the fetched page (default: all of them). |
Every API field of arXiv · List category is on its tool page: open its card above.
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.
More on arXiv category papers and Gemini CLI
Overview
arXiv category papers in other agents
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.
Start using arXiv category papers 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 https://spiral.ai/SKILL.md


