scholar-mcp
Scholar MCP provides MCP tools for scholarly literature research, citation analysis, books, standards, identifier resolution, citation generation, background job polling, and server introspection.
Search Semantic Scholar papers with filters for year, venue, citations, and field; fetch paper metadata by DOI, S2 ID, arXiv ID, ACM ID, or PubMed ID.
Look up author profiles or search authors by name, with publication pagination.
Explore citation graphs: forward citations, backward references, BFS graph traversal, and shortest citation-path bridge discovery.
Recommend papers from positive and optional negative examples.
Batch-resolve paper, patent, and ISBN identifiers; enrich papers with OpenAlex metadata.
Generate BibTeX, CSL-JSON, or RIS citations for papers and patents.
Search and fetch books via Open Library by title, author, query, ISBN, work ID, or edition ID; get Google Books excerpts and preview info; recommend books by subject.
Resolve, search, and retrieve standards from NIST, IETF, W3C, and ETSI; optionally fetch and convert full text via docling with paging; inspect standards sync status.
Poll long-running background jobs with get_job_result and report server/version/protocol details with get_server_info.
Provides fallback PDF conversion for papers from arXiv, and supports paper lookup by arXiv ID.
Enables metadata retrieval for IEEE standards and papers, including status and full-text links.
Allows paper lookup by PubMed ID and access to PubMed Central for full-text PDF conversion.
Core integration for searching papers, retrieving citations, references, author profiles, and citation graph traversal via Semantic Scholar API.
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., "@scholar-mcp Search for papers on large language models from 2024"
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.
Scholar MCP
Scholarly papers, patents, books, standards and PDF conversion
Documentation | Config wizard | PyPI | Docker
30 tools, organised by scholarly source type.
Source domains
Papers: full-text search with year/venue/field/citation filters; single-paper lookup by DOI, S2 ID, arXiv ID, ACM ID, or PubMed ID; author profile and name search; forward citations, backward references, BFS graph traversal, shortest-path bridge discovery; recommendations from positive/negative examples; BibTeX/CSL-JSON/RIS citation generation with OpenAlex venue enrichment.
Patents: search across 100+ patent offices via EPO OPS with CPC/applicant/inventor/jurisdiction filters; bibliographic, claims, description, family, legal, and citations sections, with claims and description as Markdown and the description paged; NPL-to-paper resolution via Semantic Scholar (by DOI or arXiv ID, with unconfirmed title-matched candidates for the rest) and NPL-to-book resolution by ISBN via Open Library and paper-to-patent citation discovery. Patents cite like papers:
generate_citationsemits biblatex@patent, CSL-JSONpatentand RISPATentries. EPO credentials are optional; other domains work without them.Books: Open Library search by title/author/keywords, no API key required; lookup by ISBN-10/13 or by Open Library work/edition ID; subject-based recommendations sorted by popularity; Google Books excerpts and preview links; WorldCat permalinks for library discovery; cover image caching. Papers with an ISBN in
externalIdsare automatically enriched with publisher, edition, cover URL, and subject data from Open Library.Standards: identifier resolution, search, and metadata retrieval for NIST, IETF, W3C, and ETSI standards, with optional full-text fetch and Markdown conversion via docling. Tier 2 ISO, IEC, IEEE, Common Criteria (CC), and CEN/CENELEC metadata (including ISO/IEC/IEEE joint standards and the CC ↔ ISO/IEC 15408 cross-link) is synced locally via
sync-standards. ISO, IEC, IEEE have a live-fetch fallback for unsynced identifiers; CC and CEN have no live API and require a sync first. Citations matching standards patterns (RFC, ISO, NIST SP, IEEE, EN, CC) are automatically enriched with structuredstandard_metadataincluding identifier, title, body, status, and full-text URL when available (see docs/use/standards.md).
Cross-cutting
Enrichment pipeline: phased enrichment from multiple sources: OpenAlex (OA status, affiliations, funders, concepts), CrossRef (publisher, page ranges, container titles, and chapter metadata with the parent book's title and editors for book chapters), Google Books (preview links, excerpts), and Open Library (book metadata). Runs automatically on paper and book results.
PDF conversion: download open-access PDFs and convert to Markdown via docling-serve, with optional VLM enrichment for formulas and figures; automatic fallback to ArXiv, PubMed Central, and Unpaywall when Semantic Scholar has no OA link; direct URL download for PDFs found elsewhere; converted text is paged so large documents fit in MCP responses.
Uploads: a one-time upload link brings a PDF you downloaded yourself into the server's cache over HTTP.
Intelligent caching: SQLite-backed cache with per-table TTLs (30 days for papers/authors, 7 days for citations/references) and identifier aliasing.
Coverage by domain
Per-domain depth is uneven. Papers currently have the richest tool surface (citation graph, recommendations, cross-referencing to all three other domains); standards are the leanest. That reflects public data availability, not a value hierarchy: writing a paper typically needs all four source types for citations and prior art. Parity work is tracked in GitHub issues and milestones; the roadmap shows intent, not a completeness commitment.
Does it fit?
What the server can reach, what it changes and who gets in is set out in the security model; the block below says who it serves and where it stops.
With this server mounted in an MCP client (Claude, etc.), you can:
Survey a field: "Find the 20 most-cited papers on graph neural networks from 2020 to 2024 and draft a literature review outline." Composes
search_papers+get_citations+enrich_paper.Trace a citation path: "What's the shortest citation path from 'Attention is All You Need' to 'RLHF for dialogue agents'?" Uses
find_bridge_papers+get_citation_graph.Cross-reference prior art: "For this patent family, list academic papers it cites and any books or standards that show up in the description." Composes
get_patent+batch_resolve+ standards/book enrichment.Generate a bibliography: "Emit BibTeX for these 30 DOIs with OpenAlex venue data." Uses
generate_citations.Look up a standard: "What's the latest status of RFC 9000, and fetch the Markdown full text." Uses
resolve_standard_identifier+get_standard.
It reaches public scholarly metadata and open-access full text; it doesn't get past paywalls, and paywalled standards (ISO, IEC, IEEE) come back as metadata only. Patent tools need your own EPO OPS credentials.
Related MCP server: Academic Paper MCP HTTP/SSE Server
Quick start
Pick the client you use. Each line installs the released version; the Get started tutorials carry on from there.
Claude Desktop. Download the .mcpb bundle from the releases page and open it with Claude Desktop (or Settings › Extensions › Advanced settings › Install Extension…). Claude Desktop asks for the required settings itself. Tutorial.
Claude Code. Two commands inside Claude Code; the second asks for a scope. Tutorial.
/plugin marketplace add pvliesdonk/claude-plugins
/plugin install scholar-mcp@pvliesdonkA client that runs a command (stdio). To register it in Claude Code, see the Claude Code tutorial.
uv tool install "pvliesdonk-scholar-mcp"
scholar-mcp serveA server for remote clients (streamable HTTP). A remote server connects the clients.
docker run --rm -p 8000:8000 --env-file .env ghcr.io/pvliesdonk/scholar-mcp:latestA compose.yml ships at the repository root and runs as-is: copy .env.example to .env, then docker compose up -d. Deploy covers authentication, OIDC, a reverse proxy and system packages (.deb/.rpm on the releases page). The server answers /health and /health/ready outside the MCP mount, and its get_server_info tool reports the running version.
[all]: every production feature in one extra; the Linux packages and the Claude Desktop bundle install it.[debug]: adds the remote debugger (debugpy); see Remote debugging.
The base package already carries FastMCP through fastmcp-pvl-core, so pip install pvliesdonk-scholar-mcp is enough to run scholar-mcp serve. The older [mcp] extra is kept so existing install commands keep working; it adds nothing beyond the base package.
Configuration
Everything is configured through environment variables with the SCHOLAR_MCP_ prefix. The ones most installs set:
Variable | Default | Required | Description |
|
| No | When true, write-tagged tools (PDF download and conversion cache writes) are hidden. Set false to enable them. |
| (none) | No | Semantic Scholar API key. Optional but strongly recommended: a key has an introductory 1 req/s allowance; anonymous users share capacity and may be throttled. Request one at https://www.semanticscholar.org/product/api#api-key-form. |
| (none) | No | Base URL of a running docling-serve instance for PDF conversion (such as http://localhost:5001). When unset, PDF conversion tools return an error. |
|
| No | Directory for the SQLite cache database (cache.db) and downloaded PDFs (pdfs/, md/). |
| (none) | No | Contact email for the OpenAlex polite pool (improves rate limits). Also enables Unpaywall lookups as a PDF fallback source. |
| (none) | No | OpenAlex API key, sent as a Bearer token to OpenAlex only. Optional. Without a key, OpenAlex allows a smaller daily budget and fewer requests per second. Create one at https://openalex.org/settings/api-key. |
Every variable the server reads, the shared ones included, is in the configuration reference; .env.example lists the same surface in copy-paste form, and the config wizard writes one for your deployment.
Documentation
Security model: what the server can reach, what it changes and who gets in.
Get started: a first success with your client.
Deploy: Docker, authentication, OIDC, reverse proxy.
Use: the features, for real tasks.
Reference: configuration, tools, resources, prompts, command line.
Upgrade: release channels, and what an upgrade changes for your clients and your data.
Contribute: local development, secrets, where a fix belongs;
CONTRIBUTING.mdandSECURITY.mdat the root.
Design decisions
Domain logic apart from the MCP layer. The upstream clients (Semantic Scholar, OpenAlex, EPO, Open Library, standards bodies), the enrichment pipeline and the cache don't import FastMCP; the tool modules are thin wrappers over them.
Async clients, blocking libraries off the event loop. The HTTP clients and the SQLite cache are async. The blocking pieces (the
python-epo-ops-clientlibrary, file I/O around PDF download and conversion, the Relaton sync) run throughasyncio.to_thread().SQLite cache with per-table TTLs and identifier aliases. Papers / authors last 30 days, citations / references 7 days. DOI ↔ S2 ID ↔ arXiv ID aliasing survives across cache clears so repeated enrichment hits the same row.
Read-only by default. Write-tagged tools (PDF download/convert, patent PDF) are hidden unless
SCHOLAR_MCP_READ_ONLY=false. Safer default for first-run.Slow work becomes a background job. Every tool whose work can run long uses the
fastmcp-pvl-corejobs layer. A call that beatsSCHOLAR_MCP_JOBS_SOFT_DEADLINE_Sreturns its result directly; a slower one returns a handle to poll withget_job_result. S2-backed tools also return a reasoned handle as soon as Semantic Scholar throttles them. The work continues from where it paused, and a cache hit still answers directly.EPO throttling is waited out, not queued. The traffic light is consulted before every request and cached for a minute, so a retry sooner than that would re-read the cache rather than ask again. Each backoff outlasts the cache; an exhausted daily quota is reported immediately instead, since it will not clear today.
Tier 2 standards sync out-of-band. ISO/IEC/IEEE/CC/CEN catalogues come from community Relaton dumps via
scholar-mcp sync-standards, not live at runtime, which avoids paywalled-HTML scraping and keeps tool calls fast.
Links
Documentation and its llms.txt
FastMCP and fastmcp-pvl-core, which this server is built on
fastmcp-server-template, which generated this repository
Available Tools
21 toolsbatch_resolveBatch Resolve IdentifiersARead-only
Resolve a list of paper, patent, or book identifiers to full records.
Uses the S2 batch endpoint for paper IDs/DOIs, with OpenAlex fallback.
An OpenAlex-sourced paper ("source": "openalex") has the same keys as
an S2 one for the requested fields, with paperId null.
Patent numbers (such as EP1234567A1) are auto-detected and resolved via
the EPO OPS API when configured. ISBNs (prefixed ISBN:) are
resolved via Open Library.
Identifiers fan out across three upstream sources, so a large batch runs long
and is then handed back as a job handle to poll with get_job_result
rather than the records themselves.
Inputs: identifiers (required), fields. Returns: object
enrich_paperEnrich PaperARead-only
Fetch OpenAlex metadata to supplement Semantic Scholar data.
Resolves the paper's DOI from S2, then queries OpenAlex for the requested enrichment fields. Results are cached for 30 days.
A cached record answers immediately. Should the lookup run long it
continues in the background and returns a job handle to poll with
get_job_result.
Inputs: fields (required), identifier (required). Returns: object
find_bridge_papersFind Bridge PapersARead-only
Find the shortest citation path between two papers.
Uses BFS over the citation/reference graph. Uses cached citation and reference lists to minimise API calls.
The search walks outward one rate-limited request per node, so it
commonly runs long and returns a job handle to poll with
get_job_result rather than the path itself.
A Semantic Scholar throttle defers the same search. Poll the job handle; the resumed search does not mark the throttled request as partial.
A failed upstream request does not abort the search. When one happens,
partial is true, failed_requests counts them, and a warning
key explains what was not fetched. A partial {"found": false} is not
evidence that no path exists, and a partial {"found": true} path is
not guaranteed to be the shortest one.
Inputs: source_id (required), target_id (required), direction, max_depth. Returns: object
generate_citationsGenerate CitationsARead-only
Generate formatted citations for papers and patents.
Papers are resolved through Semantic Scholar and can be enriched with
OpenAlex metadata. Patent numbers such as EP1234567A1 may be mixed
into paper_ids; they are resolved through EPO and come out as patent
entries. Entries keep the order of paper_ids. The output is BibTeX,
CSL-JSON or RIS.
Enrichment fans out per paper, so a large batch can take a while; such a
call answers with a job handle to poll using get_job_result instead
of the citations themselves.
Inputs: paper_ids (required), enrich, citation_format. Returns: object
get_authorGet AuthorARead-only
Fetch author profile and publications, or search by name.
If identifier looks like a numeric S2 author ID, fetches the author directly. Otherwise performs a name search and returns up to 5 candidates for disambiguation.
A direct lookup returns one page of publications, limit long from
offset; next_offset is present when more follow. Semantic Scholar
can list fewer publications than paperCount, so the last page may end
short of that count.
Answers directly in normal use. Should the call run long it continues in
the background and returns a job handle to poll with get_job_result.
Inputs: identifier (required), limit, offset. Returns: object
get_bookGet BookARead-only
Fetch book metadata by ISBN or Open Library ID.
Open Library is politeness-rate-limited, so a busy moment may answer
with a job handle to poll using get_job_result instead of the
record itself.
Inputs: identifier (required), cover_size, download_cover. Returns: object
get_book_excerptGet Book ExcerptARead-only
Get a book excerpt and preview info from Google Books.
Returns the publisher description, text snippet, and a link to the Google Books preview page. Google Books does not expose full chapter text through its API; the excerpt is a publisher-provided summary and/or search snippet.
An error of not_found means Google Books answered and has no
such volume: stop asking about that ISBN. A lookup that never got an
answer says so instead, as rate_limited (with retryable) or
upstream_error, and is worth retrying: the book may well exist.
Inputs: isbn (required). Returns: object
get_citation_graphGet Citation GraphARead-only
Traverse the citation graph from one or more seed papers.
Performs BFS up to depth hops. Returns nodes (paper records) and directed edges. Hard-caps at max_nodes to prevent runaway expansion.
Traversal makes one rate-limited request per node, so anything past a
shallow, narrow graph runs long: expect a job handle to poll with
get_job_result rather than the graph itself.
A Semantic Scholar throttle defers the same walk. Poll the job handle; the resumed graph does not mark the throttled request as partial.
A failed upstream request does not abort the walk. When one happens,
stats.partial is true, stats.failed_requests counts them, and a
warning key explains what was not fetched. Treat such a graph as
incomplete: a missing node or edge is unknown, not absent. This is
distinct from stats.truncated, which means max_nodes stopped an
otherwise successful walk.
Inputs: seed_ids (required), depth, year_end, direction, +4 more. Returns: object
get_citationsGet CitationsARead-only
Fetch papers that cite the given paper (forward citations).
Returns at most 1000 citing papers per call; a larger limit is capped
at 1000, so page further with offset.
Paging deeply to satisfy min_citations can run long; such a call
continues in the background and returns a job handle to poll with
get_job_result.
Inputs: identifier (required), limit, fields, offset, +4 more. Returns: object
get_job_resultGet Job ResultARead-only
Get the status of a background job started by a long-running tool on this server; returns status (working, completed or failed) with the result or error once it finishes. Job records expire, so fetch a finished job's result promptly. Scholar MCP promotes slow work to a background job. PDF download and docling conversion usually take 1-5 minutes, a busy EPO traffic light is waited out, citation formatting enriches one paper after another, and graph traversal makes one rate-limited request per node. Semantic Scholar throttling defers the same work immediately and adds a reason to the handle. Those calls commonly answer with a job_id rather than a result; a cache hit answers inline, with no job.
Inputs: job_id (required). Returns: object
get_paperGet PaperARead-only
Fetch full metadata for a single paper.
A cached paper answers immediately. Otherwise the record is fetched and
enriched; should that run long it continues in the background and returns
a job handle to poll with get_job_result.
Inputs: identifier (required). Returns: object
get_referencesGet ReferencesARead-only
Fetch papers referenced by the given paper (backward references).
Returns at most 1000 references per call; a larger limit is capped at
1000, so page further with offset.
Should the call run long it continues in the background and returns a
job handle to poll with get_job_result.
Inputs: identifier (required), limit, fields, offset. Returns: object
get_server_infoServer InfoARead-only
Report the version information of scholar-mcp; returns server_name, server_version, core_version, the MCP protocol revisions supported and the revision and client of this connection, and, when configured, the upstream service's version. Use it when asked which version or build is running or which protocol revision is in use.
Inputs: no named parameters. Returns: object
get_standardGet StandardARead-only
Retrieve a standard by identifier (canonical or fuzzy).
Resolves fuzzy inputs (such as rfc9000 or nist 800-53 rev 5) to
their canonical form before fetching. With fetch_full_text=True and
docling configured, downloads and converts the full text.
With fetch_full_text=True the docling conversion takes minutes, so
such a call returns a job handle to poll with get_job_result rather
than the record itself. Without it, and on a cache hit, the record comes
back directly.
A conversion that fails still returns the record, with the reason in
full_text_error; full_text_url is there to fetch by hand. No
full_text and no full_text_error means none was on offer, or
docling is not configured. Neither is worth retrying.
not_found means the source answered and holds no such standard: stop
asking about that identifier. A lookup that never got an answer says so
instead, as rate_limited (with retryable) or upstream_error
with the status and what went wrong. Both are worth retrying: the
standard may well exist.
Full text is returned in pages of at most 20,000 characters. When
next_offset is present, call this tool again with that value as
text_offset. The cached conversion makes later pages inexpensive.
Set max_chars to null only when the client can accept the complete
document in one response.
Inputs: identifier (required), max_chars, text_offset, fetch_full_text. Returns: object
get_sync_statusGet Sync StatusARead-only
Report the last standards sync run for each standards body. Returns {"runs": [...]}, one row per body with body, upstream_ref, added, updated, unchanged, withdrawn, errors (non-fatal error strings from the latest run; empty on success), started_at and finished_at (Unix seconds). runs is empty when no sync has run yet.
Inputs: no named parameters. Returns: object
recommend_booksRecommend BooksARead-only
Recommend books for a subject via Open Library.
Uses the Open Library subject API to find popular books on a topic, sorted by edition count (a proxy for popularity).
Inputs: subject (required), limit. Returns: object
recommend_papersRecommend PapersARead-only
Recommend papers based on positive (and optionally negative) examples.
Returns at most 500 recommendations; a larger limit is capped at 500.
Answers directly in normal use. Should the call run long it continues in
the background and returns a job handle to poll with get_job_result.
Inputs: positive_ids (required), limit, fields, negative_ids. Returns: object
resolve_standard_identifierResolve Standard IdentifierARead-only
Normalise a messy standard citation string to its canonical form.
Tries local patterns first, which is fast and offline. Falls back to querying source APIs when local patterns don't match. Returns all candidates when the input is ambiguous.
A cold catalogue makes this slow: the first call after a fresh install or
a cleared cache downloads and parses each body's index, which runs well
past the soft deadline. Such a call returns a job handle to poll with
get_job_result rather than the result itself.
A warning beside a null record means the source never answered, so
the standard may well exist and the canonical form is still usable. Only a
null record with no warning means the sources looked and found
nothing.
Inputs: raw (required). Returns: object
search_booksSearch BooksARead-only
Search for books by title, author, or free text.
Uses Open Library. Prefer title and author over query:
they use dedicated indexes and return far better results.
Open Library is politeness-rate-limited, so a busy moment may answer
with a job handle to poll using get_job_result instead of the
results themselves.
Inputs: limit, query, title, author. Returns: object
search_papersSearch PapersARead-only
Search Semantic Scholar for papers matching a query.
Usually completes in a few seconds. Returns at most 100 papers per call;
a larger limit is capped at 100, so page further with offset.
Answers directly in normal use. Should the call run long it continues in
the background and returns a job handle to poll with get_job_result.
Inputs: query (required), sort, limit, venue, +6 more. Returns: object
search_standardsSearch StandardsARead-only
Search technical standards by identifier, title, or free text.
Searches NIST, IETF, W3C, and ETSI. Use body to restrict to one
source body.
Results come ranked with the current edition first. An identifier equal to the query leads. The standard's own editions precede other documents whose number contains the query. Title-only matches come last.
A cold catalogue makes this slow: the first call after a fresh install or
a cleared cache downloads and parses each body's index, which runs well
past the soft deadline. Such a call returns a job handle to poll with
get_job_result rather than the result itself.
Every answer states its own completeness. partial is always present,
and when it is true failed_bodies names each source that did not
answer and warning describes it. A partial answer is deliberately not
an error: the results that did arrive are usable, and the bodies in
failed_bodies may still hold matches worth asking for again.
Inputs: query (required), body, limit. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Most tools map cleanly to one resource or action, and the citation tools separate direction, traversal, and bridge-finding well. There is minor overlap among get_paper, enrich_paper, and batch_resolve, and between the graph-oriented tools, but the descriptions provide enough cues to choose.
All names are lowercase snake_case and mostly follow predictable verb-led patterns such as get_, search_, recommend_, resolve_, and generate_. batch_resolve is a slight ordering deviation, but overall the naming is highly consistent.
21 tools is on the heavy side, but the server spans papers, standards, books, background jobs, and server utilities, so most tools earn a place. There are no obvious duplicate clones, though some consolidation could reduce surface area.
Coverage is broad across paper search/metadata/citations/recommendations, standards resolution/search/fetch, and book search/metadata/excerpts. Gaps remain for dedicated patent search/retrieval and paper full-text/PDF access, but core research workflows are covered.
Maintenance
Related MCP Connectors
Read-only MCP over an agentic SLR workspace with per-claim citation verification
Read-only MCP over an agentic SLR workspace with per-claim citation verification
Machine Library: cited search over papers, books, patents and social posts, with agent comments.
Academic research MCP server for paper search, citation checks, graphs, and deep research.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server enabling AI agents to search and retrieve scientific papers, citations, and author profiles from Crossref, OpenAlex, and Semantic Scholar with no API keys required.523 PyPI3MIT
- 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
- AlicenseNot gradedqualityDmaintenanceMCP server for AI-assisted research: paper ingestion, semantic search, citation graph traversal, cross-domain knowledge synthesis, and workflow automation.MIT
- AlicenseAqualityDmaintenanceA unified MCP server for academic paper discovery, citation exploration, and research intelligence workflows over multiple scientific knowledge sources.71MIT