Skip to main content

🧠 arXiv Research Assistant MCP Server

smithery badge

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.

arXiv Research Assistant Server MCP server MseeP.ai Security Assessment Badge

✨ 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

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

Metadata

Release files for iflow-mcp_arxiv-paper-mcp 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_arxiv-paper-mcp 0.1.2
File Size Uploaded
iflow_mcp_arxiv_paper_mcp-0.1.2.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_arxiv-paper-mcp 0.1.2
File Interpreter ABI Platform
iflow_mcp_arxiv_paper_mcp-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 23.6 kB

Release files / iflow_mcp_arxiv_paper_mcp-0.1.2.tar.gz

Download URL iflow_mcp_arxiv_paper_mcp-0.1.2.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ce6076c000e908370b21f6fb3451c473816e4e9a4d751a7e81f7cf13c3bc34f
BLAKE2b-256 checksum
How to use checksums
6299b61774a9013d7fdd223009b5a1f6eaa6631867cf00c152f4f19bb777f2ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / iflow_mcp_arxiv_paper_mcp-0.1.2-py3-none-any.whl

Download URL iflow_mcp_arxiv_paper_mcp-0.1.2-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
534e89807a15c91bc9f0a832e01dde157989548fd0d9b9be7145793929098f2b
BLAKE2b-256 checksum
How to use checksums
5a2b672cd133a78acb3c1b7abdbffd0376ddacb786a8305799041d5bf9a71fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page