arxiv乳胶MCP服务器
](https://pypi.org/project/arxiv-latex-mcp/)  ](https://github.com/takashiishida/arxiv-latex-mcp/releases) 
为什么使用LaTeX源代码而不是上传PDF?许多PDF聊天应用程序经常难以处理数学内容和方程式繁重的论文。通过利用arXiv论文中的原始LaTeX源代码,LLM可以准确地理解和处理方程和符号。这种方法对于计算机科学、数学和工程等领域尤其有价值,在这些领域,对数学表达式的精确解释至关重要。
安装
如果您使用的是Claude Desktop,您可以通过双击 .mcpb 要安装的文件。 下载 .mcpb 文件来自 这里. 支持macOS、Windows和Linux。
否则,您可以直接从PyPI运行服务器 uvx:
{
"mcpServers": {
"arxiv-latex-mcp": {
"command": "uvx",
"args": ["arxiv-latex-mcp"]
}
}
}您还可以使用安装 pip install arxiv-latex-mcp 然后跑 arxiv-latex-mcp,或使用:
python -m arxiv_latex_mcp如果您更喜欢从本地签出运行,请将以下配置添加到您的配置文件中:
{
"mcpServers": {
"arxiv-latex-mcp": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/arxiv-latex-mcp",
"run",
"python",
"-m",
"arxiv_latex_mcp"
]
}
}
}您可能需要更换 command 具有完整路径的字段 uv:通过运行来检查此项 which uv (MacOS/Linux)或 where uv (Windows)。
保存上述内容后重新启动应用程序。
对于Claude Desktop,单击锤子图标,您应该在“可用MCP工具”列表中看到以下内容:
get_paper_prompt--得到一张完全压平的LaTeX纸get_paper_abstract--只获取摘要list_paper_sections--列出论文的章节标题get_paper_section--按路径获取特定部分
示例
试着问一些关于arXiv论文的问题,例如,“解释2202.00395中的第一个定理”
