paper-mcp
Enables retrieval of academic paper metadata, PDFs, full text, citations, and references by title via Semantic Scholar, arXiv, and other sources.
README
š paper-mcp
An MCP server built with FastMCP that lets Claude (or any LLM) retrieve academic papers by title.
Run it in one command with uvx ā no manual install needed.
⨠Features
5 tools, all taking paper_title as the only argument:
| Tool | Returns |
|---|---|
paper_get_metadata |
Title, authors, abstract, DOI, arXiv ID, citation count, TL;DR, OA status, fields of study |
paper_get_pdf |
Best open-access PDF URL |
paper_get_fulltext |
Full plain text (up to 50,000 chars) |
paper_get_citations |
Up to 100 papers that cite this one |
paper_get_references |
Up to 100 papers this one cites |
Data sources (priority order): Semantic Scholar ā arXiv ā Unpaywall ā Lightpanda browser via gomcp
š Quick Start
Run without installing (uvx)
# stdio mode ā for Claude Desktop / most MCP clients
uvx paper-mcp
# SSE mode ā for remote or multi-client setups
uvx paper-mcp --transport sse --port 8000
uvxdownloads, installs (in an isolated env), and runs the package ā zero setup.
Install permanently
uv tool install paper-mcp
paper-mcp # now available globally
paper-mcp --transport sse
Local development
git clone https://github.com/imnotdev25/paper-search
cd paper-search
uv sync # install all deps from pyproject.toml
uv run paper-mcp # run directly
uv run paper-mcp --transport sse
š„ Claude Desktop Config
Add to claude_desktop_config.json:
{
"mcpServers": {
"papers": {
"command": "uvx",
"args": ["paper-mcp"]
}
}
}
No Python paths, no venv activation ā uvx handles everything.
š Browser Fallback (gomcp / Lightpanda)
For JS-rendered publisher pages, the server automatically starts a Lightpanda headless browser via gomcp.
One-time setup:
# Download gomcp binary from GitHub releases:
# https://github.com/lightpanda-io/gomcp/releases
# Then download the Lightpanda browser binary:
gomcp download
If gomcp is not installed, the server still works ā browser-dependent
paths fall back to abstract/metadata gracefully.
š Architecture
Claude (LLM)
ā MCP (stdio or SSE)
ā¼
paper-mcp [FastMCP, Python]
ā
āāā Semantic Scholar API āā metadata, citations, references
āāā arXiv API + HTML āā preprint info + full text
āāā Unpaywall API āā open-access PDF by DOI
āāā gomcp SSE āāāāāāāāāāāāā Lightpanda browser (JS fallback)
ā CDP
āāā Lightpanda Browser (headless)
š¦ Publishing to PyPI
# Build
uv build
# Publish (needs PyPI token)
uv publish --token $PYPI_TOKEN
Once on PyPI, anyone can run it with uvx paper-mcp.
āļø CLI Options
usage: paper-mcp [-h] [--transport {stdio,sse}] [--port PORT] [--host HOST]
options:
--transport stdio (default) or sse
--port SSE port (default: 8000)
--host SSE host (default: 127.0.0.1)
š Notes
- Semantic Scholar free tier: ~100 req/5 min. For higher throughput, set
S2_API_KEYin the environment and add it to the httpx client headers inserver.py. - Unpaywall requires a valid contact email ā update
UNPAYWALL_EMAILinserver.py. - Full text is only available for arXiv papers (HTML renderer) and JS-rendered pages reachable via gomcp. Paywalled PDFs require institutional access.
š Project Structure
paper-mcp/
āāā pyproject.toml ā packaging, entry point, deps
āāā README.md
āāā src/
āāā paper_mcp/
āāā __init__.py
āāā server.py ā all 5 FastMCP tools + main()
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.