BioMCP: Biomedical Model Context Protocol Server¶
BioMCP is a specialized Model Context Protocol (MCP) server that connects AI assistants like Claude to biomedical data sources, including ClinicalTrials.gov, PubMed, and MyVariant.info.
Built and Maintained by
¶
Quick Start: Claude Desktop Setup¶
The fastest way to get started with BioMCP is to set it up with Claude Desktop:
-
Install Claude Desktop from Anthropic
-
Ensure
uv
is installed:
-
Configure Claude Desktop:
-
Open Claude Desktop settings
- Navigate to Developer section
- Click "Edit Config" and add:
{
"mcpServers": {
"biomcp": {
"command": "uv",
"args": ["run", "--with", "biomcp-python", "biomcp", "run"]
}
}
}
-
Save and restart Claude Desktop
-
Start chatting with Claude about biomedical topics!
For detailed setup instructions and examples, see our Claude Desktop Tutorial.
What is BioMCP?¶
BioMCP is a specialized MCP (Model Context Protocol) server that bridges the gap between AI systems and critical biomedical data sources. While Large Language Models (LLMs) like Claude have extensive general knowledge, they often lack real-time access to specialized databases needed for in-depth biomedical research.
Using the Model Context Protocol, BioMCP provides Claude and other AI assistants with structured, real-time access to:
- Clinical Trials - Searchable access to ClinicalTrials.gov for finding relevant studies
- Research Literature - Query PubMed/PubTator3 for the latest biomedical research
- Genomic Variants - Explore detailed genetic variant information from MyVariant.info
Through MCP, AI assistants can seamlessly invoke BioMCP tools during conversations, retrieving precise biomedical information without the user needing to understand complex query syntax or database-specific parameters.
MCP Tools and Capabilities¶
BioMCP exposes the following tools through the MCP interface:
Clinical Trial Tools¶
trial_searcher
: Search for trials by condition, intervention, location, phase, etc.trial_protocol
: Get detailed protocol information for specific trialstrial_locations
: Find where trials are conductedtrial_outcomes
: Access trial results and outcome datatrial_references
: Find publications related to specific trials
Literature Tools¶
article_searcher
: Find biomedical articles across multiple dimensionsarticle_details
: Retrieve detailed article content and metadata
Genomic Tools¶
variant_searcher
: Search for genetic variants with filtering optionsvariant_details
: Get comprehensive annotations for specific variants
Tutorials¶
- Claude Desktop Tutorial - Set up and use BioMCP with Claude Desktop
- MCP Inspector Tutorial - Test and debug BioMCP directly
- Python SDK Tutorial - Use BioMCP as a Python library
- MCP Client Tutorial - Integrate with MCP clients programmatically
Verification and Testing¶
The easiest way to test your BioMCP setup is with the MCP Inspector:
This launches a web interface where you can test each BioMCP tool directly. For detailed instructions, see the MCP Inspector Tutorial.
Additional Usage Options¶
While BioMCP is primarily designed as an MCP server for AI assistants, it can also be used in other ways:
Command Line Interface¶
BioMCP includes a comprehensive CLI for direct interaction with biomedical databases:
# Examples of CLI usage
biomcp trial search --condition "Melanoma" --phase PHASE3
biomcp article search --gene BRAF --disease Melanoma
biomcp variant search --gene TP53 --significance pathogenic
Python SDK¶
For programmatic access, BioMCP can be used as a Python library:
See the Python SDK Tutorial for code examples.
MCP Client Integration¶
For developers building MCP-compatible applications, BioMCP can be integrated using the MCP client libraries. See the MCP Client Tutorial for details.
License¶
BioMCP is licensed under the MIT License.