PaperMCP
Enables searching arXiv, fetching paper metadata, downloading and extracting text page-by-page from arXiv PDFs, and retrieving cited excerpts with physical PDF page references.
Enables searching Semantic Scholar for paper metadata and IDs; results with an arXiv ID can be used for full-text fetching and excerpt retrieval, while others return metadata only.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PaperMCPsearch arXiv for recent papers on retrieval-augmented generation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PaperMCP
MCP server with three tools for research papers from arXiv and Semantic Scholar. SQLite caches search results and extracted papers; persistent Chroma retrieval returns excerpts with physical PDF page citations.
Tool | Purpose |
| Search |
| Fetch metadata and extract text page by page from an arXiv PDF. |
| Retrieve relevant excerpts with page links; optionally synthesize an answer using Gemini. |
Run
Requires Python 3.11 or newer.
python -m venv .venv
source .venv/bin/activate
pip install -e .
papermcpThe server uses stdio: configure your MCP client to launch the absolute path to .venv/bin/papermcp. For example, clients supporting mcpServers configuration can use:
{"mcpServers":{"papers":{"command":"/absolute/path/to/papermcp/.venv/bin/papermcp"}}}Search first, then pass a returned ID to the other tools. Accepted IDs include arxiv:2301.12345, bare arXiv IDs, arXiv abstract/PDF URLs, and s2:<40-character-paper-ID>.
No API key is required for excerpt answers. Chroma's default local embedding model is downloaded on first use, requiring network access and disk space. Search and PDF fetching also require network access. Semantic Scholar may rate-limit unauthenticated requests. Optionally export SEMANTIC_SCHOLAR_API_KEY.
For Gemini synthesis, install pip install -e '.[gemini]', then export GEMINI_API_KEY. PAPERMCP_GEMINI_MODEL selects the model (default gemini-2.5-flash). Questions and retrieved excerpts are sent to Google when enabled. Otherwise ask_paper returns cited excerpts, not a synthesized answer. .env files are not loaded automatically.
PAPERMCP_CACHE_DIR controls storage (default .paper-cache relative to the working directory). Search entries expire after one day; papers after 30 days. Delete the cache directory while the server is stopped to reset it.
Only arXiv-hosted PDFs are downloaded. Semantic Scholar results without an arXiv ID return metadata only. Scanned PDFs need external OCR. Download limits are 30 MiB and 500 pages. Citations refer to physical PDF pages, which can differ from printed page numbers. Gemini answers are generated text; the returned excerpts let callers verify the citations.
Related MCP server: arXiv MCP Server
Development
pip install -e '.[dev]'
pytest -qTests use mocked HTTP and retrieval, exercise MCP tool discovery, and run in GitHub Actions on Python 3.11–3.13. They do not require API keys or a model download.
Keep keys in environment variables, never in source. .env and caches are ignored. Before publishing, scan the actual Git history as well as the working tree; this source scaffold alone cannot certify a remote repository's history.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Search arXiv, fetch paper metadata, and read full-text content.
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Academic paper search, scientific literature, citation analysis, arXiv & semantic related-work.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables searching, downloading, and managing academic papers from arXiv.org through natural language interactions. Provides tools for paper discovery, PDF downloads, and local paper collection management.41MIT
- AlicenseAqualityDmaintenanceEnables LLMs to search, download, and read arXiv papers with automatic PDF text extraction and section filtering. Provides AI assistants direct access to scientific literature with local caching for fast re-access.347 PyPI1MIT
- FlicenseAqualityBmaintenanceEnables searching, retrieving, and reading academic papers from arXiv while analyzing citation networks via Semantic Scholar. It allows users to extract full-text content from PDFs and explore references or citations sorted by impact.19-
- AlicenseAqualityCmaintenanceEnables retrieval of academic paper metadata, PDFs, full text, citations, and references by title via Semantic Scholar, arXiv, and other sources.669 PyPI1MIT