pubmed-mcp
Enables retrieval of full text of PMC Open Access articles using the BioC API.
Integrates with NCBI PubMed and PMC APIs to search, fetch summaries, full records, related links, spelling suggestions, citation matching, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pubmed-mcpsearch for articles on CRISPR gene therapy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pubmed-mcp
MCP server exposing NCBI PubMed/PMC APIs: E-utilities (search, summaries, full records, links, database info, spelling, citation matching), BioC full text, the Literature Citation Exporter, and the PMC ID Converter.
Table of contents
Related MCP server: mcp-pubmed
Tools
Tool | Parameters | Description |
|
| ESearch — matching UIDs and total count |
|
| ESummary — document metadata for a list of UIDs |
|
| EFetch — full records (abstracts, FASTA, GenBank, etc.) |
|
| ELink — related/cross-referenced records |
|
| EInfo — list of Entrez databases, or fields/links for one database |
|
| EGQuery — result counts across all Entrez databases |
|
| ESpell — spelling-corrected search term |
|
| ECitMatch — batch citation-to-PMID matching |
|
| BioC — full text of a PMC Open Access article |
|
| Literature Citation Exporter — formatted citation |
|
| PMC ID Converter — convert between PMID/PMCID/MID/DOI |
|
| Raw GET request to any of the four underlying APIs |
Environment variables
Variable | Required | Description |
| no | Email reported to NCBI (recommended by their usage policy) |
| no | NCBI E-utilities API key — raises the rate limit from 3 to 10 requests/second |
Wiring it up
Only requirement: uv (https://docs.astral.sh/uv/). Nothing else to install.
Claude Code
claude mcp add pubmed-mcp -- uvx --from git+https://github.com/dam2452/pubmed-mcp.git pubmed-mcpWith optional email/API key:
claude mcp add pubmed-mcp -e PUBMED_MCP_EMAIL=<value> -e PUBMED_MCP_API_KEY=<value> -- uvx --from git+https://github.com/dam2452/pubmed-mcp.git pubmed-mcpClaude Desktop / other MCP client
{
"mcpServers": {
"pubmed-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/dam2452/pubmed-mcp.git", "pubmed-mcp"],
"env": { "PUBMED_MCP_EMAIL": "<value>", "PUBMED_MCP_API_KEY": "<value>" }
}
}
}After pushing a new version: uv cache clean and restart the client.
Local run
uv run --directory . pubmed-mcpTests (manual):
uv run --directory . --with pytest pytest test/Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that provides access to PubMed articles through the Entrez API.Last updated2170MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides access to PubMed and NCBI's biomedical literature database for searching articles, retrieving metadata, and tracking citations. It enables users to explore related research, browse MeSH vocabulary, and find free full-text links.Last updated6MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides direct access to PubMed and PubMed Central via the NCBI E-utilities API. It enables AI models to search biomedical literature, retrieve detailed article metadata, and download open-access full texts.Last updated5MIT
- Alicense-qualityCmaintenanceA local MCP server enabling PubMed, PMC, and iCite API access via stdio for tools like search, fetch, full text, and citation counts.Last updated992MIT
Related MCP Connectors
PubMed MCP — wraps the NCBI E-utilities API (biomedical literature, free, no auth)
Academic research MCP server for paper search, citation checks, graphs, and deep research.
MCP server for Altmetric APIs - track research attention across news, policy, social media, and more
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dam2452/pubmed-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server