pubmed-mcp-server
A community-driven MCP server that enables agents to search PubMed and Europe PMC, fetch article metadata and full text, retrieve citation metrics, format references, and look up MeSH terms. It supports STDIO and Streamable HTTP transports.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search PubMed with full query syntax and structured filters
- Fetch article metadata and full text by PMID, PMCID, or DOI
- Look up MeSH headings with tree numbers and scope notes
- Format citations in APA 7th, MLA 9th, BibTeX, RIS, or Vancouver
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/pubmed-mcp-server 2.11.1
{
"version": "2.11.1",
"transport": "stdio",
"identifier": "@cyanheads/pubmed-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
},
{
"name": "NCBI_API_KEY",
"format": "string",
"description": "NCBI API key for higher rate limits (10 req/s vs 3 req/s)."
},
{
"name": "NCBI_ADMIN_EMAIL",
"format": "string",
"description": "Contact email sent with NCBI requests (recommended by NCBI)."
},
{
"name": "UNPAYWALL_EMAIL",
"format": "string",
"description": "Contact email for Unpaywall. When set, pubmed_fetch_fulltext falls back to Unpaywall open-access copies for DOIs not in PMC."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"pubmed-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/pubmed-mcp-server@2.11.1"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"NCBI_API_KEY": "<YOUR_NCBI_API_KEY>",
"NCBI_ADMIN_EMAIL": "<YOUR_NCBI_ADMIN_EMAIL>",
"UNPAYWALL_EMAIL": "<YOUR_UNPAYWALL_EMAIL>"
}
}
}
}Cline
{
"mcpServers": {
"pubmed-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/pubmed-mcp-server@2.11.1"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"NCBI_API_KEY": "<YOUR_NCBI_API_KEY>",
"NCBI_ADMIN_EMAIL": "<YOUR_NCBI_ADMIN_EMAIL>",
"UNPAYWALL_EMAIL": "<YOUR_UNPAYWALL_EMAIL>"
}
}
}
}VS Code
{
"servers": {
"pubmed-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/pubmed-mcp-server@2.11.1"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"NCBI_API_KEY": "<YOUR_NCBI_API_KEY>",
"NCBI_ADMIN_EMAIL": "<YOUR_NCBI_ADMIN_EMAIL>",
"UNPAYWALL_EMAIL": "<YOUR_UNPAYWALL_EMAIL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"pubmed-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/pubmed-mcp-server@2.11.1"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"NCBI_API_KEY": "<YOUR_NCBI_API_KEY>",
"NCBI_ADMIN_EMAIL": "<YOUR_NCBI_ADMIN_EMAIL>",
"UNPAYWALL_EMAIL": "<YOUR_UNPAYWALL_EMAIL>"
}
}
}
}Let your agent find its tools
Find servers like pubmed-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.