
Pubmed Mcp Server
Connects Claude to PubMed, PubMed Central, and Europe PMC through ten tools covering search, metadata retrieval, and full-text access. The search tools handle both standard PubMed queries and Europe PMC's broader corpus including preprints and patents. Article fetching returns structured metadata with MeSH terms and affiliations, while the full-text chain attempts NCBI PMC first, falls back to Europe PMC, then tries Unpaywall for open access PDFs. Citation formatting covers APA, MLA, BibTeX, and RIS. ID conversion moves between PMID, PMCID, and DOI. Reach for this when building research workflows that need programmatic access to biomedical literature beyond simple web searches, especially when you need structured article data or need to locate full text across multiple repositories.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 11
- GitHub stars
- 167
- tools
- 12
- transport
- STDIO, HTTP
- env vars
- 10
- last updated
- Nov 11, 2026
Install
From registry metadata$ npx add-mcp https://pubmed.caseyjhand.com/mcp --name pubmedRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http pubmed https://pubmed.caseyjhand.com/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 12 toolsVerified live against the running server on Nov 13, 2026.
pubmed_search_articlesSearch 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 res...14 params
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 res...
authorstringdateRangeobjectfreeFullTextbooleanhasAbstractbooleanjournalstringlanguagestringmaxResultsintegermeshTermsarrayoffsetintegerpublicationTypesarrayquerystringsortstringrelevance · pub_date · author · journaldefault: relevancespeciesstringhumans · animalssummaryCountintegerpubmed_fetch_articlesFetch full article metadata by PubMed IDs. Returns detailed article information including abstract, authors, journal, MeSH terms, linked retraction, erratum, and comment notices, and databank accessions such as trial registration IDs; grants and the members of a collective aut...5 params
Fetch full article metadata by PubMed IDs. Returns detailed article information including abstract, authors, journal, MeSH terms, linked retraction, erratum, and comment notices, and databank accessions such as trial registration IDs; grants and the members of a collective aut...
includeGrantsbooleanincludeInvestigatorsbooleanincludeMeshbooleanmaxResponseCharactersintegerpmids*arraypubmed_fetch_fulltextFetch 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 `fullTextXML` (structured JATS for its o...12 params
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 `fullTextXML` (structured JATS for its o...
doisarrayincludeAssetsbooleanincludeReferencesbooleanincludeTablesbooleanmaxCharactersintegermaxCharactersPerSectionintegermaxResponseCharactersintegermaxSectionsintegeroverflowModestringtruncate · outlinedefault: truncatepmcidsarraypmidsarraysectionsarraypubmed_format_citationsGet 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 `notices`; Vancouver and APA a...2 params
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 `notices`; Vancouver and APA a...
formatvaluepmids*arraypubmed_find_relatedFind 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.4 params
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.
maxResultsintegeroffsetintegerpmid*stringrelationshipstringsimilar · cited_by · referencesdefault: similarpubmed_spell_checkSpell-check a PubMed search query against NCBI ESpell and get the corrected query back. Use after a zero-hit or thin `pubmed_search_articles` result, or when a drug, gene, disease, or author name may be misspelled. Corrections are applied in place, so field tags, operators, sp...1 params
Spell-check a PubMed search query against NCBI ESpell and get the corrected query back. Use after a zero-hit or thin `pubmed_search_articles` result, or when a drug, gene, disease, or author name may be misspelled. Corrections are applied in place, so field tags, operators, sp...
query*stringpubmed_lookup_meshSearch 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...4 params
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...
includeDetailsbooleanmaxResultsintegeroffsetintegerquery*stringpubmed_lookup_citationLook 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 lea...1 params
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 lea...
citations*arraypubmed_convert_idsConvert 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.2 params
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.
idType*stringpmcid · pmid · doiids*arraypubmed_fetch_citation_metricsFetch 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 eac...1 params
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 eac...
pmids*arraypubmed_europepmc_searchSearch Europe PMC, a broad open-access biomedical corpus. Surfaces preprints (`source: PPR`), patents (`source: PAT`), Agricola (`source: AGR`), plus everything in PubMed (`MED`) and PMC. Use when additional coverage is needed — preprints and EPMC-only OA records are the typic...6 params
Search Europe PMC, a broad open-access biomedical corpus. Surfaces preprints (`source: PPR`), patents (`source: PAT`), Agricola (`source: AGR`), plus everything in PubMed (`MED`) and PMC. Use when additional coverage is needed — preprints and EPMC-only OA records are the typic...
cursorMarkstringpageSizeintegerquery*stringresultTypestringcore · litedefault: coresortstringsourcesarraypubmed_europepmc_fetchFetch complete Europe PMC records — including the full, untruncated abstract — addressed as `records: [{ source, epmcId }]`, an array even for one record. Pairs with `pubmed_europepmc_search`, which returns bounded `abstractSnippet` values and flags cut ones with `abstractTrun...2 params
Fetch complete Europe PMC records — including the full, untruncated abstract — addressed as `records: [{ source, epmcId }]`, an array even for one record. Pairs with `pubmed_europepmc_search`, which returns bounded `abstractSnippet` values and flags cut ones with `abstractTrun...
maxResponseCharactersintegerrecords*arraySponsors
Configuration
MCP_LOG_LEVELdefault: infoSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
NCBI_API_KEYNCBI API key for higher rate limits (10 req/s vs 3 req/s).
NCBI_ADMIN_EMAILContact email sent with NCBI requests (recommended by NCBI).
UNPAYWALL_EMAILContact email for Unpaywall. When set, pubmed_fetch_fulltext falls back to Unpaywall open-access copies for DOIs not in PMC.
MCP_TRANSPORT_TYPEdefault: httpSelects the HTTP transport.
MCP_HTTP_HOSTdefault: 127.0.0.1The hostname for the HTTP server.
MCP_HTTP_PORTdefault: 3010The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHdefault: /mcpThe endpoint path for the MCP server.
MCP_PUBLIC_URLPublic origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).
MCP_AUTH_MODEdefault: noneAuthentication mode to use: 'none', 'jwt', or 'oauth'.
Readme
@cyanheads/pubmed-mcp-server
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms via MCP. STDIO or Streamable HTTP.
Details
- Repository
- github.com/cyanheads/pubmed-mcp-server
- Category
- Search & Web Crawling
- Package
@cyanheads/pubmed-mcp-server- Transport
- STDIO, HTTP
- Registry
- MCP registry, active
- Resources
- 2
- Prompts
- 1
- Tools verified
- Nov 13, 2026
More from cyanheads
- Clinicaltrialsgov Mcp Server100
- Openalex Mcp Server17
- Faostat Mcp Server3
- National Parks Mcp Server3
- Federal Regulations Mcp Server2
- Calculator Mcp Server3
- Congressgov Mcp Server2
- Nws Weather Mcp Server2
- Obsidian Mcp Server705
- Toolkit Mcp Server20
- Nhtsa Vehicle Safety Mcp Server3
- Eur Lex Mcp Server12
- Hn Mcp Server7
- Git Mcp Server245
- Secedgar Mcp Server11
- Gdelt Mcp Server10
- Eurostat Mcp Server9
- Open Meteo Mcp Server13
- Pubchem Mcp Server13
- Gutenberg Mcp Server6
- Libofcongress Mcp Server6
- Orcid Mcp Server6
- Protein Mcp Server6
- Wikipedia Mcp Server6