academic-tools-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CACHE_DIR | No | Where the on-disk cache lives. Defaults to .cache/ beside the project. | .cache/ |
| ARXIV_MAILTO | No | Optional email appended to the arXiv User-Agent. | |
| MAX_PDF_BYTES | No | Cap on a single PDF download in bytes. Default 200000000 (~200 MB). Use none/off/disabled/0 to disable. | 200000000 |
| PDF_CONVERTER | No | PDF-to-markdown backend: mineru (default), marker, or a custom command template. | mineru |
| DEBUG_REQUESTS | No | Set to 1 to log every throttled GET to stderr. | |
| CROSSREF_MAILTO | No | Optional email for Crossref's polite pool; can raise Crossref rate limits. | |
| OPENALEX_MAILTO | No | Optional email appended to the OpenAlex User-Agent. Does not raise the rate tier. | |
| OPENALEX_API_KEY | No | Optional free OpenAlex API key. Raises the OpenAlex credit budget 10x. | |
| WIKIPEDIA_MAILTO | No | Optional email appended to the Wikipedia User-Agent. | |
| ENABLE_DEBUG_TOOLS | No | Set to 1 to register the get_server_stats debug tool. | |
| PDF_CONVERTER_VENV | No | Path to a virtualenv to activate before running the PDF converter. | |
| PDF_FAST_CONVERTER | No | Backend for convert_paper(mode=fast): pdftotext (default), pymupdf, or a custom command. | pdftotext |
| IMPORT_ALLOWED_DIRS | No | os.pathsep-separated allowlist of directories import_paper may read from. Unset allows any local path. | |
| PDF_CONVERT_TIMEOUT | No | Hard timeout in seconds for a PDF-to-markdown conversion. Default 1800. Use none/off/disabled/0 or a value <= 0 to disable. | 1800 |
| DISABLED_TOOL_GROUPS | No | Comma-separated tool groups to disable at startup: paper, pipeline, graph, search, wikipedia, paperswithcode. | |
| OPENCITATIONS_MAILTO | No | Optional email appended to the OpenCitations User-Agent. | |
| ACADEMIC_TOOLS_ENV_FILE | No | Explicit path to the .env file to load. When set, it is the only candidate. | |
| PDF_FAST_CONVERT_TIMEOUT | No | Hard timeout in seconds for fast PDF extraction. Default 120. Same disable rules as PDF_CONVERT_TIMEOUT. | 120 |
| OPENCITATIONS_ACCESS_TOKEN | No | Optional free OpenCitations access token, sent in the authorization header. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Academic paper research: OpenAlex, arXiv, bioRxiv/medRxiv, Crossref, OpenCitations, ACL Anthology, Wikipedia, Papers with Code.
get_paper_metadata / _authors / _abstract / _bibtex take an arXiv ID, an ACL Anthology ID (P16-1160, 2023.acl-long.1) or URL, any DOI, a PMID or an OpenAlex work ID and route to the right provider; each response tags _source. A DOI the Anthology hosts answers from it. Both work everywhere a DOI does, including the graph tools — so an OpenCitations row with no doi is still chainable on its openalex. Batch many identifiers with get_papers_metadata.
PDF pipeline: download_pdf → convert_paper → get_paper_section or get_paper_markdown (get_paper_sections inspects the section index of an already-converted paper; convert_paper already returns sections and total_approx_tokens). Use get_paper_markdown when total_approx_tokens is small enough to read the paper in one call, or get_paper_section / find_in_paper for targeted section reading. download_pdf handles arXiv/bioRxiv/ACL; other DOIs need allow_oa_url=True (fetches only the OA URL OpenAlex reports) or import_paper with a file you fetched, which also takes pre-converted .md. convert_paper turns an arXiv paper's HTML, a bioRxiv/medRxiv paper's JATS XML, or an open-access PubMed Central paper's Europe PMC JATS XML into markdown in seconds, with no PDF needed; other papers need download_pdf first. convert_paper(mode='fast') is a seconds-long degraded fallback: plain text, no tables, equations, or headings. A real download drops cached markdown + sections; markdown from import_paper, arXiv HTML or bioRxiv JATS survives unless force_refresh=True. find_in_paper returns section + char_offset per hit, to chain into get_paper_section.
get_paper_updates checks a DOI for retraction and correction notices before you cite it; a false there means Crossref lists none, not that the paper stands.
References/citations: get_paper_references defaults to source='auto', which surveys Crossref and OpenCitations in parallel and serves page 1 from the best source (or call get_paper_references_count first). get_paper_citations defaults to source='opencitations' and also supports source='openalex' (sorted by cited_by_count or publication_date, works on landmark papers where OpenCitations 504s). Search tools return slim triage hits — chain to get_paper_metadata. search_openalex is the broad topic search and its hits are free to chain (by doi or openalex_id), except ACL Anthology papers, whose cache is Anthology-keyed; search_arxiv the field-scoped preprint one; search_crossref_by_title finds a DOI from a title, and warms the reference tools rather than get_paper_metadata. search_authors is the way into get_author when you have a person rather than one of their papers; chain its hits on openalex_id. autocomplete_openalex is the cheap way from a name to an OpenAlex ID — it is the route into get_institution, and the one OpenAlex search that spends no credit budget, though its hits are not cached. Prefer it to search_openalex when you know the name and want the identifier. search_wikipedia searches article text, not papers: use it to situate a concept, method or person, and read its did_you_mean before concluding a topic is absent.
Papers with Code (arXiv IDs, or DOIs / PMIDs / OpenAlex work IDs resolved to arXiv via OpenAlex): get_paper_code for repositories and HF artifacts, get_paper_catalog for tasks, methods and best leaderboard ranks, get_paper_evaluations for every reported result, get_pwc_task and get_benchmark_leaderboard for tasks and leaderboards, search_paperswithcode to find a paper. Its per-IP rate limit is tight: call sequentially, never in parallel, and after an error with retry_after_seconds make no Papers with Code call until that time passes.
Failures return {error, suggestion?}; transient ones (5xx, 429, timeout) carry retry hints.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_paper_codeA | Get linked code repositories, project pages, and Hugging Face artifacts on Papers with Code. Returns |
| get_paper_catalogA | Get Papers with Code classification, lineage, and best leaderboard ranks. Returns |
| get_paper_evaluationsA | Page through every benchmark evaluation reported by a paper on Papers with Code. Each uncached page costs a rate-limited request; check |
| get_pwc_taskA | A research task from the Papers with Code taxonomy. Returns Errors: A paper's task slugs come from get_paper_catalog. |
| get_benchmark_leaderboardA | Get a benchmark's details and leaderboard on Papers with Code (best rank first). Community-curated: cite the row's source paper, not the leaderboard. An uncached call costs two rate-limited requests (benchmark + page). |
| search_paperswithcodeA | Keyword search over Papers with Code (slim triage list; strictest rate limit). Prefer one precise query over many pages. Chain |
| get_paper_references_countA | Survey outgoing-reference counts across Crossref and OpenCitations in parallel. Returns |
| get_paper_referencesA | Page through outgoing references (bibliography) from Crossref or OpenCitations.
|
| get_paper_citations_countA | Survey incoming-citation counts across OpenCitations and OpenAlex in parallel. Returns |
| get_paper_citationsA | Page through incoming citations from OpenCitations (default) or OpenAlex.
|
| get_paper_metadataA | Get core metadata for a paper, auto-routed by identifier shape. Returns |
| get_paper_versionsA | Get a preprint's license and revision history (arXiv ID or bioRxiv/medRxiv DOI only). Returns |
| get_papers_metadataA | Batch metadata fetch (cap 100) — same payload as Batches uncached OpenAlex DOIs/PMIDs/work IDs and arXiv IDs, warms singleton
caches, and preserves input order with per-item errors. Does not support
|
| get_paper_authorsA | Get a page of the author list, auto-routed by identifier shape (in-memory paging). Returns |
| get_paper_abstractA | Get a paper's plain-text abstract, auto-routed by identifier shape. Returns |
| get_paper_bibtexA | Generate a ready-to-paste BibTeX entry, auto-routed by identifier shape. Returns |
| get_authorA | Fetch an author's OpenAlex profile (chain from get_paper_authors). Returns Errors: not found / bad ID → |
| get_institutionA | Fetch an institution's OpenAlex profile (chain from autocomplete_openalex). Returns Resolves what an affiliation string names, not where an author worked when a given paper was written — affiliations elsewhere are current, not paper-time. Errors: not found / bad ID → |
| get_paper_updatesA | Check a Crossref DOI for retraction/correction notices and preprint relations. Returns |
| download_pdfA | Download and cache a paper's PDF (step 1 of the PDF pipeline). Auto-downloads arXiv, bioRxiv/medRxiv, and ACL Anthology; other DOIs require
|
| convert_paperA | Convert a paper to markdown and index its sections (step 2 of the PDF pipeline). Tries arXiv HTML, bioRxiv JATS, or (when no PDF is cached) Europe PMC JATS
first (seconds, no PDF needed), else converts the cached PDF. Returns
|
| get_paper_sectionsA | Inspect the section index of an already-converted or imported paper (local, no network). Returns |
| get_paper_sectionA | Read a slice of a section's body. Final step of the PDF pipeline. Returns: Errors: not yet converted → guidance to run convert_paper. Unknown or
ambiguous section title → error listing the available titles; an
out-of-range index → the valid range. Markdown with no readable text →
|
| get_paper_markdownA | Read a slice of a converted paper's full markdown document. Alternative to get_paper_section when you want the whole paper in one call
rather than reading section-by-section (check Returns: Errors: not yet converted → guidance to run convert_paper. Offset beyond
document length → |
| import_paperA | Import a local Routes into the provider namespace matching |
| list_cached_papersA | Inventory downloaded PDFs and converted markdown in the local cache. Answers "what papers are already in my local cache?", whether each is
downloaded-only or converted (with Returns |
| search_arxivA | Search arXiv preprints with field prefixes and boolean operators (slim triage list). Returns |
| search_crossref_by_titleA | Search Crossref by title/bibliographic string to discover a DOI (also covers bioRxiv). Returns |
| search_openalexA | Search or filter OpenAlex works (slim triage list; warms the works cache). Supports free-text |
| search_authorsA | Find an author by name on OpenAlex (slim triage list; warms One name often matches multiple records — disambiguate via |
| autocomplete_openalexA | Fast typeahead from a name/title prefix to an OpenAlex ID (0 credits; uncached, max 10 hits). Use instead of |
| find_in_paperA | Find every occurrence of a query inside one converted paper. Jumps to the part of a paper that discusses X instead of paging sections; search_cached_papers finds which paper mentions X. Returns Errors: not converted yet → |
| search_cached_papersA | BM25 keyword search across all locally converted papers (SQLite FTS5). Answers "which cached paper mentioned X?". Chain hits via
|
| search_wikipediaA | Search the full text of Wikipedia articles. Returns a slim triage list. Matches article content, not just titles, so a description of a topic finds it without naming its article. Use it to situate a concept, method or person encountered in a paper. Returns Errors: |
| get_wikipedia_summaryA | Fetch the lead extract and metadata of an English Wikipedia article. Returns |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| cached_papers_resource | MCP resource exposing the local downloaded/converted paper inventory as JSON. |
TDQS
Scored across 35 tools
The set is mostly cleanly partitioned by resource and action—metadata, references, citations, PDF pipeline, local cache, and search—with explicit chaining guidance in the descriptions. A few near-pairs remain, notably get_paper_sections vs get_paper_section vs get_paper_markdown and get_paper_metadata vs get_paper_abstract, but their descriptions generally draw clear boundaries.
All tool names use snake_case with a predictable verb-noun style: get_*, search_*, convert_*, list_*, find_*, and import_*. Minor brand abbreviations like get_pwc_task and search_paperswithcode do not break the overall pattern, and the singular/plural paper-reading tools remain structurally consistent.
At 35 tools, the surface is large and exceeds a comfortable single-server scope, even though it spans several genuine subdomains: Papers with Code, citation APIs, PDF conversion/local indexing, author lookup, and Wikipedia. The breadth is useful but the sheer count makes discovery and tool selection burdensome for an agent.
Coverage is unusually thorough for academic research: discovery and metadata, citation/reference traversal, author and institution lookup, PDF download/conversion/section reading, local import and search, and Wikipedia context. Only minor gaps exist, such as no dedicated venue/conference search or related-work recommendation flow, but core workflows have few dead ends.