paper-mcp
Search, retrieve metadata, and access full-text (HTML, markdown, LaTeX source) of academic papers from arXiv.
Provides LaTeX code linting, automatic error fixing, image-to-LaTeX recognition for formulas and tables, and PDF-to-LaTeX/Markdown extraction.
Perform evidence-graded medical literature search with study type filtering and re-ranking by evidence pyramid, with open-access full-text retrieval via Europe PMC.
Access the full Semantic Scholar API surface including citation graph, authors, recommendations, full-text snippets, and bulk datasets.
paper-mcp
Remotely-callable MCP server for academic paper search, full-text retrieval & image→LaTeX, served at https://latex-tools.online/mcp.
Four corpora behind one normalized interface:
arxiv(default) — search, metadata, and full-text (HTML / markdown / LaTeX source)semanticscholar(aliass2) — the full S2 API surface: citation graph, authors, recommendations, full-text snippets, bulk datasetsopenalex(aliasoa) — 316M all-field works: citation graph, authors with h-index, institutions, topics, influence metricsyongleji(aliasyl) — Yongleji, ~465M works; relevance search is semantic and understands questions in Chinese or English
Plus a unified search_all that fuses all four corpora, image→LaTeX OCR, and LaTeX lint + PDF→text tooling.
Tools (41)
Generic / source-agnostic (8)
Tool | Purpose |
| Unified search. Fans out to all four corpora concurrently, de-duplicates the same work (by DOI/title) and re-ranks with Reciprocal Rank Fusion. Each hit carries |
| Single-corpus search. arXiv |
| One paper's full record. S2 id accepts S2 id / |
| Papers by author, newest first. |
| Latest in a category (arXiv code or S2 field of study). |
| Common category codes. |
| FULL text (arXiv). |
| Available corpora. |
read_paper fetch chain: arxiv.org/html/{id} → ar5iv fallback (markdown/html), or arxiv.org/e-print/{id} tarball main .tex (latex). Formulas are recovered from the LaTeXML alttext invariant.
Medical / evidence-graded (1)
Tool | Purpose |
| Clinical literature search. Queries PubMed, filters by research type via Publication-Type tags and re-ranks by the evidence pyramid (meta-analysis / systematic review > RCT > cohort > ...), so real trials surface above high-cited reviews/guidelines that pure-citation ranking floats up. Open-access full text is attached from Europe PMC by PMID. If the type filter yields nothing it auto-relaxes (flagged |
Image → LaTeX (3)
Turn a formula or table image back into LaTeX (e.g. a figure cropped from a paper) without needing your own vision model. Backed by the co-located recognize service (PaddleOCR-VL / DeepSeek-OCR / texify).
Tool | Purpose |
| Formula image → LaTeX. |
| Table image → LaTeX |
| Available OCR models ( |
LaTeX tooling (3)
Companions to the LaTeX/PDF web tools at latex-tools.online — same backends, exposed over MCP.
Tool | Purpose |
| Check a LaTeX snippet for errors and return an auto-fixed version. Returns |
| PDF → clean Markdown/LaTeX text via MinerU (useful for papers with no open-access full text). |
| Fetch an |
OpenAlex (8)
Works:
get_openalex_work·get_openalex_citations·get_openalex_references·search_openalex_works(filters: year range, open-access, min-citations, institution)Authors/Institutions:
search_openalex_authors·search_openalex_institutionsAnalytics:
get_openalex_trends·list_openalex_topics
Semantic Scholar (18)
Graph:
get_paper_citations·get_paper_references·get_paper_authorsLookup:
match_paper_title·autocomplete_papersBulk:
search_papers_bulk(≤1000, sortable, token paging) ·get_papers_batchAuthors:
search_authors·get_author·get_author_papers·get_authors_batchFull-text:
search_snippets(search inside paper body)Recommend:
recommend_papers_for_paper·recommend_papers_from_examplesDatasets:
list_dataset_releases·get_dataset_release·get_dataset_download_links·get_dataset_diffs
Related MCP server: Academic Paper MCP HTTP/SSE Server
Layout
paper_mcp/
server.py FastMCP server (tool registrations + instructions)
models.py normalized Paper model
aggregate.py cross-source fusion (dedup + Reciprocal Rank Fusion)
sources/
base.py source registry (get_source / list_sources)
arxiv.py arXiv Atom API + read_paper (HTML/markdown/latex)
semanticscholar.py Semantic Scholar full API surface
openalex.py OpenAlex REST API (works/authors/institutions/topics)
yongleji.py Yongleji API (OpenAlex-style; semantic relevance search)
recognize.py image→LaTeX client over the co-located recognize service
latextools.py lint + PDF-extract clients over the latex-tools.online services
pyproject.tomlRun locally
cd paper-mcp
python -m venv .venv && . .venv/bin/activate
pip install -e .
PAPER_MCP_PORT=9400 python -m paper_mcp.server
# MCP endpoint at http://127.0.0.1:9400/mcp (JSON-RPC; a plain GET returns 406)Env
Var | Default | Notes |
|
| |
|
| |
|
| |
| — | optional; raises S2 rate limit. |
|
| optional OpenAlex-compatible mirror; the caller's IP is forwarded as |
|
| optional other address of the Yongleji API; the caller's IP is forwarded as |
|
| Direct-client JSON-RPC POST budget per IP. |
|
| Trusted reverse-proxy Worker budget per HMAC-derived connection key. Raw keys are not retained. |
|
| Shared ceiling across all trusted Worker connections. |
|
| Minimum fast-rejection cooldown after a bucket reaches its limit. |
Notes
arXiv calls are politely rate-limited + retried (
_USER_AGENT, backoff).read_papercovers ~80%+ of papers via official HTML; older scan-only papers may have no full text.Moved here from the
docsrepo on 2026-06-07; that copy is gone.
License
MIT © MCPServings. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Academic research MCP server for paper search, citation checks, graphs, and deep research.
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
arXiv MCP — preprint server search (free, no auth)
Related MCP Servers
- FlicenseAqualityBmaintenanceScholar MCP connects your agent to academic search, citations, primary text and figures, and an optional local research library. Source keys are optional.6667 PyPI7-
- AlicenseNot gradedqualityDmaintenanceA MCP server for academic literature retrieval, aggregating multiple data sources like arXiv, Crossref, OpenAlex, PubMed, and Semantic Scholar to provide search, details, citations, trends, and recommendations.4MIT
- AlicenseAqualityCmaintenanceMCP server for searching and retrieving arXiv papers with full-text PDF extraction.52MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for academic research combining local document search with Semantic Scholar API integration.MIT