PubMed MCP
Provides search capabilities for PubMed's database, enabling retrieval of academic article metadata including titles, authors, publication dates, DOIs, and journal information through the NCBI E-Utilities API.
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 recent articles about Alzheimer's disease"
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
PubMed MCP exposes the PubMed E-Utilities search workflow over HTTP so it can be consumed by clients that implement the Model Context Protocol (MCP) or any other REST-capable integration. It provides a single endpoint for querying PubMed and returns curated article metadata in a consistent JSON shape.
Features
🔎 Search PubMed with a single HTTP request.
📄 Retrieves article summaries (title, journal, publication date, authors, DOI, and canonical URL).
🛠️ Configurable via environment variables, including an optional NCBI API key for higher rate limits.
🧪 Tested with mocked responses to ensure resilient parsing of PubMed responses.
Related MCP server: PubMed MCP Server
Getting started
1. Install dependencies
Create and activate a Python 3.10+ environment, then install the dependencies:
pip install -e .
# For development and testing extras
pip install -e .[dev]2. (Optional) Configure an API key
Set PUBMED_API_KEY or NCBI_API_KEY with your NCBI E-Utilities API key to unlock higher throughput.
export PUBMED_API_KEY="your-api-key"3. Launch the HTTP server
Run the FastAPI app with Uvicorn:
uvicorn pubmed_mcp.server:app --host 0.0.0.0 --port 8000
# or
python -m pubmed_mcp.mainYou can now query the service:
curl "http://localhost:8000/articles/search?q=heart+disease&limit=5"4. Run the test suite
pytestAPI
GET /health– Returns{ "status": "ok" }for readiness checks.GET /articles/search– Required query parameterq; optionallimit(default10, max50). Returns a JSON payload containing the original query, the applied limit, and a list of article summaries.
Development notes
The
PubMedClienthandles eSearch and eSummary requests and merges them into a list ofArticleSummarydataclasses.The FastAPI app caches a single client instance and gracefully closes it during shutdown.
Tests use
respxto simulate PubMed responses, keeping the suite fast and deterministic.
This server cannot be installed
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
- AlicenseBqualityDmaintenanceEnables searching and retrieving scientific articles from PubMed using NCBI E-utilities API with features like rate limiting and caching.Last updated368MIT
- FlicenseAqualityDmaintenanceEnables searching and retrieving detailed information from PubMed articles using the NCBI Entrez API. Supports configurable search parameters including title/abstract filtering and keyword expansion to find relevant scientific publications.Last updated1
- AlicenseBqualityDmaintenanceEnables AI assistants to search and retrieve biomedical research articles from PubMed's database of over 35 million citations, including metadata, abstracts, MeSH terms, and full-text PDFs when available.Last updated11MIT
- Flicense-qualityFmaintenanceEnables searching PubMed's biomedical literature database and retrieving article metadata, abstracts, and full content through the E-utilities API. Supports advanced queries, batch operations, and multiple output formats with automatic rate limiting.Last updated1
Related MCP Connectors
Search PubMed with precision using keyword and journal filters and smart sorting. Uncover MeSH ter…
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.
PubMed MCP — wraps the NCBI E-utilities API (biomedical literature, free, no auth)
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/aimiora/pubmed-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server