NCBI PubMed
Provides 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
What is NCBI PubMed?
NCBI PubMed is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to provides 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 ...
Provides 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
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Provides seamless access to over 35 million PubMed scientifi
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx ncbiConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use NCBI PubMed
The NCBI MCP Server provides AI assistants with direct access to over 35 million PubMed scientific articles through NCBI's Entrez API. It exposes tools for full-text search, article retrieval, MeSH term lookup, related article discovery, and advanced multi-criteria filtering — making it a powerful research companion for scientists, clinicians, and literature reviewers.
Prerequisites
- Python 3.8 or later installed
- Poetry package manager (recommended) or pip with venv
- An NCBI-registered email address (required by NCBI Entrez API policy)
- Optional: NCBI API key for higher rate limits (10 req/s vs 3 req/s) — free at ncbi.nlm.nih.gov/account/
- Claude Desktop or another MCP-compatible client
Clone and set up the project with Poetry
Clone the repository and install dependencies using Poetry.
git clone https://github.com/vitorpavinato/ncbi-mcp-server.git
cd ncbi-mcp-server
poetry installAlternative: set up with venv and pip
If you prefer pip over Poetry, create a virtual environment and install from requirements.txt.
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txtTest the server manually
Start the server to confirm it launches without errors. It communicates over stdio.
poetry run python src/ncbi_mcp_server/server.pyConfigure Claude Desktop
Add the NCBI server to your Claude Desktop config. Use the absolute path to the project directory. The server does not require environment variables but benefits from an NCBI API key passed via tool arguments.
Restart Claude Desktop and run a search
Quit and reopen Claude Desktop. Ask Claude to search PubMed to verify the connection. The NCBI API requires your email in the request — Claude will prompt for it if not pre-configured.
NCBI PubMed Examples
Client configuration
Claude Desktop config using Poetry to launch the NCBI MCP server.
{
"mcpServers": {
"ncbi-literature": {
"command": "poetry",
"args": ["run", "python", "src/ncbi_mcp_server/server.py"],
"cwd": "/absolute/path/to/ncbi-mcp-server"
}
}
}Prompts to try
Research queries that leverage the full PubMed search capabilities.
- "Search PubMed for 'CRISPR AND cancer[ti]' and summarize the top 5 results."
- "Get article details for PMIDs 38000001, 38000002, and 38000003."
- "Find MeSH terms related to 'Alzheimer disease' for use in a precise search."
- "Search for review articles in Nature or Science about machine learning in genomics from the last 2 years."
- "Find articles related to PMID 35000000 and identify common themes."Troubleshooting NCBI PubMed
NCBI API returns 429 Too Many Requests
Without an API key, NCBI limits requests to 3 per second. Obtain a free API key at ncbi.nlm.nih.gov/account/ to raise the limit to 10 per second. Pass the key to tool calls via the api_key parameter.
Poetry command not found when Claude Desktop tries to start the server
Use the full path to the Poetry executable in the config, e.g., "/home/user/.local/bin/poetry". Find the path with `which poetry`. Alternatively switch to the venv+pip setup and use `python` as the command.
Server fails with ImportError on startup
Ensure you ran `poetry install` (or `pip install -r requirements.txt`) from within the project directory. Check that the cwd in claude_desktop_config.json matches the absolute path to the cloned repository.
Frequently Asked Questions about NCBI PubMed
What is NCBI PubMed?
NCBI PubMed is a Model Context Protocol (MCP) server that provides 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 It connects AI assistants to external tools and data sources through a standardized interface.
How do I install NCBI PubMed?
Follow the installation instructions on the NCBI PubMed GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with NCBI PubMed?
NCBI PubMed works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is NCBI PubMed free to use?
Yes, NCBI PubMed is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
NCBI PubMed Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to NCBI PubMed? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up NCBI PubMed in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use NCBI PubMed?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.