arXiv Research Assistant MCP Server

by daheepk
Verified

local-only server

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

Integrations

  • Provides tools for searching arXiv papers by keywords, retrieving latest papers by category, fetching detailed paper metadata, searching papers by author, and analyzing trending topics within the arXiv database.

  • Retrieves DOI information as part of the paper details lookup functionality.

  • Parses XML responses from the arXiv API to extract paper metadata and other information.

🧠 arXiv 研究助手 MCP 服务器

该项目是一个 MCP(模型上下文协议)服务器,旨在与庞大的 arXiv.org 论文数据库进行交互。

它允许像Claude AI这样的客户高效地搜索、探索和比较 arXiv 论文——所有这些都通过定制的本地服务器实现。它基于PythonFastMCP框架构建,并使用uv进行轻量级包管理。


✨ 特点

  • 🔍 基于关键词的论文搜索
    通过关键字搜索 arXiv 论文,并可按相关性或最新性排序。
  • 📚 按类别分类的最新论文
    指定 arXiv 类别代码(例如, cs.AImath.AP )以获取该领域的最新论文。
  • 📄 论文详情查询
    使用论文的 arXiv ID 获取详细元数据:标题、作者、摘要、类别、DOI、PDF 链接等。
  • 🧑‍🔬 基于作者的论文搜索
    检索特定作者发表的论文列表。
  • 📊 趋势分析(实验)
    根据某一类别的最新论文获取热门关键词或主题的概述(当前使用模拟数据)。
  • 📝 摘要提示生成器
    动态生成提示,帮助 LLM 更有效地总结所选论文。
  • 🆚 比较提示生成器
    提供两个论文 ID 来生成一个结构化的提示来比较它们的内容。

🛠️ 技术栈

  • Python 3.11+
  • FastMCP
  • uv(用于依赖和环境管理)
  • 请求(用于 API 通信)
  • xml.etree.ElementTree(用于解析 XML 响应)

🚀 入门

1. 从 PyPI 安装

使用 uv 安装:

uv pip install arxiv-paper-mcp

⚙️ 如何运行

▶️ 运行服务器(本地)

arxiv-paper-mcp

🔌与 Claude 一起使用

要将此 MCP 服务器与 Claude 一起使用,请将以下 JSON 配置添加到 Claude 的 MCP 设置中:

{ "mcpServers": { "arXivPaper": { "command": "uv", "args": [ "tool", "run", "arxiv-paper-mcp" ] } } }

项目结构

arxiv-mcp-server/ ├── arxiv_mcp/ # Main package │ ├── __init__.py │ ├── app.py # FastMCP app setup │ ├── server.py # Server entry point │ ├── utils.py # arXiv API communication logic │ ├── resources/ # MCP resources (categories, authors, etc.) │ ├── tools/ # MCP tools (search, detail lookup, trends) │ └── prompts/ # Prompt templates (summarize, compare) ├── pyproject.toml # Project config & dependencies └── README.md # This file
-
security - not tested
F
license - not found
-
quality - not tested

MCP 服务器允许 Claude AI 通过定制的本地服务器有效地搜索、探索和比较 arXiv 论文。

  1. ✨ Features
    1. 🛠️ Tech Stack
      1. 🚀 Getting Started
        1. 1. Installation from PyPI
      2. ⚙️ How to Run
        1. ▶️ Run the server (locally)
      3. 🔌 Use with Claude
        1. Project Structure
          ID: zgfx2eeqqc