🧠 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
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_daheepk_arxiv-paper-mcp 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iflow_mcp_daheepk_arxiv_paper_mcp-0.1.4.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iflow_mcp_daheepk_arxiv_paper_mcp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.7 kB
Release files / iflow_mcp_daheepk_arxiv_paper_mcp-0.1.4.tar.gz
| Download URL | iflow_mcp_daheepk_arxiv_paper_mcp-0.1.4.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
303792dff0a9ded25806bae64b056b50cf835bb64cda5658171b9c3a7fd170e4
|
|
BLAKE2b-256 checksum How to use checksums |
239869fb08ebdcf3f16719fd0197a9797059e9feaa135922e13fa0bee6b43b16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / iflow_mcp_daheepk_arxiv_paper_mcp-0.1.4-py3-none-any.whl
| Download URL | iflow_mcp_daheepk_arxiv_paper_mcp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c34a73a910481e50c5dcf2728f6c8f20a050dd8b22c597c9c209f1f6cde123d
|
|
BLAKE2b-256 checksum How to use checksums |
2c71e4b6050cfed2ed0650e4aa6d326ad75aae4d9fb6b9754a24aad1a2f7c767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|