paper-mcp

v0.5.0
io.github.MCPServings/paper-mcp Checked 1 day ago Published 5 months ago

Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_papers

Search academic papers. Returns normalized hits with a short abstract preview; call get_paper for the full record.

ParameterTypeDescription
query *string
max_resultsinteger
sort_bystring
sourcestring
startinteger

search_all

Aggregated search across arXiv, Semantic Scholar, OpenAlex and Yongleji at once. Fans out concurrently, de-duplicates the same work across corpora (by DOI or title) and re-ranks with Reciprocal Rank Fusion, so papers found by several sources rank highest. Each hit lists which `sources` found it and an `ids` map ({source: id}) you can pass to get_paper / read_paper / the citation tools. Prefer this over search_papers for a broad lookup.

ParameterTypeDescription
query *string
max_resultsinteger
per_sourceinteger
sourcesstring

search_medical

Evidence-graded MEDICAL literature search (PubMed + Europe PMC). Unlike search_all (generic, ranks high-cited reviews/guidelines above trials), this filters by research type via PubMed Publication-Type tags and re-ranks by the evidence pyramid (meta-analysis / systematic review > RCT > cohort > ...), so the actual clinical trials surface first. Open-access full text is pulled from Europe PMC by PMID. `query` should be English keyword/boolean text (PubMed maps it); do natural-language/multilingual understanding upstream. Returns hits with pmid/doi/study_type/evidence_level/citations/abstract an…

ParameterTypeDescription
query *string
fetch_fulltextboolean
max_resultsinteger
study_typesstring
year_frominteger

get_paper

Fetch one paper by id, with full abstract and PDF link.

ParameterTypeDescription
paper_id *string
sourcestring

search_by_author

Find papers by a specific author, newest first.

ParameterTypeDescription
author *string
max_resultsinteger
sourcestring
startinteger

list_recent

List the latest papers in a subject category, newest first.

ParameterTypeDescription
category *string
max_resultsinteger
sourcestring
startinteger

list_categories

List common subject category codes for filtering/recent.

ParameterTypeDescription
sourcestring

read_paper

Read a paper's full text. format='markdown' (default, body with formulas as $LaTeX$), 'html' (raw LaTeXML HTML), or 'latex' (the original LaTeX manuscript from the e-print source). arXiv only; id like 2401.01234.

ParameterTypeDescription
paper_id *string
formatstring
sourcestring

list_paper_sources

List available paper corpora.

recognize_formula

Recognize a math formula from an image and return LaTeX. Provide image_url (downloaded server-side) OR image_base64. model: deepseek-ocr (default), paddleocr-vl, or texify. Returns {latex, model, elapsed_ms}.

ParameterTypeDescription
image_base64string
image_urlstring
modelstring

recognize_table

Recognize a table from an image and return LaTeX tabular code. Provide image_url OR image_base64. model: deepseek-ocr (default), paddleocr-vl, or texify. Returns {latex, model, elapsed_ms}.

ParameterTypeDescription
image_base64string
image_urlstring
modelstring

list_ocr_models

List the OCR models available for recognize_formula / recognize_table.

lint_latex

Lint a LaTeX snippet: report errors and return an auto-fixed version. Input `code` (the LaTeX source). Returns {errors, fixed_code, summary_en, summary_zh, elapsed_ms}.

ParameterTypeDescription
code *string

extract_pdf

Extract a PDF to clean Markdown/LaTeX text via MinerU (great for papers behind no open-access full text — give the user's PDF and get readable text back). Provide pdf_url (downloaded server-side, SSRF-guarded) OR pdf_base64. formula/table toggle math/table reconstruction. Returns {task_id, status, cached, content, chars}: a recently-seen (cached) or small PDF comes back with `content` in one call; a fresh PDF (MinerU is GPU-heavy, minutes) returns status='running' + a task_id — then call extract_pdf_result(task_id) to fetch the text.

ParameterTypeDescription
formulaboolean
pdf_base64string
pdf_urlstring
tableboolean

extract_pdf_result

Fetch the result of an extract_pdf job by task_id. Returns {task_id, status, content, chars}: `content` is the extracted text once status='done'; while still 'running' content is null — call again shortly. Results expire server-side, so fetch reasonably soon.

ParameterTypeDescription
task_id *string

get_paper_citations

Semantic Scholar: papers that CITE this one (forward citation graph). id accepts S2 id / DOI: / ARXIV: / CorpusId:.

ParameterTypeDescription
paper_id *string
max_resultsinteger
startinteger

get_paper_references

Semantic Scholar: papers this one REFERENCES (its bibliography). id accepts S2 id / DOI: / ARXIV: / CorpusId:.

ParameterTypeDescription
paper_id *string
max_resultsinteger
startinteger

get_paper_authors

Semantic Scholar: the authors of a paper (with h-index, paper/citation counts).

ParameterTypeDescription
paper_id *string
max_resultsinteger
startinteger

match_paper_title

Semantic Scholar: find the single paper whose title best matches the given text (exact-match lookup).

ParameterTypeDescription
title *string

autocomplete_papers

Semantic Scholar: autocomplete paper titles for a partial query (fast type-ahead).

ParameterTypeDescription
query *string

search_papers_bulk

Semantic Scholar: bulk paper search (up to 1000 hits, sortable e.g. 'citationCount:desc' or 'publicationDate:desc', with a continuation token). Filters: fields_of_study, year (e.g. '2020-2024'), venue, publication_types, open_access_pdf.

ParameterTypeDescription
query *string
fields_of_studystring
max_resultsinteger
open_access_pdfboolean
publication_typesstring
sortstring
tokenstring
venuestring
yearstring

get_papers_batch

Semantic Scholar: fetch many papers at once by id (S2/DOI:/ARXIV:/CorpusId:), up to ~500 per call.

ParameterTypeDescription
ids *array

search_authors

Semantic Scholar: search for authors by name; returns profiles with h-index and paper/citation counts.

ParameterTypeDescription
query *string
max_resultsinteger
startinteger

get_author

Semantic Scholar: a single author's profile by id.

ParameterTypeDescription
author_id *string

get_author_papers

Semantic Scholar: all papers by a given author id, newest first.

ParameterTypeDescription
author_id *string
max_resultsinteger
startinteger

get_authors_batch

Semantic Scholar: fetch many authors at once by id.

ParameterTypeDescription
ids *array

search_snippets

Semantic Scholar: search INSIDE paper full text and return matching text snippets (not just titles/abstracts).

ParameterTypeDescription
query *string
max_resultsinteger

recommend_papers_for_paper

Semantic Scholar: recommend papers similar to one paper. pool='recent' (last open corpus) or 'all-cs' (all of CS). If the 'recent' pool yields nothing (common for older papers), it automatically retries the 'all-cs' pool.

ParameterTypeDescription
paper_id *string
max_resultsinteger
poolstring

recommend_papers_from_examples

Semantic Scholar: recommend papers from positive (and optional negative) example paper ids.

ParameterTypeDescription
positive_ids *array
max_resultsinteger
negative_ids

list_dataset_releases

Semantic Scholar Datasets: list all available release ids (dated snapshots of the full corpus).

get_dataset_release

Semantic Scholar Datasets: which datasets a release contains (papers, abstracts, citations, embeddings, s2orc, tldrs…). release_id defaults to 'latest'.

ParameterTypeDescription
release_idstring

get_dataset_diffs

Semantic Scholar Datasets: incremental diff (added/updated/deleted) for a dataset between two releases. Needs the key.

ParameterTypeDescription
dataset_name *string
start_release *string
end_releasestring

get_openalex_work

OpenAlex: fetch one work's full record (316M-work, all-field corpus). id accepts OpenAlex Wxxxx, a DOI, or an arXiv id.

ParameterTypeDescription
work_id *string

get_openalex_citations

OpenAlex: papers that CITE this work (forward citation graph), most-cited first.

ParameterTypeDescription
work_id *string
max_resultsinteger
startinteger

get_openalex_references

OpenAlex: the works this one REFERENCES (its bibliography).

ParameterTypeDescription
work_id *string
max_resultsinteger

search_openalex_authors

OpenAlex: search authors; returns profiles with h-index, i10-index, works/citation counts and institutions.

ParameterTypeDescription
query *string
max_resultsinteger
startinteger

search_openalex_institutions

OpenAlex: search institutions (universities, labs) with ROR id, country, works/citation counts.

ParameterTypeDescription
query *string
max_resultsinteger

search_openalex_works

OpenAlex: advanced filtered work search. Filters: from_year, to_year, is_oa (open access only), min_citations, institution_id. sort_by: relevance|newest|cited.

ParameterTypeDescription
from_yearinteger
institution_idstring
is_oaboolean
max_resultsinteger
min_citationsinteger
querystring
sort_bystring
to_yearinteger

list_openalex_topics

OpenAlex: search the topic taxonomy (~4500 topics) to find the right subject term for filtering or recent-work queries.

ParameterTypeDescription
query *string
max_resultsinteger