ArXiv MCP Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Allows AI assistants to search arXiv's research repository, download papers, access paper content, and view all downloaded papers through the MCP interface

ArXiv MCP 服务器

🔍 让 AI 助手能够通过简单的 MCP 界面搜索和访问 arXiv 论文。

ArXiv MCP 服务器通过消息控制协议 (MCP) 在 AI 助手和 arXiv 研究库之间架起了一座桥梁。它允许 AI 模型以编程方式搜索论文并访问其内容。

🤝**贡献• 📝报告错误**

✨ 核心功能

  • 🔎论文搜索:使用日期范围和类别过滤器查询 arXiv 论文
  • 📄论文访问:下载并阅读论文内容
  • 📋论文列表:查看所有下载的论文
  • 🗃️本地存储:论文保存在本地以便更快地访问
  • 📝提示:一组研究提示

🚀 快速入门

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 ArXiv Server:

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

手动安装

使用 uv 安装:

uv tool install arxiv-mcp-server

对于开发:

# Clone and set up development environment git clone https://github.com/blazickjp/arxiv-mcp-server.git cd arxiv-mcp-server # Create and activate virtual environment uv venv source .venv/bin/activate # Install with test dependencies uv pip install -e ".[test]"

🔌 MCP 集成

将此配置添加到您的 MCP 客户端配置文件中:

{ "mcpServers": { "arxiv-mcp-server": { "command": "uv", "args": [ "tool", "run", "arxiv-mcp-server", "--storage-path", "/path/to/paper/storage" ] } } }

对于开发:

{ "mcpServers": { "arxiv-mcp-server": { "command": "uv", "args": [ "--directory", "path/to/cloned/arxiv-mcp-server", "run", "arxiv-mcp-server", "--storage-path", "/path/to/paper/storage" ] } } }

💡 可用工具

该服务器提供四个主要工具:

1. 论文搜索

使用可选过滤器搜索论文:

result = await call_tool("search_papers", { "query": "transformer architecture", "max_results": 10, "date_from": "2023-01-01", "categories": ["cs.AI", "cs.LG"] })

2. 论文下载

通过 arXiv ID 下载论文:

result = await call_tool("download_paper", { "paper_id": "2401.12345" })

3. 列出论文

查看所有下载的论文:

result = await call_tool("list_papers", {})

4. 阅读论文

访问已下载论文的内容:

result = await call_tool("read_paper", { "paper_id": "2401.12345" })

⚙️ 配置

通过环境变量配置:

多变的目的默认
ARXIV_STORAGE_PATH纸张存放位置〜/ .arxiv-mcp-server /论文

🧪 测试

运行测试套件:

python -m pytest

📄 许可证

根据 MIT 许可证发布。详情请参阅许可证文件。


由 Pear Labs 团队倾情打造

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

使 AI 助手能够通过简单的消息控制协议接口搜索和访问 arXiv 研究论文,从而实现论文搜索、下载、列出和阅读功能。

  1. ✨ Core Features
    1. 🚀 Quick Start
      1. Installing via Smithery
      2. Installing Manually
      3. 🔌 MCP Integration
    2. 💡 Available Tools
      1. 1. Paper Search
      2. 2. Paper Download
      3. 3. List Papers
      4. 4. Read Paper
    3. ⚙️ Configuration
      1. 🧪 Testing
        1. 📄 License
          ID: n6w02y4r6h