
takashiishida/arxiv-latex-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
takashiishida/arxiv-latex-mcp — это кандидат-сервер MCP, импортированный из https://github.com/takashiishida/arxiv-latex-mcp.
Обзор
takashiishida/arxiv-latex-mcp — это кандидат-сервер MCP, импортированный из https://github.com/takashiishida/arxiv-latex-mcp.
Обзор (машинный перевод)
MCP-сервер, который позволяет Claude Desktop, Claude Code, Cursor или другим MCP-клиентам напрямую получать и обрабатывать статьи arXiv, используя исходный код LaTeX. Он использует arxiv-to-prompt под капотом для загрузки и обработки LaTeX.
Почему использовать исходный код LaTeX, а не загружать PDF? Многие PDF-чаты часто испытывают трудности с математическим содержанием и статьями, насыщенными уравнениями. Используя исходный код LaTeX из статей arXiv, LLM может точно понимать и обрабатывать уравнения и обозначения. Этот подход особенно ценен для таких областей, как информатика, математика и инженерия, где точная интерпретация математических выражений крайне важна.
Установка
Если вы используете Claude Desktop, вы можете использовать расширения рабочего стола, дважды кликнув по файлу .mcpb для установки.
Скачайте файл .mcpb здесь.
Поддерживается на macOS, Windows и Linux.
В противном случае сервер можно запускать напрямую из PyPI с помощью uvx:
Вы также можете установить его с помощью pip install arxiv-latex-mcp и запустить arxiv-latex-mcp, или использовать:
Если вы предпочитаете запускать с локальной проверки, добавьте в конфигурационный файл следующую конфигурацию:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
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_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.
Установка
uvx arxiv-latex-mcpКонфигурация
{
"mcpServers": {
"arxiv-latex-mcp": {
"command": "uvx",
"args": ["arxiv-latex-mcp"]
}
}
}