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 168 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @cyanheads/pubmed-mcp-server.
github.com/cyanheads/pubmed-mcp-server (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
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 (12)
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, language and original-language title, MeSH terms and…
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, as records: [{ source, epmcId }]
pubmed_fetch_citation_metricsFetch NIH iCite citation metrics by PMID: Relative Citation Ratio, NIH percentile, citation counts and rates
pubmed_format_citationsFormat citations in APA 7th, MLA 9th, BibTeX, RIS, or Vancouver (ICMJE/NLM), with linked retraction and correction…
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 records (descriptors, supplementary concepts, qualifiers, pharmacological actions) with the PubMed clause…
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. 12 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
MCP Aftereffects
kumoproductions/mcp-aftereffects
MCP server for Adobe After Effects — comp/layer introspection, undo-grouped ops, frame rendering.
Active · last commit Oct 16, 2026
OtherTypeScriptOpenFate Bazi MCP
openfate-ai/openfate-mcp
OpenFate Bazi MCP with True Solar Time, Four Pillars, Da Yun, and branch interactions.
Active · last commit Sep 20, 2026
OtherTypeScriptWanderlog MCP
shaikhspeare/wanderlog-mcp
MCP server for Wanderlog — build and edit trip itineraries through conversation.
Active · last commit Nov 4, 2026
OtherTypeScriptZotero MCP
kujenga/zotero-mcp
Search your Zotero library, retrieve item metadata, and read full text from AI assistants.
Maintained · last commit Aug 7, 2026
OtherPythonAgentql MCP
tinyfish-io/agentql-mcp
Model Context Protocol server that integrates AgentQL's data extraction capabilities.
Maintained · last commit Nov 14, 2026
OtherTypeScriptMCP Server Calculator
githejie/mcp-server-calculator
A Model Context Protocol server for calculating.
Maintained · last commit Aug 8, 2026
OtherPython
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 Nov 13, 2026. The latest release is v2.12.2, published Nov 13, 2026. appsgit only lists MCP servers with a commit in the last six months.