pubmed-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use the pubmed_* tools to search PubMed and PubMed Central, fetch article metadata and full text, format citations, and find related articles via NCBI's E-utilities. Articles are keyed by PMID (integer); PMC full text by PMCID (PMC prefix); most also carry a DOI. Typical flow: pubmed_search_articles → pubmed_fetch_articles → pubmed_fetch_fulltext. When PubMed itself comes up empty (preprints, EPMC-only OA), broaden via pubmed_europepmc_search, then pubmed_europepmc_fetch with records: [{ source, epmcId }] copied from a hit for its complete abstract. Prefer deterministic resolvers when inputs are structured: pubmed_lookup_citation for partial references, pubmed_convert_ids to crosswalk IDs. Refine queries with pubmed_lookup_mesh and pubmed_spell_check. For an article's citation influence, pubmed_fetch_citation_metrics returns its Relative Citation Ratio, NIH percentile, and citation counts (Source: NIH iCite, https://icite.od.nih.gov/). The pubmed-guide skill (skill://pubmed-guide/SKILL.md) carries the gates for MeSH and query syntax, DOI-to-PMID routes outside PMC, resolving reference lists, citation counts, and full-text availability.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": true,
"listChanged": true
} |
| extensions | {
"io.modelcontextprotocol/skills": {
"directoryRead": true
}
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pubmed_search_articlesA | Search PubMed with full query syntax, filters, and date ranges. Returns PMIDs and optional brief summaries. Supports field-specific filters (author, journal, MeSH terms), common filters (language, species, free full text), and pagination via offset for paging through large result sets. |
| pubmed_fetch_articlesA | Fetch full article metadata by PubMed IDs. Returns detailed article information including abstract, authors, journal, language and original-language title, MeSH terms and indexed substances, linked retraction, erratum, and comment notices, and databank accessions such as trial registration IDs; grants and the members of a collective author are opt-in ( |
| pubmed_fetch_fulltextA | Fetch full-text articles from PubMed Central as structured sections — the body, then back matter such as acknowledgments, declarations, and appendices — with tables and references. When PMC misses, transparently falls back to Europe PMC |
| pubmed_format_citationsA | Get formatted citations for PubMed articles in one or more formats (apa, mla, bibtex, ris, vancouver). Pass a single format as a string or multiple as an array. Retractions, errata, and expressions of concern NCBI links to an article come back in |
| pubmed_find_relatedA | Find articles related to a source article — similar content (similar), articles citing this one (cited_by), or articles this one cites (references). Uses NCBI ELink as the primary source; falls back to Europe PMC then OpenAlex when NCBI is unavailable. |
| pubmed_spell_checkA | Spell-check a PubMed search query against NCBI ESpell and get the corrected query back. Use after a zero-hit or thin |
| pubmed_lookup_meshA | Search and explore the MeSH (Medical Subject Headings) controlled vocabulary. Returns MeSH records of every type — descriptors, supplementary concepts, qualifiers, and pharmacological actions — each with its record type and the PubMed clause that searches it, plus tree numbers, scope notes, entry terms, year introduced, previous indexing, and the exact heading match's allowable subheadings, with pagination via offset for paging past the maxResults cap. |
| pubmed_lookup_citationA | Look up PubMed IDs from partial bibliographic citations. Useful when you have a reference (journal, year, volume, page, author) and need the PMID — deterministic citation matching, more reliable than free-text search for structured references. Each citation must include at least journal or a four-digit year (ECitMatch primary-keys on journal+volume+page; author-only or volume-only inputs guarantee no match); more fields = better match accuracy. |
| pubmed_convert_idsA | Convert between article identifiers (DOI, PMID, PMCID). Accepts up to 50 IDs of a single type per request. Only resolves articles indexed in PubMed Central — for articles not in PMC, use pubmed_search_articles instead. |
| pubmed_fetch_citation_metricsA | Fetch NIH iCite citation metrics for PubMed articles: the Relative Citation Ratio (RCR), NIH percentile, citation count, citations per year, expected and field citation rates, the Approximate Potential to Translate (APT), the human, animal, and molecular/cellular shares of each article's MeSH terms, and how many clinical articles cite it (set |
| pubmed_europepmc_searchA | Search Europe PMC, a broad open-access biomedical corpus. Surfaces preprints ( |
| pubmed_europepmc_fetchA | Fetch complete Europe PMC records — including the full, untruncated abstract — addressed as |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| research_plan | Generate a structured research plan outline for a biomedical research project. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| database-info | PubMed database metadata including field list, last update date, and record count. |
| pubmed-guide | PubMed query syntax, identifier crosswalks, and gates for the pubmed_* tools over PubMed, PubMed Central, Europe PMC, and NIH iCite. Use when building a MeSH-based or systematic search, resolving a reference list or DOIs to PMIDs, judging how cited an article is, getting full text, or finding preprints and records PubMed lacks. |
TDQS
Scored across 12 tools
Each tool targets a distinct resource and action: search vs. metadata fetch vs. full-text fetch vs. citation formatting vs. metrics vs. MeSH vocabulary vs. ID conversion. The apparent overlaps (pubmed_search_articles vs. pubmed_europepmc_search, pubmed_convert_ids vs. pubmed_lookup_citation) are explicitly differentiated by source coverage and input type in the descriptions. The paired Europe PMC search/fetch tools are clearly complementary rather than redundant.
All twelve tools share a snake_case `pubmed_` prefix and mostly follow verb_noun (search_articles, fetch_fulltext, format_citations, find_related, lookup_mesh, convert_ids). The two Europe PMC tools invert the pattern to noun_verb (`europepmc_search`, `europepmc_fetch`), a minor but visible deviation. Readability remains high throughout.
Twelve tools sit comfortably in the ideal 3-15 range for a domain as broad as biomedical literature retrieval. Each tool carries a distinct capability (search, fetch, full text, citations, metrics, MeSH, ID conversion, spell check) with no filler entries. Splitting Europe PMC into search and fetch is justified by the truncated-abstract workflow.
Coverage is strong end to end: discovery (PubMed + Europe PMC, preprints/patents/Agricola), retrieval (metadata, full text, EPMC records), navigation (related/citing/cited), resolution (ID conversion, citation lookup), and enrichment (citations, metrics, MeSH, spell check). Minor gaps exist — no author/affiliation profile lookup and no export-to-file or bulk-save operation — but these are workaroundable via search filters and formatted citations.