Skip to main content
Glama
daheepk

arXiv Research Assistant MCP Server

by daheepk

🧠 arXiv 研究助手 MCP 服务器

铁匠徽章

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

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

✨ 特点

  • 🔍 基于关键词的论文搜索
    通过关键字搜索 arXiv 论文,并可按相关性或最新性排序。

  • 📚 按类别分类的最新论文
    指定 arXiv 类别代码(例如, cs.AI 、 math.AP )以获取该领域的最新论文。

  • 📄 论文详情查询
    使用论文的 arXiv ID 获取详细元数据:标题、作者、摘要、类别、DOI、PDF 链接等。

  • 🧑‍🔬 基于作者的论文搜索
    检索特定作者发表的论文列表。

  • 📊 趋势分析(实验)
    根据某一类别的最新论文获取热门关键词或主题的概述(当前使用模拟数据)。

  • 📝 摘要提示生成器
    动态生成提示,帮助 LLM 更有效地总结所选论文。

  • 🆚 比较提示生成器
    提供两个论文 ID 来生成一个结构化的提示来比较它们的内容。


Related MCP server: scholar-search-mcp

🛠️ 技术栈

  • Python 3.11+

  • FastMCP

  • uv(用于依赖和环境管理)

  • 请求(用于 API 通信)

  • xml.etree.ElementTree(用于解析 XML 响应)


🚀 入门

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 arXiv Research Assistant MCP Server:

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

从 PyPI 安装

uv pip install arxiv-paper-mcp

🔧 克隆存储库(用于开发)

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

🔧 安装依赖项(用于开发)

使用uv以可编辑模式安装所有依赖项:

uv pip install -e .

⚙️ 如何运行

▶️ 运行服务器(本地)

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

Available Tools

4 tools
get_paper_infoC

논문 ID로 상세 정보를 가져옵니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
paper_idYes

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states it 'gets detailed information' but doesn't describe what that includes (e.g., title, authors, abstract), whether it's a read-only operation, potential errors (e.g., invalid ID), or performance aspects. This leaves significant gaps for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no wasted words. It's appropriately sized for a simple tool and front-loaded with the core purpose. Every part of the sentence contributes directly to explaining the tool's function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (a read operation with one parameter), lack of annotations, and no output schema, the description is incomplete. It doesn't specify what 'detailed information' includes, error handling, or return format, making it inadequate for an agent to use the tool effectively without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must compensate. It mentions '논문 ID' (paper ID) as the parameter, which adds some meaning beyond the schema's generic 'paper_id' property. However, it doesn't explain the format, constraints, or examples (e.g., numeric, alphanumeric, DOI), leaving the parameter poorly documented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the purpose: '논문 ID로 상세 정보를 가져옵니다' (Get detailed information by paper ID). It specifies a verb ('가져옵니다' - get/fetch) and resource ('상세 정보' - detailed information), but is vague about what 'detailed information' entails. It doesn't differentiate from sibling tools like 'search_papers' or 'scrape_recent_category_papers'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a paper ID), exclusions, or comparisons to sibling tools like 'search_papers' (which might retrieve multiple papers) or 'scrape_recent_category_papers' (which might fetch recent papers by category).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

scrape_recent_category_papersC

[크롤링] 특정 카테고리의 'recent' 페이지를 스크랩하여 최신 논문 목록을 가져옵니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryYes
max_resultsNo

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions scraping, implying network operations and potential rate limits or permissions, but doesn't detail these aspects, response format, or error handling. The description adds minimal context beyond the basic action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the key action ('scrape') and purpose. It avoids unnecessary details, though it could be slightly more structured for clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a scraping tool with no annotations, no output schema, and low parameter coverage, the description is incomplete. It lacks details on behavior, output format, error cases, and integration with siblings, making it inadequate for full agent understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It implies 'category' is used to specify the target and 'max_results' limits output, but doesn't explain valid categories, format, or constraints. This adds some meaning but doesn't fully bridge the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: it scrapes a 'recent' page for a specific category to fetch the latest paper list. It uses specific verbs ('scrape', 'fetch') and identifies the resource ('recent page', 'paper list'), but it doesn't explicitly differentiate from sibling tools like 'search_papers' or 'get_paper_info', which might handle similar data differently.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It mentions scraping a 'recent' page, but doesn't specify contexts, exclusions, or compare to siblings like 'search_papers' or 'analyze_trends'. This leaves the agent without clear usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_papersC

키워드로 arXiv 논문을 검색합니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
keywordYes
max_resultsNo

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It mentions searching arXiv papers by keyword but lacks behavioral details such as rate limits, authentication needs, result format, pagination, or error handling. This is inadequate for a search tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence in Korean that directly states the tool's function without unnecessary words. It is appropriately sized and front-loaded with the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (search operation with 2 parameters), lack of annotations, and no output schema, the description is incomplete. It doesn't cover behavioral aspects, parameter details, or return values, leaving significant gaps for agent understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It only mentions '키워드' (keyword) implicitly, without explaining the 'max_results' parameter or providing any additional context like format constraints or usage examples. This fails to address the undocumented parameters adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('검색합니다' - searches) and resource ('arXiv 논문' - arXiv papers) with a specific method ('키워드로' - by keyword). It doesn't distinguish from sibling tools like 'scrape_recent_category_papers' or 'get_paper_info', but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'scrape_recent_category_papers' or 'get_paper_info'. The description implies usage for keyword-based searches but doesn't specify contexts, exclusions, or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv1.0.0
    • First observedanalyze_trends
    • First observedget_paper_info
    • First observedscrape_recent_category_papers
    • First observedsearch_papers

TDQS

B3/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: analyze_trends focuses on trends analysis, get_paper_info retrieves detailed paper information, scrape_recent_category_papers scrapes recent papers from a category, and search_papers searches by keywords. There is no overlap or ambiguity in their functions.

Naming Consistency4/5

The tool names follow a consistent snake_case pattern and use descriptive verbs (analyze, get, scrape, search). However, scrape_recent_category_papers includes a Korean annotation '[크롤링]' in its description, which slightly deviates from the pure English naming convention, though this does not affect the tool name itself.

Tool Count4/5

With 4 tools, the server is well-scoped for an arXiv research assistant, covering key operations like searching, scraping, analyzing trends, and fetching details. It is slightly lean but reasonable, as it handles core research workflows without unnecessary bloat.

Completeness3/5

The toolset covers essential functions for arXiv research, including search, scrape, analysis, and info retrieval. However, there are minor gaps such as no tools for filtering or sorting results, managing user preferences, or accessing advanced arXiv features like citation tracking, which could limit agent capabilities in complex scenarios.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    An MCP server for searching and downloading academic papers from multiple sources including arXiv, PubMed, bioRxiv, and Sci-Hub, designed for seamless integration with large language models like Claude Desktop.
    57
    2,048 PyPI
    2,733
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server for academic paper search that integrates with AI assistants (e.g., Claude Code, Cursor), enabling them to search and retrieve academic paper metadata.
    54 PyPI
    248
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A streamlined MCP server that connects AI assistants to arXiv's vast collection of academic papers, enabling search, retrieval, and analysis of research papers.
    7
    1
    -
  • F
    license
    A
    quality
    D
    maintenance
    A local MCP server for searching and reading arXiv papers, enabling paper search, retrieval, and summarization through Claude.
    6
    -