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: PubMed MCP Server
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.
Latest Blog Posts
- 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