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

Gemini · Developer

How to Use arXiv subject sets in Gemini

Returns the subject sets available for arXiv metadata harvesting. Use it to choose a category, archive, or broader subject scope before collecting paper records.

Prompts to try with arXiv subject sets in Gemini

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

Use arXiv subject sets to look this up and give me the result as a table.

arXiv subject setsGemini
Try asking
  • Pull the latest numbers from arXiv subject sets and tell me what changed since last week.

  • Check arXiv subject sets and summarize what you find in three bullet points.

  • Pull the newest data from arXiv subject sets and give me the result as a table.

  • Check arXiv subject sets every morning and tell me only when something changed.

How to set up arXiv subject sets in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 arXiv subject sets

    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_sets",
        "input": {}
      }'

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

arXiv subject sets providers and prices

Spiral runs arXiv subject sets through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper
arXiv · List sets
arxiv-org/papers/list_sets

What can you do with arXiv subject sets in Gemini?

Prepare an arXiv reading list with paper descriptions and citation information for a research discussion. Use subject organization and paper metadata to explain why each reference belongs on the list.

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.

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.

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.

Questions about arXiv subject sets in Gemini

Can Gemini use arXiv subject sets?

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

How much does arXiv subject sets cost in Gemini?

$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 plan is separate.

Do I need an Alexandria account to use arXiv subject sets in Gemini?

No. Spiral runs arXiv subject sets 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 subject sets in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while arXiv subject sets runs?

arXiv subject sets runs in the background. Gemini 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.

Get started

Start using arXiv subject sets in Gemini

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

Paste this into Gemini:

Set up Gemini

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