scholar-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FASTMCP_LOG_LEVEL | No | Log level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR). The -v CLI flag overrides to DEBUG. | INFO |
| SCHOLAR_GITHUB_TOKEN | No | GitHub personal access token for Relaton sync; lifts unauthenticated GitHub rate limit from 60/hr to 5,000/hr. | |
| SCHOLAR_MCP_ACL_PATH | No | Path to a TOML ACL file for per-subject authorization. | |
| SCHOLAR_MCP_BASE_URL | No | Public base URL, required for OIDC (e.g. https://mcp.example.com). | |
| SCHOLAR_MCP_CACHE_DIR | No | Directory for the SQLite cache database and downloaded PDFs. | /data/scholar-mcp |
| SCHOLAR_MCP_READ_ONLY | No | If true, write-tagged tools (fetch_paper_pdf, convert_pdf_to_markdown, etc.) are hidden. | true |
| SCHOLAR_MCP_VLM_MODEL | No | Model name for VLM-enriched conversion. | gpt-4o |
| SCHOLAR_MCP_S2_API_KEY | No | Semantic Scholar API key; optional but recommended for higher rate limits. | |
| SCHOLAR_MCP_DOCLING_URL | No | Base URL of a running docling-serve instance (e.g. http://localhost:5001). | |
| SCHOLAR_MCP_VLM_API_KEY | No | API key for the VLM endpoint. | |
| SCHOLAR_MCP_VLM_API_URL | No | OpenAI-compatible VLM endpoint for formula/figure-enriched PDF conversion. | |
| SCHOLAR_MCP_BEARER_TOKEN | No | Static bearer token for HTTP transport authentication. | |
| SCHOLAR_MCP_CONTACT_EMAIL | No | Included in the OpenAlex User-Agent for polite pool access (faster rate limits); also enables Unpaywall PDF lookups. | |
| SCHOLAR_MCP_OIDC_CLIENT_ID | No | OIDC client ID. | |
| FASTMCP_ENABLE_RICH_LOGGING | No | Set to false for plain / structured JSON log output. | true |
| SCHOLAR_MCP_EVENT_STORE_URL | No | Event store backend for HTTP session persistence — memory:// (dev), file:///path (survives restarts). | memory:// |
| SCHOLAR_MCP_OIDC_CONFIG_URL | No | OIDC discovery endpoint URL. | |
| SCHOLAR_MCP_EPO_CONSUMER_KEY | No | EPO OPS consumer key; both key and secret must be set for patent tools to appear. | |
| SCHOLAR_MCP_BEARER_TOKENS_FILE | No | Path to a TOML file with mapped bearer tokens for multi-subject authentication. | |
| SCHOLAR_MCP_OIDC_CLIENT_SECRET | No | OIDC client secret. | |
| SCHOLAR_MCP_EPO_CONSUMER_SECRET | No | EPO OPS consumer secret. | |
| SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY | No | Google Books API key for higher rate limits (1000 req/day without key). | |
| SCHOLAR_MCP_OIDC_JWT_SIGNING_KEY | No | JWT signing key; required on Linux/Docker to survive restarts (openssl rand -hex 32). | |
| SCHOLAR_MCP_BEARER_DEFAULT_SUBJECT | No | Default subject string for single-token bearer auth (default: bearer-anon). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
scholar-mcp: Scholarly papers, patents, books, standards and PDF conversion
A long-running tool returns a job id when this client cannot run it as a task; poll get_job_result with that id until the status is completed or failed, honouring retry_after_s, instead of invoking the tool again.
All Semantic Scholar-backed tools share one rate budget across every client and agent using this server, so parallel calls or parallel agents slow each other down rather than finish sooner; for many known identifiers, prefer one batch_resolve call over separate get_paper calls.
Full documentation for this server: https://pvliesdonk.github.io/scholar-mcp/latest/llms.txt
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_papersA | Search Semantic Scholar for papers matching a query. Usually completes in a few seconds. Returns at most 100 papers per call;
a larger Answers directly in normal use. Should the call run long it continues in
the background and returns a job handle to poll with |
| get_paperA | 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_authorA | 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, Answers directly in normal use. Should the call run long it continues in
the background and returns a job handle to poll with |
| get_citationsA | Fetch papers that cite the given paper (forward citations). Returns at most 1000 citing papers per call; a larger Paging deeply to satisfy |
| get_referencesA | Fetch papers referenced by the given paper (backward references). Returns at most 1000 references per call; a larger Should the call run long it continues in the background and returns a
job handle to poll with |
| get_citation_graphA | 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
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,
|
| find_bridge_papersA | 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
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,
|
| recommend_papersA | Recommend papers based on positive (and optionally negative) examples. Returns at most 500 recommendations; a larger Answers directly in normal use. Should the call run long it continues in
the background and returns a job handle to poll with |
| batch_resolveA | 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 ( 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 |
| enrich_paperA | 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
|
| generate_citationsA | Generate formatted citations for papers and patents. Papers are resolved through Semantic Scholar and can be enriched with
OpenAlex metadata. Patent numbers such as Enrichment fans out per paper, so a large batch can take a while; such a
call answers with a job handle to poll using |
| search_booksA | Search for books by title, author, or free text. Uses Open Library. Prefer Open Library is politeness-rate-limited, so a busy moment may answer
with a job handle to poll using |
| get_bookA | 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_book_excerptA | 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 |
| recommend_booksA | 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). |
| resolve_standard_identifierA | 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
A |
| search_standardsA | Search technical standards by identifier, title, or free text. Searches NIST, IETF, W3C, and ETSI. Use 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
Every answer states its own completeness. |
| get_standardA | Retrieve a standard by identifier (canonical or fuzzy). Resolves fuzzy inputs (such as With A conversion that fails still returns the record, with the reason in
Full text is returned in pages of at most 20,000 characters. When
|
| get_sync_statusA | Report the last standards sync run for each standards body. Returns |
| get_job_resultA | 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. |
| get_server_infoA | 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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.