arxiv-researcher
Provides tools to search arXiv by free-text query and download specific papers as PDFs by arXiv ID.
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., "@arxiv-researcher find recent papers on speculative decoding and download the top result"
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.
arxiv-researcher
An MCP server that lets an LLM search arXiv and pull down papers as PDFs.
It exposes two tools over the Model Context Protocol: one to search arXiv by free-text query, and one to download a specific paper by its arXiv ID. Point Claude Desktop, Claude Code, Cursor, or any other MCP client at it and you can ask things like "find recent work on speculative decoding and download the top result".
How it works
The server is about 60 lines of Python. There isn't much to it, by design.
FastMCP handles the protocol. Each tool is a plain function decorated with
@mcp.tool(); FastMCP reads the signature and docstring to build the tool schema the client sees, and takes care of transport, serialisation, and error reporting.Pydantic defines the return types (
models.py).Article,SearchResponse, andDownloadResponseareBaseModelsubclasses, so every response has a fixed, typed shape rather than an ad-hoc dict. FastMCP uses the same models to generate the output schema, which means the client knows exactly what fields to expect before it ever calls the tool.arxiv wraps the arXiv API. A single shared
arxiv.Client()is reused across calls so the library's built-in rate limiting is respected.
Related MCP server: arXiv MCP Server
Tools
search
Parameter | Type | Default | Description |
| str | Free-text query, passed straight to arXiv | |
| int |
| Maximum number of results |
Results are sorted by relevance. Each entry includes the short arXiv ID (e.g. 2411.11095v3), title, authors, abstract, publication date, and a direct PDF URL.
download_article
Parameter | Type | Default | Description |
| str | arXiv ID, with or without version suffix | |
| str |
| Where to save the PDF |
| str | None |
| Override the output filename |
The directory is created if it doesn't exist. Raises a ValueError if the ID doesn't resolve to a paper.
Setup
Requires Python 3.13 or newer and uv.
git clone https://github.com/vivek-viswam-rv/arxiv-researcher.git
cd arxiv-researcher
uv syncBefore running, open constants.py and set DEFAULT_DOWNLOAD_PATH to wherever you want PDFs to land. It ships with a hardcoded path that almost certainly isn't right for your machine. Use an absolute path; ~ is not expanded.
Running
The server speaks stdio, which is what most MCP clients expect:
uv run main.pyFor interactive testing, FastMCP bundles the MCP Inspector:
uv run fastmcp dev inspector main.pyConnecting a client
FastMCP can write the client configuration for you:
uv run fastmcp install claude-desktop main.py
uv run fastmcp install claude-code main.py
uv run fastmcp install cursor main.pyOr add the server by hand. For Claude Desktop, that means adding an entry to claude_desktop_config.json:
{
"mcpServers": {
"arxiv-researcher": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/arxiv-researcher", "main.py"]
}
}
}Restart the client and the search and download_article tools should show up.
Project layout
main.py FastMCP server and the two tool definitions
models.py Pydantic response models
constants.py Download path and default result countLicense
MIT. See LICENSE.
Available Tools
2 toolsdownload_articleDownload ArticleA
Download an arXiv article PDF and return its saved path.
Inputs: article_id (required), filename, directory. Returns: path, title, pdf_url, article_id
searchSearchC
Search for arXiv articles matching the query and return the results as dict.
Inputs: query (required), count. Returns: results
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: search retrieves article listings, while download_article fetches a PDF. There is no overlap or ambiguity between them.
Tool names are readable and follow a verb-based convention, but 'search' is a bare verb while 'download_article' uses a verb_noun pattern, creating a minor inconsistency.
Two tools is thin for an arXiv researcher server, covering only basic discovery and retrieval. It is borderline rather than clearly inappropriate.
Core actions (search, download) are covered, but notable gaps remain such as fetching article metadata or abstracts without downloading, browsing by category/author, or citation export.
Maintenance
Related MCP Connectors
arXiv and OpenAlex/Crossref paper search (an open Google Scholar alternative) as agent tools.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Search arXiv, fetch paper metadata, and read full-text content.
Query ArXiv, HuggingFace Daily Papers, and linked GitHub repos in one fast MCP call.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables AI assistants to search and retrieve academic papers from arXiv through MCP tools, supporting search by various criteria, detailed paper information, category browsing, and PDF content extraction.4102 npm2-
- FlicenseNot gradedqualityDmaintenanceEnables searching and retrieving arXiv papers by topic, fetching abstracts by paper ID, and saving markdown content to files. Includes examples of integrating MCP tools with Google Gemini for AI-powered paper research.-
- FlicenseBqualityDmaintenanceEnables searching arXiv papers and retrieving paper metadata through MCP tools.2-
- AlicenseNot gradedqualityDmaintenanceEnables searching arXiv, fetching metadata, reading papers as section-aware Markdown, listing recent papers, and downloading PDFs via five MCP tools.49 npm2MIT