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 163 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 (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, databank accessions such as trial registration…
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_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 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
Hostinger API MCP
hostinger/api-mcp-server
Model Context Protocol (MCP) server for Hostinger API.
Active · last commit Oct 26, 2026
OfficialOtherTypeScriptZotero MCP
kujenga/zotero-mcp
Search your Zotero library, retrieve item metadata, and read full text from AI assistants.
Active · last commit Aug 7, 2026
OtherPythonShodan
w0h1v/mcp-shodan
MCP server for Shodan API — device search, IP lookup, DNS, and CVE/CPE queries.
Active · last commit Oct 12, 2026
OtherTypeScriptMCP Server Calculator
githejie/mcp-server-calculator
A Model Context Protocol server for calculating.
Maintained · last commit Aug 8, 2026
OtherPythonAgentql MCP
tinyfish-io/agentql-mcp
Model Context Protocol server that integrates AgentQL's data extraction capabilities.
Maintained · last commit Oct 22, 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
OtherTypeScript
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 26, 2026. The latest release is v2.11.1, published Oct 26, 2026. appsgit only lists MCP servers with a commit in the last six months.