ArXiv Paper MCP
Provides paper search functionality, PDF download links retrieval, and content parsing from arXiv. Includes capabilities to search for papers using keywords, get the latest AI papers, and analyze paper content with intelligent parsing.
Supports project management through GitHub Issues and GitHub Discussions for tracking problems and facilitating community discussions.
Built for Node.js runtime with version requirements (≥ 18.0.0) for executing the MCP server.
Implemented with TypeScript for type-safe development of the MCP server.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ArXiv Paper MCP search for papers about large language models and retrieval augmented generation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ArXiv Paper MCP
一个基于 arXiv 的论文检索与内容解析工具。支持 Model Context Protocol (MCP) 标准,提供论文搜索、PDF链接获取和内容解析功能。
功能特性
🔍 arXiv 论文智能搜索:关键词检索,快速定位你关心的论文
🔗 获取 PDF 下载链接:获取 arXiv 论文的直接 PDF 下载链接
📄 论文内容解析:智能解析论文内容,优先使用 HTML 版本,回退到 PDF
🆕 AI领域最新论文:获取 arXiv AI 领域今日最新更新论文列表
Related MCP server: arXiv MCP Server
安装使用
NPX 方式(推荐)
npx @langgpt/arxiv-paper-mcp全局安装
npm install -g @langgpt/arxiv-paper-mcp
arxiv-paper-mcpMCP 客户端配置
Claude Desktop 配置
在 Claude Desktop 的配置文件中添加:
{
"mcpServers": {
"arxiv-paper-mcp": {
"command": "npx",
"args": ["-y", "@langgpt/arxiv-paper-mcp@latest"]
}
}
}配置文件位置:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
其他 MCP 客户端
对于其他支持 MCP 的客户端,请参考其文档配置 stdio 传输方式。
可用工具与参数
1. 搜索论文
工具名:
search_arxiv参数:
query:搜索关键词maxResults:返回论文数(可选,默认 5)
2. 获取PDF下载链接
工具名:
get_arxiv_pdf_url参数:
input:arXiv 论文 URL 或 arXiv ID(如:2403.15137v1)
3. 解析论文内容
工具名:
parse_paper_content参数:
input:arXiv 论文 URL 或 arXiv IDpaperInfo:论文元信息(可选,用于添加论文元数据)
4. 获取AI领域最新论文
工具名:
get_recent_ai_papers参数: 无
使用流程示例
搜索论文 使用
search_arxiv工具搜索相关论文获取最新AI论文 用
get_recent_ai_papers工具获取今日最新AI领域论文获取PDF链接 用
get_arxiv_pdf_url工具获取PDF下载链接解析论文内容 用
parse_paper_content工具获取论文的文本内容(优先 HTML,回退 PDF)
开发指南
本地开发
# 克隆项目
git clone https://github.com/yzfly/arxiv-paper-mcp.git
cd arxiv-paper-mcp
# 安装依赖
npm install
# 开发模式运行
npm run dev
# 构建
npm run build
# 运行构建版本
npm start项目结构
arxiv-paper-mcp/
├── src/
│ └── index.ts # 主服务器文件
├── build/ # 编译输出目录
├── package.json # 项目配置
├── tsconfig.json # TypeScript 配置
├── README.md # 项目说明
└── LICENSE # 许可证技术栈
Node.js >= 18.0.0
TypeScript - 类型安全的JavaScript
Model Context Protocol - 标准化的AI上下文协议
arXiv API - 学术论文数据源
故障排除
常见问题
论文搜索失败
错误:搜索失败 解决:检查网络连接,确保搜索关键词正确PDF解析失败
错误:PDF 解析失败 解决:检查 arXiv ID 是否正确,确保论文存在
日志调试
启用详细日志:
DEBUG=arxiv-paper-mcp npx @langgpt/arxiv-paper-mcp贡献指南
欢迎贡献代码!请遵循以下步骤:
Fork 本项目
创建特性分支:
git checkout -b feature/amazing-feature提交更改:
git commit -m 'Add amazing feature'推送分支:
git push origin feature/amazing-feature创建 Pull Request
许可证
本项目采用 MIT 许可证。详情请见 LICENSE 文件。
作者信息
作者: yzfly
GitHub: https://github.com/yzfly
相关链接
支持
如果您觉得这个项目有用,请给它一个 ⭐!
如有问题或建议,请通过以下方式联系:
📧 邮箱:yz.liu.me@gmail.com
🐛 GitHub Issues:项目问题追踪
💬 GitHub Discussions:项目讨论区
Available Tools
4 toolsget_arxiv_pdf_urlC
获取 arXiv PDF 下载链接
Inputs: input (required).
get_recent_ai_papersB
获取 arXiv AI 领域最新论文(cs.AI/recent)
Inputs: no named parameters.
parse_paper_contentC
解析论文内容(优先使用 HTML 版本,回退到 PDF)
Inputs: input (required), paperInfo.
search_arxivC
搜索 arXiv 论文
Inputs: query (required), maxResults.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: get_arxiv_pdf_url retrieves PDF URLs, get_recent_ai_papers fetches recent AI papers, parse_paper_content extracts content from papers, and search_arxiv searches for papers. There is no overlap or ambiguity between these functions.
All tool names follow a consistent verb_noun pattern (e.g., get_arxiv_pdf_url, parse_paper_content) using snake_case throughout. The naming is predictable and readable across all tools.
With 4 tools, the server is well-scoped for accessing and processing arXiv papers, covering key operations like searching, retrieving, and parsing. It might benefit from additional tools for broader paper management, but the count is reasonable for its purpose.
The tool set covers essential arXiv paper workflows: searching, fetching recent papers, getting PDFs, and parsing content. Minor gaps exist, such as lack of tools for filtering or sorting results, but agents can work around these with the provided tools.
Maintenance
Related MCP Connectors
Search arXiv, fetch paper metadata, and read full-text content.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Queries ArXiv for AI/CS/math papers and returns structured abstracts, authors, PDF links, and Bib.
Find research papers and arXiv preprints, and get an abstract and free full text from a DOI or id.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to search and access arXiv papers through a Model Context Protocol interface, allowing for paper search, download, listing, and reading functionality.42Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search, retrieve, analyze, and export academic papers from arXiv.org using the Model Context Protocol.19MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to search, download, and access arXiv papers with local storage and date filtering via the Model Context Protocol.31Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables searching and retrieving arXiv papers via the Model Context Protocol, providing tools for querying, structured search, and literature review prompts.MIT