mcp-simple-pubmed is an MCP (Model Context Protocol) server designed to enable AI assistants to search and read articles in the PubMed medical and life sciences research literature database. It provides access through NCBI's Entrez API.
Purpose The tool is mainly used for literature retrieval and partial full-text acquisition. It is suitable for users who need to find medical and life sciences papers from the PubMed database, especially in scenarios where they hope to use an AI assistant to assist with tasks such as literature research and systematic reviews.
Main capabilities
- Search PubMed: Supports searching the database using keywords, MeSH subject terms, author names, date ranges, and Boolean operators.
- Retrieve full text: When an article is available (that is, open access articles in PubMed Central), the full text can be downloaded. The tool returns the full text in XML format, and the author points out that this format is more useful for AI than human-readable text because it provides additional information about the document structure.
- Access abstracts: Retrieve abstracts and metadata of articles through resource URIs.
- MCP Prompts (new since v0.1.14): Provides prompts to help construct effective PubMed searches, including:
- Systematic review search: Generates comprehensive search strategies including MeSH terms, synonyms, and date filters for systematic reviews.
- PICO search: Uses the PICO framework (Population, Intervention, Comparison, Outcome) to construct searches for clinical questions.
- Author search: Finds all publications by a certain author using the correct name format. These prompts guide AI in constructing optimized PubMed queries, making comprehensive literature searches easier to perform.
Usage
- Installation: It can be installed automatically via Smithery (for Claude Desktop), and manual installation is also supported.
- Environment variables: The server requires the following environment variables to be set:
- PUBMED_EMAIL: Your email address (required by NCBI).
- PUBMED_API_KEY (optional): An API key used to increase the rate limit.
- Rate limits: The standard limit is 3 requests per second. The tool does not implement rate limiting because in typical usage scenarios AI is unlikely to generate higher traffic. If a higher frequency is needed, you can register for an API key to get 10 requests per second.
- Use with Claude Desktop: The configuration needs to be added to Claude Desktop's configuration file claude_desktop_config.json.
- macOS SSL certificate fix: If you encounter an SSL certificate verification error on macOS (such as a self-signed certificate chain issue), you need to install the correct certificate bundle, replace the Python version number in the command (for example, replace 3.13 with the actual version), and run the script. This script is provided with the Python installation from python.org. It can also be run from Finder. If you make this change while Claude Desktop is open, you need to quit and restart for it to take effect.
Applicable scenarios It is suitable for researchers, students, or practitioners who need to use an AI assistant to retrieve medical and life sciences literature from PubMed, and is especially suitable for tasks such as systematic reviews, clinical question exploration, and author literature research.
Limitations
- The tool cannot access paywalled or paid articles, and users may need to obtain them through library access or other means.
- The inability to retrieve full text does not necessarily mean the full text does not exist: During testing, the author encountered a paper that did not have full text on PubMed. When Claude accessed the publisher page via DOI, it received a "forbidden" error, but the author himself could access the same page with an ordinary browser. Therefore, if the AI assistant cannot retrieve the full text, it is recommended to try manually with a browser.
- The full text is returned in XML format, which may not be directly suitable for human reading, but the author believes it is more useful for AI.Use with Claude Desktop: The configuration needs to be added to Claude Desktop's configuration file claude_desktop_config.json.
- macOS SSL certificate fix: If you encounter an SSL certificate verification error on macOS (such as a self-signed certificate chain issue), you need to install the correct certificate bundle, replace the Python version number in the command (for example, replace 3.13 with the actual version), and run the script. This script is provided with the Python installation from python.org. It can also be run from Finder. If you make this change while Claude Desktop is open, you need to quit and restart for it to take effect.
Applicable scenarios It is suitable for researchers, students, or practitioners who need to use an AI assistant to retrieve medical and life sciences literature from PubMed, and is especially suitable for tasks such as systematic reviews, clinical question exploration, and author literature research.
Limitations
- The tool cannot access paywalled or paid articles, and users may need to obtain them through library access or other means.
- The inability to retrieve full text does not necessarily mean the full text does not exist: During testing, the author encountered a paper that did not have full text on PubMed. When Claude accessed the publisher page via DOI, it received a "forbidden" error, but the author himself could access the same page with an ordinary browser. Therefore, if the AI assistant cannot retrieve the full text, it is recommended to try manually with a browser.
- The full text is returned in XML format, which may not be directly suitable for human reading, but the author believes it is more useful for AI.