Pubmed MCP Server
Pubmed MCP Server is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. It has 154 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @cyanheads/pubmed-mcp-server.
- Needs API key
- Other
- Apache-2.0
- Actively maintained
Install Pubmed MCP Server
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"pubmed-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/pubmed-mcp-server"
],
"env": {
"NCBI_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env NCBI_API_KEY=your-value --transport stdio pubmed-mcp-server -- npx -y @cyanheads/pubmed-mcp-serverCursor
{
"mcpServers": {
"pubmed-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/pubmed-mcp-server"
],
"env": {
"NCBI_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "ncbi_api_key",
"description": "NCBI_API_KEY",
"password": true
}
],
"servers": {
"pubmed-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/pubmed-mcp-server"
],
"env": {
"NCBI_API_KEY": "${input:ncbi_api_key}"
}
}
}
}Claude Code (remote)
claude mcp add --transport http pubmed-mcp-server "https://pubmed.caseyjhand.com/mcp"The same server is also hosted as a remote MCP endpoint, so nothing runs on your machine.
Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
MCP_LOG_LEVEL | No | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
NCBI_API_KEYsecret | No | NCBI API key for higher rate limits (10 req/s vs 3 req/s). |
NCBI_ADMIN_EMAIL | No | Contact email sent with NCBI requests (recommended by NCBI). |
UNPAYWALL_EMAIL | No | Contact email for Unpaywall. When set, pubmedfetchfulltext falls back to Unpaywall open-access copies for DOIs not in PMC. |
Tools (11)
Parsed from the Tools section of the README; check the repository for the current list.
pubmed_search_articlesSearch PubMed with full query syntax, structured filters, date ranges, and optional summaries
pubmed_fetch_articlesFetch article metadata by PMID: abstract, authors, journal, MeSH terms, grants, linked retraction and correction notices
pubmed_fetch_fulltextFetch full text by PMID, PMCID, or DOI, falling back from PMC to Europe PMC to Unpaywall
pubmed_europepmc_searchSearch Europe PMC for preprints, patents, Agricola, and open-access records PubMed doesn't carry
pubmed_europepmc_fetchFetch complete Europe PMC records, including the untruncated abstract, by source + epmcId
pubmed_format_citationsFormat citations in APA 7th, MLA 9th, BibTeX, RIS, or Vancouver (ICMJE/NLM)
pubmed_find_relatedFind similar articles, citing articles, or references for a PMID
pubmed_spell_checkCorrect a misspelled PubMed query via NCBI ESpell
pubmed_lookup_meshLook up MeSH headings with tree numbers, scope notes, and entry terms
pubmed_lookup_citationResolve partial references, up to 25 at a time, to PMIDs via ECitMatch
pubmed_convert_idsConvert between DOI, PMID, and PMCID via the PMC ID Converter
About Pubmed MCP Server
@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. 11 Tools • 1 Resource • 1 Prompt
- ai-agents
- ai-tools
- mcp
- mcp-server
- model-context-protocol
- ncbi
- pubmed
- pubmed-api
- biomedical
- citations
Similar MCP servers
More other MCP servers
Reactive Resume
reactive-resume/reactive-resume
A one-of-a-kind resume builder that keeps your privacy in mind.
OtherTypeScriptN8n MCP
czlonkowski/n8n-mcp
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you.
OtherTypeScriptXHS Downloader
JoeanAmier/XHS-Downloader
小红书(XiaoHongShu、RedNote)链接提取/作品采集工具.
OtherJavaScriptMCP Use
mcp-use/mcp-use
The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents.
OtherTypeScriptHa MCP
homeassistant-ai/ha-mcp
Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.
OtherPythonMCP Server Chart
antvis/mcp-server-chart
A Model Context Protocol server for generating charts using AntV.
OtherTypeScript
What is Pubmed MCP Server?
Pubmed MCP Server is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. It has 154 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @cyanheads/pubmed-mcp-server. The source code is at github.com/cyanheads/pubmed-mcp-server.
How do I install the Pubmed MCP Server MCP server?
Add the command npx -y @cyanheads/pubmed-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Pubmed MCP Server free?
The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (NCBI_API_KEY) for the service it connects to, which may require a paid account.
Is Pubmed MCP Server actively maintained?
The most recent commit was on Oct 4, 2026. The latest release is v2.10.20, published Oct 4, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.