Skip to main content
Glama

arxiv-mcp

An MCP server that lets any coding agent search arXiv and download papers. Free, no API key, two tools.

Tools

Tool

What it does

search_arxiv(query, max_results=10)

Free-text search. Returns title, authors, abstract, date, PDF URL. No PDF parsing.

download_paper(arxiv_id)

Streams a PDF into ./papers/<id>.pdf. Idempotent.

Both are read-only on the network side. The server touches arXiv's public API (export.arxiv.org) — no key, no signup, no rate-limit token.

Related MCP server: Research Server

Install

git clone https://github.com/vishal24p/arxiv_mcp.git
cd arxiv_mcp
uv venv
uv pip install -e .

Requires Python 3.10+ and uv.

Wire it into your agent

arxiv-mcp install            # auto-detect and patch all found agents
arxiv-mcp install --only codex   # one specific agent
arxiv-mcp install --dry-run  # show what would change, write nothing

Supported agents:

Agent

Config file

Format

Claude Desktop

%APPDATA%\Claude\claude_desktop_config.json

JSON

Claude Code

~/.claude.json

JSON

Cursor

~/.cursor/mcp.json

JSON

Codex CLI

~/.codex/config.toml

TOML

The installer merges an arxiv entry into each detected config, backs up the original to <file>.bak, and never touches other settings. Restart the agent and the tools appear.

Use

Ask the agent anything that needs arXiv:

find 3 papers on mixture of experts
download 1706.03762
what's the most cited recent paper on RLHF?

The agent picks search_arxiv or download_paper based on what you ask. PDFs land in ./papers/. Override the location with ARXIV_MCP_PAPERS_DIR.

Run without installing to an agent

arxiv-mcp serve
# ...or:
python -m arxiv_mcp

Speaks MCP over stdio. Useful for testing or wiring into something that isn't a coding agent.

License

Apache 2.0.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vishal24p/arxiv_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server