Pubmed
MCP server by pipeworx-io Community
PubMed MCP gives AI assistants access to PubMed, the U.S. National Library of Medicine's biomedical literature database. It is aimed at clinicians, researchers, and people doing literature review.
Install Pubmed
Built from the published package, never by AI.
claude mcp add pubmed -- npx -y @pipeworx/mcp-pubmedRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"pubmed": {
"args": [
"-y",
"@pipeworx/mcp-pubmed"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"pubmed": {
"args": [
"-y",
"@pipeworx/mcp-pubmed"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"pubmed": {
"args": [
"-y",
"@pipeworx/mcp-pubmed"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add pubmed -- npx -y @pipeworx/mcp-pubmed{
"mcpServers": {
"pubmed": {
"args": [
"-y",
"@pipeworx/mcp-pubmed"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add pubmed npx -y @pipeworx/mcp-pubmedGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the pubmed block.
About
PubMed MCP is a server that connects AI assistants to PubMed, the U.S. National Library of Medicine's database of about 37 million biomedical and life-science citations. It wraps the NCBI E-utilities API and is served through the Pipeworx gateway. The source describes it as an independent, unofficial integration that is not affiliated with or endorsed by the upstream provider.
The tools cover keyword and MeSH-based topic search, full records by PMID, and author details including affiliations and email addresses found in the record. They also count evidence by study type, report annual publication counts, and check a PMID for NLM-indexed retractions, expressions of concern, and errata. It is intended for clinicians, researchers, and anyone doing systematic literature review. No API key is required, though a free NCBI key raises the rate limit.
Written from the project's README and checked against it.
Tools it gives your assistant
search_pubmedSearches PubMed by keyword or MeSH terms, with optional from_year and to_year date bounds.get_summaryReturns a PubMed record for a PMID, including title, abstract, authors, and MeSH tags.pubmed_evidence_landscapeCounts clinical trials, randomized trials, systematic reviews, meta-analyses, and other study types for one query.pubmed_publication_trendReturns exact annual PubMed publication counts across a bounded year window.pubmed_integrity_checkSurfaces NLM-indexed retractions, expressions of concern, errata, and related notices for one PMID.
What you need
- Node.js, to run the optional npm stdio bridge
- Network access, since there is no offline mode
- Optional free NCBI API key for a higher rate limit
- Optional Pipeworx account key for 200 calls a day
| Setting | Needed | What it is |
|---|---|---|
PIPEWORX_Environment variable, secret | Optional | Optional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Find recent PubMed papers on GLP-1 agonists and cardiovascular outcomes
- Check whether a PMID has any retraction or expression of concern notice
- Show yearly PubMed publication counts for CRISPR from 2018 to 2024
Good to know
- Without an NCBI API key, calls are throttled to 3 per second.
- Anonymous npm use is capped at 50 calls a day.
- PubMed mostly indexes peer-reviewed work, so bioRxiv and medRxiv preprints are not included until published.
- Many PubMed records have abstracts only, not full text.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Pubmed
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
Pubmed: common questions
Does PubMed MCP need an API key?
No. The source says NCBI E-utilities is free and needs no auth. A free NCBI API key is optional and raises the rate limit from 3 to 10 requests per second.
Does PubMed MCP include preprints?
Mostly not. The source says PubMed indexes peer-reviewed publications, and bioRxiv and medRxiv preprints are not included until the paper is formally published.
Is PubMed MCP an official NLM or NCBI tool?
No. The source states it is an independent, unofficial integration and is not affiliated with, endorsed by, or published by the upstream provider.
How do I install Pubmed?
In Claude Code run claude mcp add pubmed -- npx -y @pipeworx/mcp-pubmed. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Pubmed the official server?
Pubmed is a community project by pipeworx-io, not verified by a company domain.
Is Pubmed free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Pubmed safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Pubmed?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does Pubmed work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
