Skip to main content

An MCP server that fetches and processes arXiv papers using LaTeX source for accurate equation handling

Project description

arxiv-latex MCP Server

License: MIT GitHub Release

An MCP server that enables Claude Desktop, 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 and MacOS, you can utilize Desktop Extensions by double-clicking on the .dxt file to install. Download the .dxt file from here.

Otherwise, you can manually add the following configuration to your config file:

{
  "mcpServers": {
      "arxiv-latex-mcp": {
          "command": "uv",
          "args": [
              "--directory",
              "/ABSOLUTE/PATH/TO/arxiv-latex-mcp",
              "run",
              "server/main.py"
          ]
      }
  }
}

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 get_paper_prompt in the list of "Available MCP tools".

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_takashiishida_arxiv_latex_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_takashiishida_arxiv_latex_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_takashiishida_arxiv_latex_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9649f2713ec42eba99ebb010d966e85ef0fdb3a76b6eed9b21e2df096c12edaa
MD5 0e96e5107026d0e2473451df7e544845
BLAKE2b-256 e526ad841621f5dacc47e9c0457593a3eacdb8effba84bd6c8f54855601f5125

See more details on using hashes here.

File details

Details for the file iflow_mcp_takashiishida_arxiv_latex_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_takashiishida_arxiv_latex_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_takashiishida_arxiv_latex_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1494ea1a26d241b773098b6be1c221b5c632fc840abd427fef022d12d54108c1
MD5 c069c75cf6f0ccf424fe501e580653a5
BLAKE2b-256 ff1e7784456e0a428fa9a157de714b5694e61391391e86bd53e0ee6529d34006

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page