biomcp
genomoncology · genomoncology/biomcp
CLI và MCP server cho phép agent tìm kiếm PubMed, ClinVar, ClinicalTrials.gov và hàng chục nguồn y sinh khác bằng một cú pháp lệnh thống nhất.
BioMCP: Biomedical Model Context Protocol
Xem trước
Bạn có thể làm gì với nó
- Tìm tài liệu y sinh và loại bỏ kết quả trùng lặp
- Tra cứu thông tin gen, biến thể hoặc thuốc từ nhiều nguồn
- Tìm các thử nghiệm lâm sàng liên quan đến một bệnh
Kiểm tra an toàn
Dùng được, nhưng nên đọc ghi chú trước.
- ●Trình cài đặt tải script từ xa và chạy thẳng bằng shell.
README.md
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
BioMCP
One binary. One grammar. Evidence from the biomedical sources you already trust.
Data terms
BioMCP retrieves data from upstream biomedical sources. Those sources' terms govern how you use the data they return: some restrict commercial or clinical use. Check each source's terms and obtain any licence you need before relying on the data. See Source Licensing and Terms for the per-source breakdown.
What is BioMCP?
BioMCP is one CLI binary over a single command grammar that reaches 70 trusted biomedical sources directly (PubMed, ClinVar, ClinicalTrials.gov, OncoKB, Reactome, and more; ten further sources arrive inside another source's answer). It is also an MCP (Model Context Protocol) server, so the same tools are available to AI agents such as Claude Code, Codex, and Claude Desktop.
BioMCP cuts through the usual biomedical data maze: one query reaches the sources that normally live behind different APIs, identifiers, and search habits. Researchers, clinicians, and agents use the same command grammar to search, focus, and pivot without rebuilding the workflow for each source. You get compact, evidence-oriented results across live public data plus local study analytics.
Features
- Search the literature:
search articlefans out across PubTator3 and Europe PMC, deduplicates PMID/PMCID/DOI identifiers, and can add a Semantic Scholar leg when your filters support it. - Pivot without rework: move from a gene, variant, drug, disease, pathway, protein, or article straight into the next built-in view instead of rebuilding filters by hand.
- Choose a playbook:
biomcp skill listshows shipped worked examples so you can open the matchingbiomcp skill <slug>workflow. - Analyze studies locally:
studycommands cover local query, cohort, survival, compare, and co-occurrence workflows with native terminal, SVG, and PNG charts for downloaded cBioPortal-style datasets. - Follow the paper trail:
article citations,article references,article recommendations, andarticle entitiesturn one known paper into a broader evidence map. - Enrich and batch: use
biomcp enrichfor top-level g:Profiler enrichment andbiomcp batchfor up to 10 focusedgetcalls in one command.
Quick start
First useful query in under 30 seconds:
uv tool install biomcp-cli
biomcp health --apis-only
biomcp skill list
biomcp list gene
biomcp search all --gene BRAF --disease melanoma # unified cross-entity discovery
biomcp get gene BRAF pathways hpa
Watch the introduction
A project using BioMCP won St. Jude's KIDS BioHackathon in 2025. The talk that followed is a one-hour introduction to BioMCP, recorded October 24, 2025.
Watch on YouTube · Read the write-up · Full transcript
Installation
Binary install
curl -fsSL https://biomcp.org/install.sh | bash
PyPI tool install
uv tool install biomcp-cli
# or: pip install biomcp-cli
PyPI package warning: install
biomcp-cli, notbiomcp. ThebiomcpPyPI package is unrelated to this project.
MCP Registry ownership marker: mcp-name: io.github.genomoncology/biomcp.
This installs the biomcp binary in ~/.local/bin. If that directory is not
already on PATH, the installer prints one command to add it; it never edits
your shell startup files.
Homebrew
brew tap genomoncology/biomcp
brew install biomcp
The separate genomoncology/homebrew-biomcp tap repository must exist before these commands can work.
Docker
docker run --rm ghcr.io/genomoncology/biomcp --version
docker run --rm ghcr.io/genomoncology/biomcp list
docker run --rm -i ghcr.io/genomoncology/biomcp serve
Use the GHCR image for quick CLI checks or stdio MCP clients without a local install.
Claude Code plugin
Install the biomcp binary first, then add the hosted plugin marketplace and
install the BioMCP plugin in Claude Code:
/plugin marketplace add genomoncology/biomcp
/plugin install biomcp@biomcp
The plugin wires Claude Code to the local stdio MCP server with biomcp serve.
For guided BioMCP workflows, also install the skill assets below.
Codex MCP server
Install the biomcp binary first, then register the same stdio MCP server with
Codex:
codex mcp add biomcp -- biomcp serve
Claude Desktop extension (.mcpb)
Install BioMCP from the Anthropic Directory in Claude Desktop when that path is available for your environment. For local/manual setups, use the JSON MCP config below.
Install skills
Install guided investigation workflows into your agent directory:
biomcp skill install ~/.claude --force
MCP clients
{
"mcpServers": {
"biomcp": {
"command": "biomcp",
"args": ["serve"]
}
}
}
Remote HTTP server
For shared or remote deployments:
biomcp serve-http --host 127.0.0.1 --port 8080
Remote clients connect to http://127.0.0.1:8080/mcp. Probe routes are
GET /health, GET /readyz, and GET /.
Runnable demo:
uv run --script examples/streamable-http/streamable_http_client.py
See Remote HTTP Server for the newcomer guide.
From source
make install
"$HOME/.local/bin/biomcp" --version
For repo-local verification, run the standard gates directly: make lint,
make test, and make spec. make test includes both Rust nextest and the
Python/docs contract lane, while make release-gate adds the named full-feature
proof and runs specs against the all-feature release binary.
There is no supported make check command. Use make verify only for opt-in
live public-upstream confidence; make release-live-smoke remains a
compatibility alias.