arXiv MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_FILE | No | Also append logs to this file. | |
| LOG_LEVEL | No | Log level: debug, info, warn, error or silent. Logs go to stderr. Default: info. | |
| STORAGE_DIR | No | Alias for ARXIV_STORAGE_DIR. Where PDFs and extracted text are stored. | |
| PROMPTS_FILE | No | JSON file with extra or overriding analysis prompts. | |
| MAX_PDF_SIZE_MB | No | Refuse larger PDFs, in megabytes (0 = no limit). Default: 50. | |
| ARXIV_STORAGE_DIR | No | Where PDFs and extracted text are stored. Alias: STORAGE_DIR. | |
| ARXIV_MCP_ENV_FILE | No | Path to a .env file to load. Highest priority among .env file locations. | |
| REQUEST_TIMEOUT_MS | No | Per-request timeout for API calls, in milliseconds. Default: 20000. | |
| MAX_STORAGE_SIZE_MB | No | Refuse downloads once storage exceeds this size, in megabytes (0 = no limit). Default: 0. | |
| RATE_LIMIT_DELAY_MS | No | Minimum gap between requests to arXiv, in milliseconds. Default: 3000. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for arXiv. Typical workflow: search_papers (or get_recent_papers) to find papers → get_papers for full metadata → read_paper to read the full text (it downloads the PDF automatically) → search_in_paper to find specific passages. Use list_categories to find valid category codes such as cs.AI or math.CO.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_papersA | Search arXiv papers. Combine any of: free text (all), title, author, abstract, categories and a submission-date range; all given criteria must match. Multi-word title/abstract/all searches match papers containing every word; wrap words in double quotes for an exact phrase. For advanced use, |
| get_papersA | Get full metadata (all authors, affiliations, complete abstract, comments, journal reference, DOI, links) for one or more papers. Accepts IDs like 2301.00001, 2301.00001v2, hep-th/9901001, or arxiv.org URLs. |
| get_recent_papersB | List the most recently submitted papers in one or more arXiv categories (e.g. cs.AI, astro-ph.CO, or a whole archive like math). |
| list_categoriesA | List official arXiv subject categories (e.g. cs.AI, math.CO, q-bio.NC) with their names and descriptions. Filter by group (cs, econ, eess, math, physics, q-bio, q-fin, stat, or a physics archive such as astro-ph / cond-mat) and/or search text. Use the codes with search_papers and get_recent_papers. |
| download_paperA | Download a paper's PDF into local storage (/root/.arxiv-mcp-server/papers). Not required before read_paper, which downloads automatically. |
| list_downloaded_papersA | List papers stored locally, with storage usage and the storage directory in use. |
| delete_paperA | Delete a paper (PDF and cached text) from local storage. |
| read_paperA | Read the full text of a paper, extracted from its PDF (downloaded automatically if needed). Long papers are returned in chunks: use |
| search_in_paperA | Find every occurrence of a word or phrase in a paper's full text (downloaded automatically if needed), with surrounding context and the section it appears in. Plain-text match, not regex. |
| analyze_paperA | Get a structured research-analysis brief for a paper (summary, key findings, methodology critique, literature-review entry, research gaps, etc.) filled with the paper's metadata. Omit promptId to list the available analyses. The same templates are also exposed as MCP prompts. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summary | Generate a comprehensive summary of the paper |
| key_findings | Extract and highlight the key findings from the paper |
| methodology_analysis | Analyze the research methodology used in the paper |
| literature_review | Help create a literature review entry for this paper |
| research_gaps | Identify research gaps and future directions suggested by the paper |
| technical_deep_dive | Provide a detailed technical analysis of the paper |
| comparison | Compare this paper with related work |
| practical_applications | Identify practical applications and real-world impact |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Most tools target clearly distinct operations: arXiv search, recent listings, metadata retrieval, category lookup, local storage management, full-text reading, in-paper search, and analysis. The only overlaps are search_papers vs get_recent_papers (recent listing achievable via date-bounded search) and download_paper vs read_paper (which auto-downloads), but the descriptions explicitly clarify these boundaries.
All ten tools follow a clean verb_noun snake_case pattern (list_*, search_*, get_*, download_paper, delete_paper, read_paper, analyze_paper) with no camelCase or stylistic deviations. The prefix semantics are also consistent: get_ for metadata, list_ for enumerations, and action verbs for local operations.
Ten tools is well within the ideal range and each earns its place: discovery (search, recent, categories), retrieval (get_papers), local lifecycle (download, delete, list_downloaded), reading (read, search_in), and analysis. Nothing feels redundant or padded.
Coverage is strong end-to-end: discovery, metadata, PDF download/read, in-paper search, local storage lifecycle, and analysis briefs. Minor gaps remain—no cross-paper full-text search over the local library, no local-library tagging/organization, and no citation/reference traversal—but agents can work around these with existing tools.