PubMed MCP Server
Enables searching PubMed's biomedical literature database with keyword and advanced search capabilities, retrieving article metadata including abstracts and MeSH terms, and accessing full-text PDFs when available through PMC.
Click on "Deploy 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 MCP Server search for recent studies on Alzheimer's disease treatments"
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.
Unofficial PubMed MCP Server
A Model Context Protocol (MCP) server that provides access to PubMed's vast database of over 35 million biomedical citations. This server enables AI assistants and applications to search, retrieve metadata, and access full-text research articles from the world's largest biomedical literature database.
Features
Keyword Search: Search PubMed with natural language queries and medical terms
Advanced Search: Filter by author, journal, publication date, and more
Rich Metadata: Get comprehensive article information including abstracts, MeSH terms, and DOIs
PDF Access: Download full-text PDFs when available through PMC
Fast & Reliable: Built on NCBI's official E-utilities API
MCP Compatible: Works seamlessly with Claude Desktop and other MCP clients
Related MCP server: NCBI Literature Search MCP Server
Usage
{
"mcpServers": {
"pubmed": {
"command": "node",
"args": ["/path/to/pubmed-mcp-server/build/index.js"]
}
}
}API Reference
The server provides a single unified tool pubmed_articles with four methods:
1. Search Keywords (search_keywords)
Search PubMed using keywords and natural language queries.
Parameters:
method:"search_keywords"keywords(required): Search query stringnum_results(optional): Number of results (1-100, default: 10)
Example:
{
"method": "search_keywords",
"keywords": "CRISPR gene editing cancer therapy",
"num_results": 5
}2. Advanced Search (search_advanced)
Perform filtered searches with specific criteria.
Parameters:
method:"search_advanced"term(optional): General search termtitle(optional): Search in article titlesauthor(optional): Author name(s)journal(optional): Journal name or abbreviationstart_date(optional): Start date (YYYY/MM/DD format)end_date(optional): End date (YYYY/MM/DD format)num_results(optional): Number of results (1-100, default: 10)
Example:
{
"method": "search_advanced",
"author": "Smith J",
"journal": "Nature",
"start_date": "2023/01/01",
"end_date": "2024/12/31",
"num_results": 10
}3. Get Article Metadata (get_article_metadata)
Retrieve detailed metadata for a specific article.
Parameters:
method:"get_article_metadata"pmid(required): PubMed ID (string or integer)
Example:
{
"method": "get_article_metadata",
"pmid": "12345678"
}4. Download PDF (get_article_pdf)
Attempt to access the full-text PDF of an article.
Parameters:
method:"get_article_pdf"pmid(required): PubMed ID (string or integer)
Example:
{
"method": "get_article_pdf",
"pmid": "12345678"
}Response Format
All methods return detailed article information including:
{
"pmid": "12345678",
"title": "Article Title",
"authors": ["Smith, John", "Doe, Jane"],
"journal": "Nature Medicine",
"publication_date": "2024-03-15",
"abstract": "Article abstract...",
"doi": "10.1038/s41591-024-12345-6",
"pmcid": "PMC1234567",
"keywords": ["keyword1", "keyword2"],
"mesh_terms": ["MeSH Term 1", "MeSH Term 2"],
"url": "https://pubmed.ncbi.nlm.nih.gov/12345678/"
}Search Tips
Keyword Search Best Practices
Use medical terminology and standardized terms when possible
Combine multiple concepts:
"diabetes AND insulin AND therapy"Use wildcards for variations:
"cardi*"(matches cardiac, cardiology, etc.)Include drug names, disease names, and intervention types
Advanced Search Examples
Find recent COVID-19 vaccine studies:
{
"method": "search_advanced",
"term": "COVID-19 vaccine",
"start_date": "2023/01/01",
"num_results": 20
}Search specific author's work in high-impact journals:
{
"method": "search_advanced",
"author": "Smith JA",
"journal": "New England Journal of Medicine",
"start_date": "2020/01/01"
}Note: This is an unofficial tool. Please respect PubMed's usage guidelines and rate limits when using this server.
Available Tools
1 toolpubmed_articlesB
Unified tool for PubMed operations: search biomedical literature, retrieve article metadata, and download PDFs. Access over 35 million citations from the world's largest biomedical database. Use the method parameter to specify the operation type: search with keywords, advanced filtered search, get detailed metadata, or download full-text PDFs when available.
Inputs: method (required), keywords, num_results, pmid, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool clearly handles all PubMed operations, so an agent cannot misselect between multiple options.
The single tool name 'pubmed_articles' follows a clear noun-based pattern, and since there is only one tool, consistency is inherently perfect with no deviations or mixed conventions to evaluate.
A single tool for a comprehensive biomedical database like PubMed is too few for the apparent scope. The tool description suggests multiple operations (search, retrieve, download), which would typically be split into distinct tools for better agent usability and clarity, making this count inappropriate.
The tool claims to cover search, retrieval, and PDF download operations, which addresses core PubMed use cases. However, the reliance on a single tool with a 'method parameter' for different operations may introduce gaps in agent handling, as it lacks dedicated tools for specific actions like filtering or metadata updates, but it is largely complete for basic workflows.
Maintenance
Related MCP Connectors
Search 36M+ PubMed biomedical articles and ClinicalTrials.gov studies.
Search PubMed, read abstracts and summaries, and find similar articles in NCBI PubMed.
Search biomedical literature, get article details, find related articles, and explore MeSH terms
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables search and retrieval of academic papers from PubMed database with advanced features like MeSH term lookup, publication statistics, and PICO-based evidence search.5-
- FlicenseNot gradedqualityDmaintenanceProvides seamless access to over 35 million PubMed scientific articles through natural language queries for research discovery and analysis. It enables tools for advanced searches, retrieving article details, and exploring related research within the life sciences and biomedical fields.13-
- AlicenseAqualityDmaintenanceEnables AI agents to search and read PubMed academic literature directly, without requiring an NCBI API key.21MIT
- AlicenseAqualityDmaintenanceEnables searching and fetching articles from PubMed, a database of biomedical literature.1MIT