takashiishida/arxiv-latex-mcp logo

takashiishida/arxiv-latex-mcp

Free

获取 arXiv 论文的 LaTeX 源码,以处理数学内容和公式。

FreeFree tier
Type
Open Source

About takashiishida/arxiv-latex-mcp

arxiv-latex-mcp is an open-source MCP (Model Context Protocol) server that enables AI assistants like Claude Desktop, Claude Code, Cursor, and other MCP clients to directly access and process arXiv papers by fetching their original LaTeX source code. Instead of relying on PDF parsing—which often misinterprets equations and mathematical notation—this tool downloads the LaTeX source from arXiv and provides it to the LLM in a structured way. It offers four tools: get_paper_prompt (full flattened LaTeX), get_paper_abstract (abstract text), list_paper_sections (section headings), and get_paper_section (specific section by path). Built with arxiv-to-prompt, it supports fields such as computer science, mathematics, and engineering where precise mathematical interpretation is critical. Installation is available via uvx, pip, or a .mcpb desktop extension, making it easy to integrate into existing workflows.

Key Features

Fetches and processes LaTeX source code directly from arXiv papers
Provides four MCP tools: get_paper_prompt, get_paper_abstract, list_paper_sections, and get_paper_section
Integrates with Claude Desktop, Claude Code, Cursor, and other MCP clients
Uses arxiv-to-prompt under the hood for reliable LaTeX handling
Avoids common PDF parsing errors with equations and mathematical notation
Supports installation via uvx, pip, or .mcpb desktop extension
Open source with MIT license

Pros & Cons

Pros
  • Accurately interprets mathematical expressions by using original LaTeX source
  • Easy to install via uvx, pip, or one-click desktop extension
  • Open source (MIT license) with active development (141 stars, 55 commits)
  • No API keys required; works with any arXiv paper ID
  • Provides structured access to paper content (full text, abstract, sections)
Cons
  • Requires internet connection to fetch papers from arXiv
  • Only works with papers hosted on arXiv (not other repositories or local PDFs)
  • Large LaTeX documents may consume significant token context
  • Limited to papers that have LaTeX source available on arXiv
  • Dependence on MCP-compatible clients (e.g., Claude Desktop, Cursor)

Best For

Understanding mathematical equations and formulas in scientific papersReading and analyzing papers in computer science, mathematics, and engineeringExtracting specific sections or the full LaTeX source from arXiv papers for AI analysisIntegrating precise mathematical reasoning into LLM-based research assistantsAutomating summarization or question-answering of equation-heavy research articles

FAQ

What is arxiv-latex-mcp?
It is an MCP (Model Context Protocol) server that fetches the LaTeX source code of arXiv papers and provides it to LLM clients like Claude Desktop, enabling accurate interpretation of mathematical expressions.
How do I install arxiv-latex-mcp?
You can install it via uvx by adding a configuration entry to your MCP client, or by running 'pip install arxiv-latex-mcp' and then 'arxiv-latex-mcp'. A .mcpb desktop extension is also available for one-click installation on macOS, Windows, and Linux.
What tools does arxiv-latex-mcp provide?
It provides four tools: get_paper_prompt (returns the full flattened LaTeX of a paper), get_paper_abstract (returns the abstract), list_paper_sections (lists section headings), and get_paper_section (returns a specific section by path).
Why use LaTeX source instead of PDF for mathematical papers?
PDF text extraction often garbles or omits mathematical notation. The original LaTeX source preserves all equations and formatting, allowing the LLM to precisely interpret mathematical content.
Which clients are supported?
The server works with any MCP-compatible client, including Claude Desktop, Claude Code, Cursor, and others.