✨ 核心功能
- 🔎 论文搜索: 通过日期范围和类别筛选器查询arXiv论文
- 📄 论文访问: 下载和阅读论文内容
- 📋 论文列表: 查看所有下载的论文
- 🗃️ 本地存储: 论文保存在本地以便更快访问
- 📝 提示: 一组研究提示
🚀 快速开始
通过Smithery安装
自动为Claude Desktop安装ArXiv Server:
bash
npx -y @smithery/cli install arxiv-mcp-server --client claude
手动安装
使用uv安装:
bash
uv tool install arxiv-mcp-server
开发环境设置
bash
git clone https://github.com/blazickjp/arxiv-mcp-server.git
cd arxiv-mcp-server
uv venv
source .venv/bin/activate
uv pip install -e ".[test]"
🔌 MCP集成
在MCP客户端配置文件中添加:
json
{
"mcpServers": {
"arxiv-mcp-server": {
"command": "uv",
"args": [
"tool",
"run",
"arxiv-mcp-server",
"--storage-path", "/path/to/paper/storage"
]
}
}
}
💡 可用工具
- 论文搜索: 通过查询和筛选器搜索论文
- 论文下载: 通过arXiv ID下载论文
- 论文列表: 查看所有下载的论文
- 阅读论文: 访问已下载论文的内容
⚙️ 配置
通过环境变量配置:
| 变量 | 用途 | 默认值 |
|----------|---------|---------|
| ARXIV_STORAGE_PATH
| 论文存储位置 | ~/.arxiv-mcp-server/papers |
🧪 测试
运行测试套件:
bash
python -m pytest