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

OpenClaw · Developer

How to Use arXiv metadata harvest in OpenClaw

Returns arXiv metadata records through its OAI-PMH service, including paper license information. Use it to build or refresh a research catalog by metadata modification date.

Prompts to try with arXiv metadata harvest in OpenClaw

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

Once a day, use arXiv subject sets to identify the computer science scope, then use arXiv metadata harvest to collect records modified since the previous collection and summarize changed paper metadata.

arXiv metadata harvestOpenClaw
Try asking
  • Every Monday at 9am: use arXiv metadata harvest to look this up and give me the result as a table.

  • Pull the latest numbers from arXiv metadata harvest and tell me what changed since last week.

  • Check arXiv metadata harvest and summarize what you find in three bullet points.

  • Pull the newest data from arXiv metadata harvest and give me the result as a table.

How to set up arXiv metadata harvest in OpenClaw

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

Use the Spiral skill

  1. Send OpenClaw 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 Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

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 metadata harvest

    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/harvest_records",
        "input": {
          "set": "<set>"
        }
      }'

Then paste one of the prompts above: OpenClaw finds arXiv metadata harvest on Spiral, shows the price and runs it.

arXiv metadata harvest providers and prices

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

AlexandriaDeveloper
arXiv · Harvest records
arxiv-org/papers/harvest_records

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 1000

Records to return in this call (1-1000; default 100).

Every API field of arXiv · Harvest records is on its tool page: open its card above.

What can you do with arXiv metadata harvest in OpenClaw?

Keep an arXiv research catalog and recurring reading brief current as paper metadata changes. Organize the work by subject and preserve the paper identifiers needed to revisit records and citations.

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.

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.

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.

Questions about arXiv metadata harvest in OpenClaw

Can OpenClaw use arXiv metadata harvest?

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run arXiv metadata harvest like any built-in tool.

How much does arXiv metadata harvest cost in OpenClaw?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

Do I need an Alexandria account to use arXiv metadata harvest in OpenClaw?

No. Spiral runs arXiv metadata harvest 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 metadata harvest in OpenClaw?

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

Does OpenClaw wait while arXiv metadata harvest runs?

arXiv metadata harvest runs in the background. OpenClaw 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 metadata harvest in OpenClaw

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

Paste this into OpenClaw:

Set up OpenClaw

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