biomcp

MCP.Pizza Chef: genomoncology

BioMCP is an open-source MCP server that integrates AI assistants with authoritative biomedical data sources. It enables precise, natural language querying of clinical trials, scientific literature, and genomic variants, bridging the gap between general LLM knowledge and specialized biomedical information. BioMCP supports biomedical research and clinical decision-making by providing structured, up-to-date access to complex domain-specific data.

Use This MCP server To

Query clinical trial databases with natural language Access and summarize biomedical literature Retrieve genomic variant information for research Integrate biomedical data into AI-driven workflows Support clinical decision-making with up-to-date data Enable AI agents to answer specialized biomedical questions

README

BioMCP: Biomedical Model Context Protocol

BioMCP is an open source (MIT License) toolkit that empowers AI assistants and agents with specialized biomedical knowledge. Built following the Model Context Protocol (MCP), it connects AI systems to authoritative biomedical data sources, enabling them to answer questions about clinical trials, scientific literature, and genomic variants with precision and depth.

▶️ Watch the video

Why BioMCP?

While Large Language Models have broad general knowledge, they often lack specialized domain-specific information or access to up-to-date resources. BioMCP bridges this gap for biomedicine by:

  • Providing structured access to clinical trials, biomedical literature, and genomic variants
  • Enabling natural language queries to specialized databases without requiring knowledge of their specific syntax
  • Supporting biomedical research workflows through a consistent interface
  • Functioning as an MCP server for AI assistants and agents

Biomedical Data Sources

BioMCP integrates with three key biomedical data sources:

  • PubTator3/PubMed - Biomedical literature with entity annotations
  • ClinicalTrials.gov - Clinical trial registry and results database
  • MyVariant.info - Consolidated genetic variant annotation from multiple databases

Available MCP Tools

PubMed & PubTator3

  • article_searcher: Search for articles by genes, diseases, variants, or keywords
  • article_details: Get detailed article information including abstracts and full text

ClinicalTrials.gov

  • trial_searcher: Advanced trial search with filtering by condition, intervention, phase, etc.
  • trial_protocol: Detailed trial protocol information
  • trial_locations: Trial site locations and contact information
  • trial_outcomes: Results and outcome measures
  • trial_references: Related publications

MyVariant.info

  • variant_searcher: Search for genetic variants with sophisticated filtering
  • variant_details: Comprehensive annotations from multiple sources (CIViC, ClinVar, COSMIC, dbSNP, etc.)

Quick Start

For Claude Desktop Users

  1. Install uv if you don't have it (recommended):

    # MacOS
    brew install uv
    
    # Windows/Linux
    pip install uv
  2. 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"]
        }
      }
    }
    • Restart Claude Desktop and start chatting about biomedical topics!

Python Package Installation

# Using pip
pip install biomcp-python

# Using uv (recommended for faster installation)
uv pip install biomcp-python

# Run directly without installation
uv run --with biomcp-python biomcp trial search --condition "lung cancer"

Command Line Interface

BioMCP provides a comprehensive CLI for direct database interaction:

# Get help
biomcp --help

# Run the MCP server
biomcp run

# Examples
biomcp article search --gene BRAF --disease Melanoma
biomcp article get 21717063 --full
biomcp trial search --condition "Lung Cancer" --phase PHASE3
biomcp trial get NCT04280705 Protocol
biomcp variant search --gene TP53 --significance pathogenic
biomcp variant get rs113488022

Testing & Verification

Test your BioMCP setup with the MCP Inspector:

npx @modelcontextprotocol/inspector uv run --with biomcp-python biomcp run

This opens a web interface where you can explore and test all available tools.

Enterprise Version: OncoMCP

OncoMCP extends BioMCP with GenomOncology's enterprise-grade precision oncology platform (POP), providing:

  • HIPAA-Compliant Deployment: Secure on-premise options
  • Real-Time Trial Matching: Up-to-date status and arm-level matching
  • Healthcare Integration: Seamless EHR and data warehouse connectivity
  • Curated Knowledge Base: 15,000+ trials and FDA approvals
  • Sophisticated Patient Matching: Using integrated clinical and molecular profiles
  • Advanced NLP: Structured extraction from unstructured text
  • Comprehensive Biomarker Processing: Mutation and rule processing

Learn more: GenomOncology

MCP Registries

smithery badge

Documentation

For comprehensive documentation, visit https://biomcp.org

BioMCP Examples Repo

Looking to see BioMCP in action?

Check out the companion repository: 👉 biomcp-examples

It contains real prompts, AI-generated research briefs, and evaluation runs across different models. Use it to explore capabilities, compare outputs, or benchmark your own setup.

Have a cool example of your own? We’d love for you to contribute! Just fork the repo and submit a PR with your experiment.

License

This project is licensed under the MIT License.

biomcp FAQ

How does BioMCP handle updates to biomedical data sources?
BioMCP connects to authoritative, regularly updated biomedical databases ensuring AI models access current information from sources like clinical trials registries and genomic repositories.
Can BioMCP be integrated with multiple LLM providers?
Yes, BioMCP is provider-agnostic and works seamlessly with OpenAI, Anthropic Claude, and Google Gemini models.
What types of biomedical data does BioMCP support?
BioMCP supports clinical trials, scientific literature, and genomic variant data, providing structured access to these specialized domains.
Is BioMCP suitable for clinical decision support applications?
Yes, BioMCP provides precise, up-to-date biomedical data that can enhance clinical decision-making workflows.
How does BioMCP simplify querying complex biomedical databases?
It enables natural language queries without requiring users to know database-specific syntax or query languages.
What licensing governs BioMCP?
BioMCP is open source under the MIT License, allowing flexible use and integration in various projects.
Does BioMCP support real-time data access?
BioMCP provides real-time or near-real-time access to biomedical data sources, ensuring AI responses reflect the latest research and trials.
Can BioMCP be extended to include additional biomedical data sources?
Yes, its modular design allows adding new data sources to expand biomedical knowledge coverage.