arxiv-mcp-server · cyanheads — Claude Code MCP server: install
Searches arXiv, returns paper metadata, and reads full text. It helps an agent find research papers and inspect their contents.
claude mcp add --transport http arxiv-mcp-server https://arxiv.caseyjhand.com/mcpWhat arxiv-mcp-server does
arxiv-mcp-server gives an MCP client access to arXiv. It can search by query, category, and submission dates, retrieve metadata for paper IDs, and read a paper’s full text. Another tool lists the arXiv taxonomy. The server also exposes resources for paper metadata and categories.
You can connect through the hosted HTTP endpoint or run the package locally with npx. Search accepts field prefixes such as ti:, au:, and cat:, plus AND, OR, and ANDNOT. Results can be ordered by relevance, submission date, or update date. Full-text reading tries HTML, ar5iv, then PDF text extraction.
PDF extraction flattens mathematics, tables, and headings, so those parts may be harder to inspect than the HTML rendering.
What it helps with
- find papers by topic, author, or category
- look up metadata for arXiv paper IDs
- read the full text of a publication
- list arXiv categories for search filtering
Example prompts for the agent
- Find papers about
graph neural networksincs.LGand sort them by submission date. - Fetch metadata for
2401.12345v2and compare it with the paper’s latest version. - Read
2401.12345and outline the paper’s sections.
How to install arxiv-mcp-server
1Platform CLI: remote server
claude mcp add --transport http arxiv-mcp-server https://arxiv.caseyjhand.com/mcp2Platform CLI
claude mcp add --env ARXIV_API_BASE_URL=<ARXIV_API_BASE_URL> --env ARXIV_REQUEST_DELAY_MS=<ARXIV_REQUEST_DELAY_MS> --env ARXIV_CONTENT_TIMEOUT_MS=<ARXIV_CONTENT_TIMEOUT_MS> --env ARXIV_API_TIMEOUT_MS=<ARXIV_API_TIMEOUT_MS> --env ARXIV_READ_TIMEOUT_MS=<ARXIV_READ_TIMEOUT_MS> --transport stdio cyanheads-arxiv-mcp-server -- npx -y @cyanheads/arxiv-mcp-serverReplace <…> with your own values. 6 more environment variables are in the server README
1Platform CLI: remote server
codex mcp add cyanheads-arxiv-mcp-server --url https://arxiv.caseyjhand.com/mcp2Platform CLI
codex mcp add cyanheads-arxiv-mcp-server --env ARXIV_API_BASE_URL=<ARXIV_API_BASE_URL> --env ARXIV_REQUEST_DELAY_MS=<ARXIV_REQUEST_DELAY_MS> --env ARXIV_CONTENT_TIMEOUT_MS=<ARXIV_CONTENT_TIMEOUT_MS> --env ARXIV_API_TIMEOUT_MS=<ARXIV_API_TIMEOUT_MS> --env ARXIV_READ_TIMEOUT_MS=<ARXIV_READ_TIMEOUT_MS> -- npx -y @cyanheads/arxiv-mcp-serverReplace <…> with your own values. 6 more environment variables are in the server README
Config file
{
"mcpServers": {
"cyanheads-arxiv-mcp-server": {
"url": "https://arxiv.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"cyanheads-arxiv-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/arxiv-mcp-server"
],
"env": {
"ARXIV_API_BASE_URL": "<ARXIV_API_BASE_URL>",
"ARXIV_REQUEST_DELAY_MS": "<ARXIV_REQUEST_DELAY_MS>",
"ARXIV_CONTENT_TIMEOUT_MS": "<ARXIV_CONTENT_TIMEOUT_MS>",
"ARXIV_API_TIMEOUT_MS": "<ARXIV_API_TIMEOUT_MS>",
"ARXIV_READ_TIMEOUT_MS": "<ARXIV_READ_TIMEOUT_MS>"
}
}
}
}Replace <…> with your own values. 6 more environment variables are in the server README
Config file
{
"servers": {
"cyanheads-arxiv-mcp-server": {
"type": "http",
"url": "https://arxiv.caseyjhand.com/mcp"
}
}
}{
"servers": {
"cyanheads-arxiv-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/arxiv-mcp-server"
],
"env": {
"ARXIV_API_BASE_URL": "<ARXIV_API_BASE_URL>",
"ARXIV_REQUEST_DELAY_MS": "<ARXIV_REQUEST_DELAY_MS>",
"ARXIV_CONTENT_TIMEOUT_MS": "<ARXIV_CONTENT_TIMEOUT_MS>",
"ARXIV_API_TIMEOUT_MS": "<ARXIV_API_TIMEOUT_MS>",
"ARXIV_READ_TIMEOUT_MS": "<ARXIV_READ_TIMEOUT_MS>"
}
}
}
}Replace <…> with your own values. 6 more environment variables are in the server README
1Platform CLI: remote server
gemini mcp add -t http cyanheads-arxiv-mcp-server https://arxiv.caseyjhand.com/mcp2Platform CLI
gemini mcp add -e ARXIV_API_BASE_URL=<ARXIV_API_BASE_URL> -e ARXIV_REQUEST_DELAY_MS=<ARXIV_REQUEST_DELAY_MS> -e ARXIV_CONTENT_TIMEOUT_MS=<ARXIV_CONTENT_TIMEOUT_MS> -e ARXIV_API_TIMEOUT_MS=<ARXIV_API_TIMEOUT_MS> -e ARXIV_READ_TIMEOUT_MS=<ARXIV_READ_TIMEOUT_MS> cyanheads-arxiv-mcp-server npx -y @cyanheads/arxiv-mcp-serverReplace <…> with your own values. 6 more environment variables are in the server README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about arxiv-mcp-server
How do I install arxiv-mcp-server in Claude Code?
Run claude mcp add --transport http arxiv-mcp-server https://arxiv.caseyjhand.com/mcp.
What does arxiv-mcp-server do?
It searches arXiv papers, retrieves metadata, reads full text, and exposes the archive’s category list through MCP.
How does it retrieve paper text?
The server tries HTML first, then ar5iv, and finally extracts text from the PDF. PDF output can lose the original layout of equations, tables, and headings.
Similar MCP servers
Everything for Science and research →arxiv-mcp-server by other authors comes first.