================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
mcp-simple-pubmed
by andybrandt
MCP (Model Context Protocol) server that lets AIs search PubMed, fetch abstracts and, when available, full-text XML using NCBI Entrez.
113
22
Open Source01
Search PubMed database using keywords
Searches the PubMed database based on provided keyword queries.
02
Access article abstracts
Retrieves abstracts for PubMed articles.
03
Download full text when available
Downloads the full text of articles when it is openly accessible directly on PubMed.
Installation
1. Clone the repository
git clone https://github.com/andybrandt/mcp-simple-pubmed.git
cd mcp-simple-pubmed
2. (Recommended) Create and activate a Python virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
3. Install dependencies
pip install --upgrade pip
pip install -r requirements.txt
4. Provide PubMed/NCBI credentials (needed for higher-rate access)
export PUBMED_EMAIL="your_email@example.com"
export NCBI_API_KEY="your_ncbi_api_key" # optional but recommended
5. Start the MCP server
python mcp_simple_pubmed/server.py # or: python -m mcp_simple_pubmed
6. Verify
Open http://localhost:8000/health or similar endpoint to ensure the service is running.
Documentation
License: MIT License
Updated 7/30/2025