DA

daheepk/arxiv-paper-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 7 forks 质量 62 趋势 22MIT

该项目是通过自定义的MCP(多能力提供者)框架执行的arXiv纸张检索和搜索服务.

概览

这个工程是一个MCP(模式背景协议)服务器,用于与庞大的arXiv.org纸质数据库互动. 它允许客户端喜欢高效地搜索,探索并比较arXiv文件——都通过自定义的本地服务器. 使用轻量级软件包管理。 - 以关键词搜索arXiv文件,可选择按相关性或最新排序。 - 指定一个arXiv类别代码(如cs.AI,数学.AP)取取该领域的最新论文。 - 使用纸张的arXiv ID获取详细的元数据:标题,作者,抽象,分类,DOI,PDF链接等. - 检索具体作者发表的论文清单。 - 根据某类中最近发表的论文(目前使用模拟数据),对趋势关键词或专题进行概述。 - 动态生成提示, 帮助 LLMs 更有效地总结选定的文件.

概述(AI 翻译)

这个工程是一个MCP(模式背景协议)服务器,用于与庞大的arXiv.org纸质数据库互动.

它允许像Claude AI这样的客户端高效地搜索,探索并比较arXiv文件——全部通过自定义的本地服务器. 它与Python和FastMCP框架相接,

□ * * * * 特点

  • 基于关键字的纸张搜索** 以关键词搜索 arXiv 论文, 有选项按相关性或最近排序 。

  • 按类别分列的最新文件** 指定一个arXiv 类别代码(例如,[[T0]、math.AP),以获取该领域的最新论文。

  • 详细文件查询** 使用纸张的arXiv ID获取详细的元数据:标题,作者,抽象,分类,DOI,PDF链接等.

  • 作者论文搜索** 检索特定作者所发表的论文清单.

  • 趋势分析(经验)** 根据某类中最近发表的论文(目前使用模拟数据),获得关于趋势关键词或专题的概览.

  • 总结快速发电机**

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🧠 arXiv Research Assistant MCP Server

This project is an MCP (Model Context Protocol) server built to interact with the vast arXiv.org paper database.

It allows clients like Claude AI to search, explore, and compare arXiv papers efficiently — all through a custom-built, local server. It’s built with Python and the FastMCP framework, and uses uv for lightweight package management.

✨ Features

  • 🔍 Keyword-based Paper Search
    Search arXiv papers by keywords, with options to sort by relevance or most recent.

  • 📚 Latest Papers by Category
    Specify an arXiv category code (e.g., cs.AI, math.AP) to fetch the most recent papers in that field.

  • 📄 Paper Details Lookup
    Fetch detailed metadata using a paper’s arXiv ID: title, authors, abstract, categories, DOI, PDF link, and more.

  • 🧑‍🔬 Author-based Paper Search
    Retrieve a list of papers published by a specific author.

  • 📊 Trend Analysis (Experimental)
    Get an overview of trending keywords or topics based on recent papers in a category (currently uses mock data).

  • 📝 Summarization Prompt Generator
    Dynamically generate prompts that help LLMs summarize a selected paper more effectively.

  • 🆚 Comparison Prompt Generator
    Provide two paper IDs to generate a structured prompt for comparing their content.


🛠️ Tech Stack

  • Python 3.11+
  • FastMCP
  • uv (for dependency & environment management)
  • requests (for API communication)
  • xml.etree.ElementTree (for parsing XML responses)

🚀 Getting Started

Installing via Smithery

To install arXiv Research Assistant MCP Server for Claude Desktop automatically via Smithery:

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

Installation from PyPI

uv pip install arxiv-paper-mcp

🔧 Clone the repository (for development)

git clone https://github.com/daheepk/arxiv-mcp-server.git
cd arxiv-mcp-server

🔧 Install Dependencies (for development)

Use uv to install all dependencies in editable mode:

uv pip install -e .

⚙️ How to Run

▶️ Run the server (locally)

arxiv-paper-mcp

🔌 Use with Claude

在 GitHub 查看完整 README

安装

npx -y @smithery/cli install arxiv-paper-mcp --client claude
新手?先看 mcpskill.org 教程 →

配置

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