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.
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
Usage
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:
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:
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:
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:
Response Format
All methods return detailed article information including:
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:
Search specific author's work in high-impact journals:
Note: This is an unofficial tool. Please respect PubMed's usage guidelines and rate limits when using this server.