✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

🧠 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

1. Installation from PyPI

pip install arxiv-paper-mcp
# or with uv
uv 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

Featured Templates

View More
AI Engineering
Python Bug Fixer
122 1766
Customer service
Service ERP
127 1487
Customer service
Multi-language AI Translator
139 1246
AI Assistants
Image to text with Claude 3
155 1657

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.