Back to MCP directory
publicPublicdnsLocal runtime

ArXiv

ArXiv MCP Server是一个连接AI助手与arXiv研究库的桥梁,通过MCP协议实现论文搜索和内容访问功能。

article

README

🚀 ArXiv MCP 服务器

ArXiv MCP 服务器搭建了 AI 助手与 arXiv 研究库之间的桥梁,借助消息控制协议(MCP),让 AI 模型能够以编程方式搜索和访问学术论文,为学术研究提供了便捷途径。

🤝 参与贡献 • 📝 报告问题

✨ 主要特性

  • 🔎 论文搜索:可通过日期范围和分类筛选 arXiv 论文。
  • 📄 论文访问:支持下载并阅读论文内容。
  • 📋 论文列表:能查看所有已下载的论文。
  • 🗃️ 本地存储:可将论文保存到本地,实现快速访问。
  • 📝 提示语集:提供一套用于研究的提示语。

🚀 快速开始

通过 Smithery 安装

使用 Smithery 可自动安装 Claude 桌面版的 ArXiv 服务器,命令如下:

npx -y @smithery/cli install arxiv-mcp-server --client claude

手动安装

使用 uv 进行安装:

uv tool install arxiv-mcp-server

开发环境配置步骤如下:

# 克隆仓库并设置开发环境
git clone https://github.com/blazickjp/arxiv-mcp-server.git
cd arxiv-mcp-server

# 启动服务器
npm run dev

🛠️ MCP 配置

需在配置文件中添加 ArXiv 服务器,示例如下:

{
  "servers": [
    {
      "id": "04dtxi5i5n",
      "name": "ArXiv Server",
      "type": "mcp/arxiv",
      "uri": "http://localhost:3000"
    }
  ]
}

🛠️ 配置

可通过环境变量进行配置,具体如下: | 变量名 | 作用 | 默认值 | |------------------|--------------------------|--------| | ARXIV_STORAGE_PATH | 论文存储路径 | ~/.arxiv-mcp-server/papers |

🧪 测试

运行测试套件的命令如下:

python -m pytest

📄 许可证

本项目以 MIT 许可证发布。详情请查看 LICENSE 文件。


由 Pearl Labs 团队倾心制作
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client