arxiv-latex-mcp
This MCP server lets MCP clients read and search arXiv papers using their LaTeX source instead of PDFs.
Fetch the full flattened LaTeX source of a paper with
get_paper_prompt, recommended for precise math and equations.Get just a paper’s abstract with
get_paper_abstractfor quick previews.List a paper’s section headings with
list_paper_sectionsto navigate long papers.Fetch a specific section by path or title with
get_paper_section.Search for papers by topic, title, author, category, and submission date with
search_papers, returning IDs and metadata for follow-up reading.Reuse cached LaTeX sources, with configurable caching, TTL, and cache directory via environment variables.
Provides tools for fetching and processing arXiv papers by retrieving their LaTeX source, enabling detailed analysis of mathematical and scientific content.
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-latex-mcp Explain the first theorem in 2202.00395"
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-latex MCP Server
An MCP server that enables Claude Desktop, Claude Code, Cursor, or other MCP clients to directly access and process arXiv papers by fetching the LaTeX source. It uses arxiv-to-prompt under the hood to handle downloading and processing the LaTeX.
Why use the LaTeX source instead of uploading PDFs? Many PDF chat applications often struggle with mathematical content and equation-heavy papers. By utilizing the original LaTeX source code from arXiv papers, the LLM can accurately understand and handle equations and notations. This approach is particularly valuable for fields like computer science, mathematics, and engineering where precise interpretation of mathematical expressions is crucial.
Installation
If you are using Claude Desktop, you can utilize Desktop Extensions by double-clicking on the .mcpb file to install.
Download the .mcpb file from here.
The extension needs Python 3.10+ with pip. On first launch, and whenever its dependency requirements or Python runtime change, it downloads wheels into a private cache inside the extension. This requires internet access; subsequent launches reuse that cache. Restart your MCP client after installing an updated extension.
Supported on macOS, Windows, and Linux.
Otherwise, you can run the server directly from PyPI with uvx:
{
"mcpServers": {
"arxiv-latex-mcp": {
"command": "uvx",
"args": ["arxiv-latex-mcp"]
}
}
}You can also install it with pip install arxiv-latex-mcp and run arxiv-latex-mcp, or use:
python -m arxiv_latex_mcpIf you prefer to run from a local checkout, add the following configuration to your config file:
{
"mcpServers": {
"arxiv-latex-mcp": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/arxiv-latex-mcp",
"run",
"python",
"-m",
"arxiv_latex_mcp"
]
}
}
}You may need to replace the command field with the full path of uv: check this by running which uv (MacOS/Linux) or where uv (Windows).
Restart the application after saving the above.
For Claude Desktop, click on the hammer icon, and you should see the following in the list of "Available MCP tools":
get_paper_prompt— Get the full flattened LaTeX of a paperget_paper_abstract— Get just the abstractlist_paper_sections— List section headings of a paperget_paper_section— Get a specific section by its title fromlist_paper_sections(Section > Subsectionfor a subsection)search_papers— Discover papers by topic, title, or author, optionally filtered by category and submission date
Related MCP server: arxiv-mcp
Searching for papers
Use search_papers when you do not yet have an arXiv ID. It returns paper IDs,
titles, authors, abstracts, categories, submission dates, and PDF links. Pass a
returned id to get_paper_prompt to read its LaTeX source. If you already have
an ID, call the reading tools directly.
For example, search with {"query": "ti:\"neural networks\"", "categories": ["cs.LG", "stat.ML"], "date_from": "2026-01-01", "max_results": 10, "sort_by": "date"}.
Categories are combined with OR and restrict the query. date_from and date_to
are inclusive submission dates in YYYY-MM-DD format (UTC). Searches return 10
papers by default, up to 50, sorted by relevance or by newest submission date.
Search requests share a three-second throttle; rate-limit errors ask you to wait
before retrying.
Caching
Paper sources are kept in arxiv-to-prompt's cache (the same one its CLI uses), so repeated calls on the same paper do not download it again. Unversioned IDs such as 2403.12345 are re-downloaded once their copy is older than 7 days, so revised papers are picked up. Versioned IDs such as 2403.12345v2 never change. If a refresh fails, the cached copy is used. To change this, set environment variables in the server's MCP config ("env": {...}):
Variable | Default | Effect |
|
|
|
|
| Age after which unversioned IDs are re-downloaded |
| arxiv-to-prompt's default | Cache location (default |
Example
Try asking questions about a paper from arXiv, e.g., "Explain the first theorem in 2202.00395"
Available Tools
5 toolsget_paper_abstractA
Get just the abstract of an arXiv paper. Use this for a quick preview when the user hasn't read the paper yet, not when they provide an arXiv ID to discuss a paper.
Inputs: arxiv_id (required).
get_paper_promptA
Recommended default: fetch the full LaTeX source of an arXiv paper for precise interpretation of mathematical expressions.
Inputs: arxiv_id (required).
get_paper_sectionA
Get a specific section of an arXiv paper by its title. Use when the full paper is too long for context or the user wants to focus on a particular section. Use list_paper_sections first to get the titles.
Inputs: arxiv_id (required), section_path (required).
list_paper_sectionsA
List section headings of an arXiv paper. Useful when the full paper is too long for context and you need to identify which sections to fetch individually. Returns the top-level section titles; pass one verbatim to get_paper_section.
Inputs: arxiv_id (required).
search_papersARead-only
Discover arXiv papers by topic, author, or title. Use quoted phrases for exact matches, ti:"title phrase", au:"author name", or abs:keyword. Combine terms with AND, OR, or ANDNOT. Optional categories such as cs.AI, cs.LG, stat.ML, and quant-ph are ORed together and restrict the query. Dates are inclusive submission dates in YYYY-MM-DD format (UTC). Pass a returned id to get_paper_prompt to read the LaTeX source. Requests are throttled; on rate-limit errors, wait 60s before retrying.
Inputs: query (required), date_to, sort_by, date_from, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The tools mostly have clearly distinct roles: search, abstract preview, section listing, section retrieval, and full LaTeX source retrieval. The main possible confusion is between get_paper_abstract and get_paper_prompt when deciding whether to preview or read the full source, but the descriptions provide guidance.
All tool names use snake_case with a verb_noun structure, giving a predictable pattern. Minor deviations exist: get_paper_prompt is less descriptive of its actual behavior (fetching LaTeX source), and list_paper_sections uses plural while get_paper_section uses singular.
Five tools is well-scoped for an arXiv paper reading server. Each tool supports a specific step in the discovery-to-source-reading workflow without obvious redundancy.
The surface covers the core workflow: search for papers, preview abstracts, list sections, fetch individual sections, and retrieve the full LaTeX source. Minor gaps include no dedicated metadata retrieval (authors, categories, dates) or direct paper lookup by ID outside these paths, but agents can work around this.
Maintenance
Related MCP Connectors
arXiv MCP — preprint server search (free, no auth)
Academic research MCP server for paper search, citation checks, graphs, and deep research.
Peer-reviewed scientific paper & arXiv preprint search MCP with citations, abstracts & PDF links.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Related MCP Servers
- AlicenseAqualityAmaintenanceThe ArXiv MCP Server bridges the gap between AI models and academic research by providing a sophisticated interface to arXiv's extensive research repository. This server enables AI assistants to perform precise paper searches and access full paper content, enhancing their ability to engage with scientific literature.1913,553 PyPI3,276Apache 2.0
- FlicenseAqualityDmaintenanceA streamlined MCP server that connects AI assistants to arXiv's vast collection of academic papers, enabling search, retrieval, and analysis of research papers.71-
- AlicenseAqualityCmaintenanceMCP server for searching and retrieving arXiv papers with full-text PDF extraction.52MIT
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables AI assistants to search arXiv papers, retrieve metadata, and access PDFs.MIT