arXiv MCP x402

Two pay-per-call endpoints for the arXiv preprint corpus. No signup, no API key. Pay USDC on Base; settle x402 and retry.

Endpoints

Endpoint Price Source What it does
POST /v1/papers/search $0.04 export.arxiv.org/api Full-text metadata search; query / title / authors / categories / submitted-date.
POST /v1/papers/by_id $0.05 export.arxiv.org/api Resolve one or more papers by arXiv id; modern + old-style supported.

Discovery surfaces

Quickstart — search

curl -X POST https://arxiv-mcp.mtree.workers.dev/v1/papers/search \
  -H "content-type: application/json" \
  -d '{
    "query": "retrieval augmented generation",
    "categories": "cs.CL,cs.LG",
    "fromDays": 365,
    "sortBy": "submittedDate",
    "limit": 5
  }'

Quickstart — resolve by id

curl -X POST https://arxiv-mcp.mtree.workers.dev/v1/papers/by_id \
  -H "content-type: application/json" \
  -d '{ "ids": "2401.12345,2310.06825" }'

First call returns 402 with an x402 envelope. Sign X-PAYMENT against payTo 0x1664530DC2A1CA350B1dbaD1Fc1F1a70c90fe4de (USDC, Base) and retry.

Source

arXiv API is the canonical Atom 1.0 query interface to the entire arXiv corpus — every preprint since 1991, all STEM categories. arXiv API user manual.

Repo: github.com/sebastiancoombs/arxiv-mcp · Provider: Money Tree