A collection of Model Context Protocol (MCP) servers for biomedical research, providing AI assistants with access to various biomedical databases and resources.
The Model Context Protocol (MCP) allows AI assistants like Claude to access external tools and data sources. These servers extend Claude's capabilities by providing access to specific biomedical databases.
This repository contains the following MCP servers:
Access the PubMed database of biomedical literature.
- Search PubMed for articles matching a query
- Retrieve abstracts for specific articles
- Find related articles based on a PMID
- Search for articles by a specific author
Access preprints from bioRxiv and medRxiv repositories.
- Get detailed information about preprints by DOI
- Find published versions of preprints
- Search for recent preprints
- Search preprints by date range and category
Access information about clinical trials.
- Search for trials matching specific criteria
- Get detailed information about specific trials
- Find trials by medical condition
- Find trials by location
Access drug information from DrugBank.
- Search for drugs by name
- Get detailed information about specific drugs
- Find drugs by indication
- Find drugs by category
- Get drug interaction information
Access drug target information from Open Targets.
- Search for gene targets
- Get detailed target information
- Search for diseases
- Find disease-target associations
- Search for drugs
-
Install dependencies for all servers:
pip install -r requirements.txt
-
For specific servers, additional setup may be required:
- For PubMed: Update the
EMAIL
constant inpubmed_mcp.py
with your email address (required by NCBI) - For DrugBank: Add your DrugBank API key to the
API_KEY
constant indrugbank_mcp.py
- For PubMed: Update the
-
Run a server:
python pubmed_mcp.py # Replace with the server you want to run
To use these servers with Claude for Desktop:
-
Make sure you have the latest version of Claude for Desktop installed.
-
Edit your Claude for Desktop configuration file located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%AppData%\Claude\claude_desktop_config.json
- macOS:
-
Add server configurations:
{ "mcpServers": { "pubmed-mcp": { "command": "python", "args": [ "/ABSOLUTE/PATH/TO/pubmed_mcp.py" ] }, "biorxiv-mcp": { "command": "python", "args": [ "/ABSOLUTE/PATH/TO/bioarxiv_mcp.py" ] }, "clinicaltrials-mcp": { "command": "python", "args": [ "/ABSOLUTE/PATH/TO/clinicaltrialsgov_mcp.py" ] }, "drugbank-mcp": { "command": "python", "args": [ "/ABSOLUTE/PATH/TO/drugbank_mcp.py" ] }, "opentargets-mcp": { "command": "python", "args": [ "/ABSOLUTE/PATH/TO/opentargets_mcp.py" ] } } }
Replace
/ABSOLUTE/PATH/TO/
with the absolute path to each script on your system. -
Restart Claude for Desktop.
- "Find recent research on CRISPR therapy for cancer"
- "Get me the abstract for PMID 34567890"
- "What preprints were published last week on COVID-19?"
- "What clinical trials are currently recruiting for Alzheimer's disease?"
- "Find information about the drug metformin"
- "What targets are associated with Parkinson's disease?"
If you encounter issues:
- Check that you've properly configured the server
- Make sure you've restarted Claude for Desktop after updating the configuration
- Check Claude's logs for errors:
- macOS:
~/Library/Logs/Claude/mcp*.log
- Windows:
%APPDATA%\Claude\logs\mcp*.log
- macOS: