Skip to main content
Glama
arXiv Research Assistant MCP Server

arXiv Research Assistant MCP Server

by daheepk

🧠 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.


Related MCP server: scholar-search-mcp

πŸ› οΈ 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

To use this MCP server with Claude, add the following JSON configuration to Claude's MCP settings:

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

Project Structure

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둜 상세 정보λ₯Ό κ°€μ Έμ˜΅λ‹ˆλ‹€.

Inputs: paper_id (required).

scrape_recent_category_papersC

[크둀링] νŠΉμ • μΉ΄ν…Œκ³ λ¦¬μ˜ 'recent' νŽ˜μ΄μ§€λ₯Ό μŠ€ν¬λž©ν•˜μ—¬ μ΅œμ‹  λ…Όλ¬Έ λͺ©λ‘μ„ κ°€μ Έμ˜΅λ‹ˆλ‹€.

Inputs: category (required), max_results.

search_papersC

ν‚€μ›Œλ“œλ‘œ arXiv 논문을 κ²€μƒ‰ν•©λ‹ˆλ‹€.

Inputs: keyword (required), max_results.

Tool Schema Changelog

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

Loading tool schema changelog…

    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.

    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
      3,517 PyPI
      3,009
      MIT
    • A
      license
      Not graded
      quality
      D
      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.
      60 PyPI
      246
      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
      -