DA

danimal141/arxiv-search-mcp

开发工具

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

6 stars 3 forks 质量 51 趋势 14MIT

An MCP server that provides tools to search and fetch papers from arXiv.org.

概览

An MCP server that provides tools to search and fetch papers from arXiv.org. - Search papers by category - Get latest papers sorted by submission date - Formatted output with title, authors, summary, and link - Deno installed on your system - MCP compatible environment 1. Clone the repository 2. Install dependencies: Add the following configuration to your claude_desktop_config.json: Replace /path/to/dir with the actual path to your compiled binary. The server provides a tool named search_arxiv that accepts the following parameters: This will return the 5 most recent papers from the Artificial Intelligence category.

README

arXiv Search MCP Server

An MCP server that provides tools to search and fetch papers from arXiv.org.

Features

  • Search papers by category
  • Get latest papers sorted by submission date
  • Formatted output with title, authors, summary, and link

Development

Prerequisites

  • Deno installed on your system
  • MCP compatible environment

Setup

  1. Clone the repository
  2. Install dependencies:
deno cache --reload src/main.ts

Running the Server

Development mode with file watching:

deno task dev

Build executable:

deno task compile

Integration with Claude Desktop

Add the following configuration to your claude_desktop_config.json:

{
  "mcpServers": {
    "arxiv-search-mcp": {
      "command": "/path/to/dir/arxiv-search-mcp/bin/arxiv-search-mcp"
    }
  }
}

Replace /path/to/dir with the actual path to your compiled binary.

Usage

Example usage screenshot:

The server provides a tool named search_arxiv that accepts the following parameters:

{
  "category": string,    // arXiv category (e.g., cs.AI, cs.LG, astro-ph)
  "max_results": number  // Number of papers to fetch (1-100, default: 5)
}

Example

Request:

{
  "category": "cs.AI",
  "max_results": 5
}

This will return the 5 most recent papers from the Artificial Intelligence category.

Available Categories

Some popular arXiv categories:

  • cs.AI: Artificial Intelligence
  • cs.LG: Machine Learning
  • cs.CL: Computation and Language
  • cs.CV: Computer Vision
  • cs.NE: Neural and Evolutionary Computing
  • cs.RO: Robotics
  • astro-ph: Astrophysics
  • physics: Physics
  • math: Mathematics
  • q-bio: Quantitative Biology

For a complete list of categories, visit arXiv taxonomy.

License

This project is licensed under the MIT License - see the LICENSE file for details.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "arxiv-search-mcp": { "command": "/path/to/dir/arxiv-search-mcp/bin/arxiv-search-mcp" } } }