paper-mcp

paper-mcp

A local MCP server for searching and reading arXiv papers, enabling paper search, retrieval, and summarization through Claude.

Category
Visit Server

README

paper-mcp

A local, Claude-native MCP server for searching and reading arXiv papers. Successor to the Streamlit app in paper-distill/, rebuilt as a plain stdio MCP server with first-class Claude Code support.

No API keys, no secrets, no server-side LLM. The server only searches arXiv and converts papers to markdown — Claude (the MCP client) does all summarization and Q&A. Cheap-model summarization is handled client-side by a bundled Claude Code subagent running on Haiku.

Requirements

  • Python 3.12+
  • uv

Setup

uv sync

That's it. Claude Code picks up the server automatically from the checked-in .mcp.json when you start claude in this directory (approve the project-scoped server on first launch).

To register it elsewhere:

claude mcp add paper-mcp -- uv run --directory C:\path\to\paper-mcp python -m paper_mcp

The server is started as python -m paper_mcp rather than via the paper-mcp console script: on locked-down Windows machines (AppLocker/WDAC), the generated .venv\Scripts\*.exe shims may be blocked from executing, while python.exe is allowed.

Tools

Tool Description
search_papers(query, categories?, max_results?, sort?) Search arXiv (fielded queries ti:, au:, abs: and AND/OR supported), optional category filter
get_paper(arxiv_id) Full metadata + abstract for one paper (accepts IDs, arXiv: prefixes, and arxiv.org URLs)
read_paper(arxiv_id, offset?, max_chars?) Download + convert the paper to markdown, paginated; also returns markdown_path to the cached full text for native Read/Grep
list_categories(prefix?) Known arXiv category codes
cache_info() Cache location and size
clear_cache(arxiv_id?) Delete one paper's cached files, or everything

Prompts (slash commands in Claude Code)

  • /mcp__paper-mcp__summarize-paper <id> [paragraphs] [audience] — audience: High School, Undergraduate, Graduate, PhD
  • /mcp__paper-mcp__ask-paper <id> "<question>"

Haiku summarization (Claude Code)

  • /summarize-paper <arxiv-id> [paragraphs] [audience] runs the bundled paper-summarizer subagent on Haiku, so the full paper text never enters your main conversation context — only the summary comes back.

Configuration (optional)

Env var Default Purpose
PAPER_MCP_CACHE_DIR %LOCALAPPDATA%\paper-mcp\Cache Where PDFs and markdown are cached
PAPER_MCP_MAX_CACHE_BYTES 2 GiB Cache size budget (oldest files evicted first)
PAPER_MCP_LOG_LEVEL INFO Log level (logs go to stderr)

Downloads are capped at 50 MB with a 60 s timeout. Cached paper versions are immutable, so there is no TTL — the cache is size-bounded instead.

Development

uv run python -m pytest -q    # tests (no network needed)
uv run ruff check .           # lint
uv run ruff format .          # format

Manual smoke test against the live server:

npx @modelcontextprotocol/inspector uv run python -m paper_mcp

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured