arXiv search: preprints by topic, or one paper by ID
Search arXiv, the open preprint server for physics, mathematics, computer science and AI: give search words (every word must match, quotes for a phrase) and optionally a category such as cs.AI, and get 1-20 papers by relevance or newest first, each with title, abstract, authors, dates, categories, DOI and PDF link. An arXiv ID or link returns that paper. Use to find research on a topic, cite a paper or read its abstract before the PDF.
Inputs
| Name | Type | Description |
|---|---|---|
q (required) | string | Search words, or an arXiv ID or link (1706.03762, arxiv.org/abs/2401.01234) |
count | integer | Papers to return (1-20, default 5) |
sort | string | relevance (default), newest (submission date) or updated. One of: relevance, newest, updated. |
category | string | Optional arXiv category to search in, e.g. cs.AI, cs.CL, stat.ML, hep-th |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/arxiv/search?q=retrieval%20augmented%20generation"
Or one of your 3 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/arxiv/search?q=retrieval%20augmented%20generation&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"query": "retrieval augmented generation",
"total": 4912,
"count": 1,
"papers": [
{
"id": "2005.11401",
"version": 4,
"title": "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks",
"summary": "Large pre-trained language models have been shown to store factual knowledge in their parameters, and achieve state-of-the-art results when fine-tuned on downstream NLP tasks. …",
"authors": [
"Patrick Lewis",
"Ethan Perez",
"Aleksandra Piktus"
],
"authorsTotal": 12,
"published": "2020-05-22",
"updated": "2021-04-12",
"primaryCategory": "cs.CL",
"categories": [
"cs.CL",
"cs.LG"
],
"comment": "Accepted at NeurIPS 2020",
"journalRef": null,
"doi": null,
"url": "https://arxiv.org/abs/2005.11401",
"pdf": "https://arxiv.org/pdf/2005.11401"
}
],
"source": "arXiv API (metadata CC0)",
"attribution": "Thank you to arXiv for use of its open access interoperability.",
"checkedAt": "2026-11-10T22:00:00.000Z"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is arxiv_search, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp