rxiv
Provides tools to search arXiv preprints by plain text or raw arXiv query syntax with category and date filters, retrieve metadata and abstracts for arXiv IDs or URLs, and fetch paged full text from arXiv HTML renderings or PDFs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rxiv Search bioRxiv for recent CRISPR base editing preprints from 2025."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rxiv-mcp
A Model Context Protocol server that lets Claude (or any MCP client) search and read preprints on arXiv, bioRxiv, and medRxiv.
No API keys. No native dependencies. Runs over stdio with Node 20+.
Tools
Tool | What it does |
| Search arXiv by plain text or raw arXiv query syntax ( |
| Metadata and abstract for one or more arXiv IDs or URLs. |
| Full text of a paper, from arXiv's HTML rendering (LaTeX math preserved) or the PDF. Paged. |
| Keyword search across bioRxiv and medRxiv, with server, date, and sort (relevance / date / citations) filters. |
| Official bioRxiv/medRxiv record for a DOI: all versions, license, category, and the published journal version if any. |
| Browse what was posted in a date window, optionally by subject category. |
| Full text of a bioRxiv/medRxiv preprint (JATS XML or PDF). Paged. |
Full-text tools return up to max_chars characters (default 40,000) and report truncated and next_offset so the client can page through long papers.
Related MCP server: preprint-fulltext
Install
Claude Code
# from a local clone
git clone https://github.com/sakzgupzzz/rxiv-mcp.git
cd rxiv-mcp && npm install # builds dist/ via the prepare script
claude mcp add --scope user rxiv -- node /absolute/path/to/rxiv-mcp/dist/index.js
# or straight from GitHub, no clone
claude mcp add --scope user rxiv -- npx -y github:sakzgupzzz/rxiv-mcpClaude Desktop / other MCP clients
Add to claude_desktop_config.json (or the equivalent for your client):
{
"mcpServers": {
"rxiv": {
"command": "npx",
"args": ["-y", "github:sakzgupzzz/rxiv-mcp"]
}
}
}Examples of what to ask
"Find the five most-cited bioRxiv preprints on CRISPR base editing from 2025."
"What was posted to medRxiv in epidemiology in the last three days?"
"Read arXiv 2410.12345 and summarise the method section."
"Has bioRxiv 10.1101/2025.05.19.654892 been published in a journal?"
How it works
arXiv uses the official arXiv API (Atom feed). Requests are spaced at least 3 seconds apart per arXiv's rate-limit guidance. Full text comes from
arxiv.org/html/<id>when the paper has an HTML rendering, otherwise the PDF is parsed with unpdf.bioRxiv / medRxiv metadata, version history, and published-version lookups use the official bioRxiv API. That API has no keyword search and only lists by DOI or date range, so:
Search goes through Europe PMC, which indexes every bioRxiv and medRxiv preprint with abstracts and citation counts. You can use Europe PMC query syntax directly (
TITLE:"...",AUTH:"...",ABSTRACT:"...").Full text also comes from Europe PMC (JATS XML, then PDF), because biorxiv.org rate-limits scripted downloads. Full text typically appears there a few days after a preprint is posted.
Every outbound request carries a descriptive User-Agent, is throttled per host, and retries on 429/5xx.
Development
npm install
npm run build # tsc -> dist/
npm test # starts the server, checks the tool list (offline)
npm run smoke # exercises every tool against the live APIsSource layout:
src/index.ts server entry (stdio)
src/tools.ts tool definitions and input schemas
src/arxiv.ts arXiv API client + full text
src/biorxiv.ts bioRxiv API + Europe PMC clients
src/text.ts HTML / JATS to text, paging
src/pdf.ts PDF text extraction
src/http.ts fetch wrapper: throttling, retries, User-AgentLicense
MIT
Available Tools
7 toolsarxiv_get_full_textRead arXiv paper full textARead-onlyIdempotent
Return the full text of an arXiv paper as plain text (from arXiv's HTML rendering when available, otherwise extracted from the PDF). Long papers are paged: check truncated and pass next_offset as offset to continue.
Inputs: id (required), offset, max_chars.
arxiv_get_paperGet arXiv paper metadataARead-onlyIdempotent
Fetch metadata and abstract for one or more arXiv papers by ID. Accepts 2410.12345, 2410.12345v2, arXiv:2410.12345, old-style hep-th/9901001, or any arxiv.org abs/pdf/html URL.
Inputs: ids (required).
arxiv_searchSearch arXivARead-onlyIdempotent
Search arXiv papers. query can be plain text (words are AND-ed across title/abstract/authors) or raw arXiv syntax with field prefixes and booleans, e.g. ti:"protein language model" AND au:rives, abs:diffusion ANDNOT cat:cs.CV. Prefixes: ti (title), au (author), abs (abstract), cat (category), all. Combine with category (e.g. cs.LG, q-bio.BM, stat.ML) and a submitted-date window. Returns metadata and abstracts; use arxiv_get_full_text to read a paper.
Inputs: query, start, date_to, sort_by, +4 more.
biorxiv_get_full_textRead bioRxiv/medRxiv preprint full textARead-onlyIdempotent
Return the full text of a bioRxiv or medRxiv preprint as plain text, using the copy held by Europe PMC (JATS XML, falling back to PDF). Accepts a DOI, a preprint URL, or a Europe PMC PPR id. Full text usually appears a few days after posting; if it is not available yet the error says so. Long papers are paged: check truncated and pass next_offset as offset to continue.
Inputs: id (required), offset, max_chars, include_references.
biorxiv_get_preprintGet bioRxiv/medRxiv preprint detailsARead-onlyIdempotent
Fetch a preprint by DOI from the official bioRxiv/medRxiv API: title, authors, category, license, abstract, every posted version with dates, and the published journal version if one exists. Accepts a bare DOI (10.1101/2024.01.01.573711), a doi.org link, or a biorxiv.org/medrxiv.org content URL (version suffix like v2 is honoured). Auto-detects the server unless server is given.
Inputs: doi (required), server.
biorxiv_list_recentList recent bioRxiv/medRxiv preprintsARead-onlyIdempotent
List preprints posted to bioRxiv or medRxiv in a date window, optionally filtered by subject category (e.g. neuroscience, bioinformatics, genomics, cell biology, immunology; medRxiv: epidemiology, oncology, infectious diseases). Defaults to today. Pages hold 30 records; pass next_cursor as cursor to continue. Use this for browsing what is new; use biorxiv_search for keyword queries.
Inputs: days, cursor, server, date_to, +2 more.
biorxiv_searchSearch bioRxiv and medRxivARead-onlyIdempotent
Keyword search over bioRxiv and medRxiv preprints (via the Europe PMC index, which covers both servers). query can be plain text or Europe PMC syntax, e.g. TITLE:"single-cell" AND AUTH:"Regev A", (organoid OR spheroid) AND ABSTRACT:"drug screening". Filter by server and first-posted date; sort by relevance, date, or citation count. Returns abstracts, DOIs, and whether the published journal version exists. Use biorxiv_get_preprint for version history and biorxiv_get_full_text to read a paper.
Inputs: query (required), sort, cursor, server, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The arxiv_/biorxiv_ prefixes cleanly partition the tool set into two families, and within each family search / metadata / full-text are clearly different actions. The only mild overlaps are biorxiv_search vs biorxiv_list_recent (browsing vs keyword) and the two metadata fetchers, but the descriptions explicitly disambiguate them.
Names consistently follow prefix_verb_noun (arxiv_get_paper, biorxiv_get_full_text, biorxiv_list_recent), so the pattern is predictable. The one asymmetry is the metadata-fetch verb: get_paper for arXiv vs get_preprint for bioRxiv, which is a minor, defensible deviation given the different resource types.
Seven tools is well-scoped for a two-repository preprint server: three arXiv operations and four bioRxiv/medRxiv operations, each earning its place with no redundancy.
Search, metadata retrieval, full-text retrieval, and pagination are covered for both sources, plus a recent-listings feed for bioRxiv/medRxiv. The main gap is the absence of an equivalent 'list recent' or date-browse tool for arXiv (and no citation/reference traversal), though agents can approximate arXiv browsing with search date filters.
Maintenance
Related MCP Connectors
Search and retrieve bioRxiv and medRxiv preprints — by DOI, date interval, or keyword — via MCP.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Find research papers and arXiv preprints, and get an abstract and free full text from a DOI or id.
Check if references exist or were retracted, look up journal AI policies, and preview manuscripts.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying bioRxiv and medRxiv preprints, including metadata, publication status, and submission counts, through natural language or direct tool calls.66 npmMIT
- AlicenseBqualityBmaintenanceEnables coding agents to retrieve full text, metadata, and search preprints from bioRxiv, medRxiv, and arXiv via four stdio tools: search_preprints, get_fulltext, get_metadata, and resolve.424 PyPI4BSD 3-Clause
- FlicenseNot gradedqualityAmaintenanceEnables Claude and other MCP-compatible clients to search for academic papers and fetch detailed metadata, abstracts, and available full text from Semantic Scholar and Crossref.-
- FlicenseNot gradedqualityAmaintenanceEnables Claude and other MCP-compatible clients to search and retrieve academic paper information from Semantic Scholar and Crossref, including metadata, abstracts, and full text when available. It exposes tools for paper search, topic/date-range search, and fetching details by DOI or Semantic Scholar ID.-