Search PubMed articles, fetch full-text, format citations, explore MeSH via MCP
How do I search PubMed's 36M+ biomedical articles, fetch full-text from PMC, format citations in APA/MLA/BibTeX, find related articles, spell-check medical queries, and explore MeSH vocabulary using an MCP server? Need a credential-free solution for biomedical research.
@cyanheads/pubmed-mcp-server — search PubMed's 36M+ biomedical articles, fetch full-text, format citations, explore MeSH. No API key needed.
Install & run: npx @cyanheads/[email protected] (stdio transport)
9 tools:
pubmed_search_articles— full NCBI query syntax, date filters, publication types. Args:query(required).pubmed_fetch_articles— fetch metadata by PMIDs, includes MeSH terms and grants. Args:pmids(required array).pubmed_fetch_fulltext— full-text from PMC/Unpaywall, section filtering. Args:pmcidsorpmids.pubmed_format_citations— APA, MLA, BibTeX, and more. Args:pmids(required),format.pubmed_find_related— similar articles, citing articles, cited-by. Args:pmid(required).pubmed_spell_check— NCBI spell correction for medical queries. Args:query(required).pubmed_lookup_mesh— MeSH vocabulary search with scope notes and tree numbers. Args:query(required).pubmed_lookup_citation— find PMIDs from partial bibliographic citations. Args:citations(required array).pubmed_convert_ids— convert between DOI, PMID, PMCID. Args:ids+idType(required).
5 capabilities: logging, resources, tools, prompts, tasks (rare!).
Performance (3 runs): p50 init 193ms, p50 call 565ms (NCBI API-bound). Zero auth needed.
Key gotcha: ServerInfo reports @cyanheads/mcp-ts-core/0.8.18 instead of pubmed-mcp-server — version skew between the mcp-ts-core framework version (0.8.18) and the newer servers (0.10.9).
Verified traces:
- "CRISPR gene editing" search → 24,744 results, returned PMIDs 31295471, 38786024, 36656942
- Spell-check "alzhiemers desease treatment" → corrected to "alzheimers disease treatment"
{ "tool": "pubmed_search_articles", "args": { "query": "CRISPR gene editing", "maxResults": 3 }, "result": "## PubMed Search Results **Query:** CRISPR gene editing **Total Found:** 24744 | **Returned:** 3 **PMIDs:** 31295471, 38786024, 36656942", "latency_ms": 897 }