PubMed Search
MCP server by u9401066 Community
Searches biomedical literature across PubMed, Europe PMC, OpenAlex, full text and citations for AI agents. It suits researchers and developers building literature research workflows.
Install PubMed Search
Built from the published package, never by AI.
claude mcp add pubmed-search -- uvx pubmed-search-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"pubmed-search": {
"args": [
"pubmed-search-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"pubmed-search": {
"args": [
"pubmed-search-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"pubmed-search": {
"args": [
"pubmed-search-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add pubmed-search -- uvx pubmed-search-mcp{
"mcpServers": {
"pubmed-search": {
"args": [
"pubmed-search-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add pubmed-search uvx pubmed-search-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the pubmed-search block.
About
PubMed Search is an MCP server that gives AI assistants task-oriented access to biomedical literature. It covers PubMed, Europe PMC, CORE and NCBI databases, and adds full-text retrieval, figure extraction from PMC Open Access articles, and a versioned Research Chronicle. The project is built on Domain-Driven Design and lists 41 MCP tools.
It can run as local stdio, as a loopback HTTP server for one trusted user, or as a multi-user service with bearer-token auth and per-tenant storage. It is aimed at AI agents and developers who want literature search inside their assistant. The project also provides a Python SDK facade, 26 Claude Skills and Copilot instructions.
Written from the project's README and checked against it.
Tools it gives your assistant
get_fulltextReads sections of full-text articles, with optional background XML prefetch.unified_searchSearches several sources through the Python SDK and returns articles, source counts and errors.
What you need
- NCBI email address
- Python 3.10 or later
- uv (recommended)
- NCBI API key (optional, for higher rate limits)
- OpenAlex API key (optional)
| Setting | Needed | What it is |
|---|---|---|
NCBI_Environment variable | Optional | Contact email sent to NCBI E-utilities; defaults to git user.email |
NCBI_Environment variable, secret | Optional | Optional NCBI API key that raises the E-utilities limit from 3 to 10 requests per second |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search PubMed and Europe PMC for remimazolam ICU sedation studies
- Use get_fulltext to read the results section of this PMID
- Find papers citing these seed articles and expand the list
Good to know
- Local HTTP mode is for trusted single-user use and must not be published.
- Service mode requires HTTPS and bearer auth; keep one replica until shared backends exist.
- Without an OpenAlex API key, requests use the anonymous casual-use budget.
- Benchmark results in the source do not establish a product-level performance gain.
Security check
B- Downloads a script from the internet and runs it (a well-known installer)In
README.md:curl -LsSf https://astral.sh/uv/install.sh | sh
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to PubMed Search
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
PubMed Search: common questions
Does it need an NCBI API key?
Only an NCBI email is required by NCBI policy. An API key is optional and raises the rate limit from 3 to 10 requests per second.
Can several users share one server?
Service mode supports many authenticated principals in one server process, with bearer auth and per-principal storage. The source says it should run behind HTTPS.
Can it get figures and full text from open access articles?
Yes. The source says it pulls figure captions, direct image URLs and PDF links from PMC Open Access articles, and supports reading full-text sections.
How do I install PubMed Search?
In Claude Code run claude mcp add pubmed-search -- uvx pubmed-search-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is PubMed Search the official server?
PubMed Search is a community project by u9401066, not verified by a company domain.
Is PubMed Search free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is PubMed Search safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (downloads a script from the internet and runs it (a well-known installer)). Review the code before you install. How grades work.
What are alternatives to PubMed Search?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does PubMed Search work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
