Skip to main content

arxiv-latex MCP Server

License: MIT GitHub Release Trust Score

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. 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_mcp

If 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 paper
  • get_paper_abstract — Get just the abstract
  • list_paper_sections — List section headings of a paper
  • get_paper_section — Get a specific section by path

Example

Try asking questions about a paper from arXiv, e.g., "Explain the first theorem in 2202.00395"

Example of using arXiv LaTeX MCP with Claude Desktop

Release files for arxiv-latex-mcp 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arxiv-latex-mcp 0.2.2
File Size Uploaded
arxiv_latex_mcp-0.2.2.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arxiv-latex-mcp 0.2.2
File Interpreter ABI Platform
arxiv_latex_mcp-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / arxiv_latex_mcp-0.2.2.tar.gz

Download URL arxiv_latex_mcp-0.2.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7c6232367afae9d19b1a34f55d78c6d6b69c87441f2e91c03a883b6c02075b77
BLAKE2b-256 checksum
How to use checksums
523ffb8936fc629cbaf05b644f327f5a86860c72686a71e55b995cfb3d8d21c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 18, 2026.

Transparency log

Release files / arxiv_latex_mcp-0.2.2-py3-none-any.whl

Download URL arxiv_latex_mcp-0.2.2-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
079ddc33d4ab3d774e1441df91bc25bf09daa1c7b9f65bd2d3f4cd723983eb5c
BLAKE2b-256 checksum
How to use checksums
5a66416ae107665003df75a1fac2171469b662d81f5f03767b841eb8c8d5e91e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page