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


S

✨ 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

1. Installation from PyPI

pip install arxiv-paper-mcp # or with uv uv pip install arxiv-paper-mcp

🔧 2. Clone the repository (for development)

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

🔧 3. Install Dependencies (for development)

Use uv to install all dependencies in editable mode:

uv pip install -e .

⚙️ How to Run

▶️ Run the server (locally)

uv run mcp dev arxiv_mcp/server.py

🔌 Use with Claude

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

{ "arXivPaper": { "command": "uv", "args": [ "run", "--with", "arxiv-paper-mcp>=0.1.0", "arxiv-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
-
security - not tested
F
license - not found
-
quality - not tested

An MCP server that allows Claude AI to search, explore, and compare arXiv papers efficiently through a custom-built local server.

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