papers-mcp

papers-mcp

MCP server for scientific grounding: search and discover open-access research papers across arXiv, OpenAlex, Crossref, PubMed, and Semantic Scholar, and retrieve references/citations from paywalled journals via public DOI/abstract metadata.

Category
Visit Server

README

papers-mcp

MCP server for scientific grounding: search and discover open-source research papers and scholarly literature across five sources, and pull references/citations from paywalled journals (Nature, Elsevier, IEEE, ACM…) even when the full text is not readable — DOI/abstract/reference metadata is public.

Built to the house pattern (local stdio Python/FastMCP — same architecture as music-mcp).

Sources

Source What it covers Key needed
arxiv Open-access preprints (CS, physics, math, q-bio, q-fin, stats) no
openalex ~250M scholarly works — Nature + all peer-reviewed journals no
crossref DOI registry — Springer Nature, Elsevier, IEEE, ACM… no
pubmed 30M+ biomedical citations, free full-text via PMC no
semanticscholar ~220M papers, citation graph + TLDRs ("open scholar") optional¹

¹ Semantic Scholar's shared pool 429s without a key. Set RESEARCH_MCP_S2_API_KEY in the server's environment to lift the limit. All sources degrade gracefully: a failing/rate-limited source is skipped and reported in the response's skipped list, never a crash.

Tools

  • search_papers(query, sources, limit, year_from, year_to, sort, open_access_only) — aggregate search across all (or chosen) sources with a unified hit schema: id, title, authors, year, venue, abstract, doi, url, pdf_url, citations_count, open_access, type, source.
  • get_paper(identifier, id_type, include_references, include_citations) — resolve one paper by DOI / arXiv ID / PMID / OpenAlex ID / S2 ID (auto-detected from the identifier), plus its references and citations — this is how a paywalled Nature paper still yields a browsable bibliography: Crossref provides the reference list, OpenAlex the citing works.
  • list_sources() — discovery: what is searchable and from where.

Install & run

uv venv .venv --python 3.11
uv pip install --python .venv/bin/python -e .
.venv/bin/python -m papers_mcp          # stdio server

Optional: export RESEARCH_MCP_S2_API_KEY=... to enable full-rate Semantic Scholar.

Telemetry & Privacy

papers-mcp collects anonymous usage telemetry (SUR-86 Phase 2), on by default, matching the house pattern:

  • What is sent: event names + an anonymous installation UUID + coarse environment signals (OS, Python version, agent name like claude_code/cursor, run context, discovery channel). Never search queries, paper results, file paths, emails, URLs, or client metadata values.
  • Events: server_first_install, package_download (once per version), mcp_started, tools_listed, tool_executed (tool name only).
  • Where: a Cloudflare worker gateway (PAPERS_MCP_TELEMETRY_URL, defaults to the papers-mcp worker; deployed in Phase 4). Opt-out or a dead URL simply means events are dropped — telemetry never blocks or slows the server.
  • Opt out any of: PAPERS_MCP_TELEMETRY=false, DISABLE_TELEMETRY=1, DO_NOT_TRACK=1, NO_TELEMETRY=1. The install ID lives in ~/.papers_mcp/installation_id; delete the folder to reset it.

The first run prints a short disclosure to stderr before anything is sent.

Wire into Hermes

Add to ~/.hermes/config.yaml under mcp_servers: (see AGENTS.md), then restart the gateway. search_papers / get_paper / list_sources then appear as native tools.

Tests

.venv/bin/python -m pytest tests/test_sources.py          # offline unit tests
.venv/bin/python -m pytest tests/e2e/test_e2e.py          # native MCP protocol
.venv/bin/python -m pytest -m live tests/e2e/             # live third-party APIs

Playbook status

  • [x] Phase 0 — brand scouting (scripts/scout_mcp_brand.py; PyPI/GitHub clear, npm collision on papers-mcp noted for Phase 3 — open-scholar-mcp is the fully-clear fallback)
  • [x] Phase 1 — core server (this repo, branch feat/phase-1-core-server)
  • [x] Phase 2 — telemetry (anonymous, opt-out, e2e-verified against a local capture gateway; worker deploy is Phase 4)
  • [ ] Phase 3 — packaging/manifest (server.json here is a first draft)
  • [ ] Phase 6 — production wiring (SUR-85 / playbook issue tracker)

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
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
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
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
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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured