CLI Reference¶
BioMCP provides one command family with entity-oriented subcommands.
Global options¶
--json: return structured JSON output--no-cache: bypass HTTP cache for the current command
Core command patterns¶
Section names are positional trailing arguments after <id>.
Top-level commands¶
biomcp search ...
biomcp get ...
biomcp enrich <GENE1,GENE2,...> [--limit N]
biomcp batch <entity> <id1,id2,...> [--sections ...] [--source ...]
biomcp health [--apis-only]
biomcp list [entity]
biomcp skill [list|install|<name>]
biomcp mcp
biomcp serve
biomcp serve-http [--host 127.0.0.1] [--port 8080]
biomcp update [--check]
biomcp uninstall
biomcp version
Search command families¶
Gene¶
Disease¶
PGx¶
Phenotype (Monarch semsim)¶
GWAS¶
Article¶
Trial¶
Organization (NCI CTS)¶
Intervention (NCI CTS)¶
Biomarker (NCI CTS)¶
NCI vocabulary search commands require NCI_API_KEY.
Variant¶
Drug¶
Pathway¶
Protein¶
biomcp search protein -q kinase --limit 5 --offset 0
biomcp search protein -q kinase --all-species --limit 5
Adverse event¶
biomcp search adverse-event --drug pembrolizumab --serious --limit 5 --offset 0
biomcp search adverse-event --type device --manufacturer Medtronic --limit 5
biomcp search adverse-event --type device --product-code PQP --limit 5
Get command families¶
Gene¶
Disease¶
biomcp get disease melanoma
biomcp get disease MONDO:0005105 genes phenotypes
biomcp get disease MONDO:0005105 variants models
biomcp get disease MONDO:0005105 all
PGx¶
biomcp get pgx CYP2D6
biomcp get pgx codeine recommendations frequencies
biomcp get pgx warfarin annotations
Article¶
Trial¶
Variant¶
biomcp get variant "BRAF V600E"
biomcp get variant "BRAF V600E" predict
biomcp get variant rs7903146 gwas
Drug¶
Pathway¶
Protein¶
Adverse event¶
Enrichment¶
MCP mode¶
biomcp serveruns the stdio MCP server.biomcp serve-httpruns MCP over HTTP/SSE.
See also: docs/reference/mcp-server.md.
Helper command families¶
biomcp variant trials "BRAF V600E"
biomcp variant oncokb "BRAF V600E"
biomcp drug adverse-events pembrolizumab
biomcp disease drugs melanoma
biomcp gene pathways BRAF
biomcp pathway drugs R-HSA-5673001
biomcp protein structures P15056