BioMCP-TS
v1.4.3Biomedical MCP server: genes, variants, trials, literature, patents, optional SQL/R/biowasm tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gene_search
Search for genes by symbol, name, or keyword
| Parameter | Type | Description |
|---|---|---|
query * | string | Gene symbol, name, or keyword to search for |
chromosome | string | Filter by chromosome (e.g., "7", "X") |
limit | integer | Maximum results |
offset | integer | Result offset |
gene_get
Get detailed gene information by symbol
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Official HGNC gene symbol (e.g., "BRAF", "TP53", "ERBB2"). Common aliases like "HER2" or "NEU" are NOT accepted unless smart=true is enabled. |
limit | integer | |
sections | array | Sections to include |
smart | boolean | When true, automatically resolves gene aliases and common names to the official HGNC symbol before lookup (e.g., "HER2" → "ERBB2"). Zero overhead when input is already a valid HGNC symbol. |
gene_diseases
Get diseases associated with a gene. Requires DISGENET_API_KEY environment variable for DisGeNET data; falls back to OpenTargets gene-disease associations when unavailable.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | HGNC gene symbol |
limit | integer |
gene_drugs
Find drugs targeting a gene
| Parameter | Type | Description |
|---|---|---|
symbol * | string | HGNC gene symbol (e.g., "BRAF", "TP53") |
gene_trials
Find clinical trials for a gene
| Parameter | Type | Description |
|---|---|---|
symbol * | string | HGNC gene symbol |
gene_articles
Find articles about a gene
| Parameter | Type | Description |
|---|---|---|
symbol * | string | HGNC gene symbol |
gene_enrich
Perform pathway enrichment analysis for a gene list
| Parameter | Type | Description |
|---|---|---|
genes * | array | List of HGNC gene symbols |
variant_search
Search for variants. Use structured parameters for best results: - rsid: e.g. query="rs113488022" - HGVS: e.g. query="NM_004333.4:c.1799T>A" - Gene filter: e.g. gene="BRAF" with hgvsp="V600E" or consequence="missense" - ClinVar significance: e.g. significance="pathogenic" Do NOT use compound free-text like "BRAF V600E" — use separate gene and hgvsp parameters instead.
| Parameter | Type | Description |
|---|---|---|
consequence | string | Variant consequence (e.g., missense, synonymous) |
gene | string | Filter by gene symbol (e.g., "BRAF"). Use together with hgvsp for protein change queries. |
hgvsc | string | cDNA change |
hgvsp | string | Protein change (e.g., V600E). Use with gene parameter for compound queries. |
limit | integer | Maximum results |
max_frequency | number | Maximum allele frequency (0-1) |
min_cadd | number | Minimum CADD score |
offset | integer | Result offset |
query | string | Variant query (rsid or HGVS notation). Avoid compound queries like "BRAF V600E" — use gene + hgvsp parameters instead. |
rsid | string | dbSNP rsID |
significance | string |
variant_get
Get detailed variant information with optional sections. Core data (id, gene, rsid, significance) is always returned at the top level. Use sections to request additional data.
| Parameter | Type | Description |
|---|---|---|
id * | string | Variant ID (rsid, HGVS, or ClinVar ID) |
limit | integer | |
sections | array | Sections to include: core, frequency, predictions, clinical, alphagenome_scores (currently unavailable — returns an error stub pending AlphaGenome gRPC reimplementation) |
variant_oncokb
Get OncoKB annotations for a variant in a cancer gene. Requires ONCOKB_TOKEN environment variable.
| Parameter | Type | Description |
|---|---|---|
gene * | string | Gene symbol (e.g., BRAF, EGFR) |
protein_change * | string | Protein change (e.g., V600E, L858R) |
variant_trials
Find clinical trials for a variant
| Parameter | Type | Description |
|---|---|---|
variant * | string | Variant ID (rsID, HGVS, or variant ID) |
drug_search
Search for drugs by name, mechanism, or keyword
| Parameter | Type | Description |
|---|---|---|
query * | string | Drug name, mechanism, or keyword to search |
limit | integer | Maximum results |
offset | integer | Result offset |
drug_get
Get detailed drug information by name
| Parameter | Type | Description |
|---|---|---|
name * | string | Drug name (e.g., "imatinib", "aspirin") |
limit | integer | |
sections | array | Sections to include (adverse_events = FDA FAERS adverse reactions ranked by report count; limit applies to reaction rows) |
drug_trials
Find clinical trials for a drug
| Parameter | Type | Description |
|---|---|---|
drug * | string | Drug name |
disease_search
Search for diseases by name, phenotype, or keyword
| Parameter | Type | Description |
|---|---|---|
query * | string | Disease name, phenotype, or keyword to search for |
limit | integer | Maximum results |
offset | integer | Result offset |
disease_get
Get detailed disease information by ID
| Parameter | Type | Description |
|---|---|---|
disease_id * | string | Disease ID (e.g., "DOID:0060268", "C0018794") |
limit | integer | |
sections | array | Sections to include |
disease_drugs
Get drugs for a disease via OpenTargets
| Parameter | Type | Description |
|---|---|---|
disease_id * | string | Disease ID |
limit | integer |
disease_trials
Get clinical trials for a disease
| Parameter | Type | Description |
|---|---|---|
disease_id * | string | Disease ID |
limit | integer |
article_search
Search literature across multiple backends with federated search and deduplication
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (title, abstract, or keyword). Journal scoping: PubMed matches full journal names and NLM abbreviations; EuropePMC JOURNAL:"..." filters require the NLM abbreviation (e.g. "N Engl J Med") |
dateRange | string | Date range as YYYY-MM-DD/YYYY-MM-DD. Open-ended: "2020-01-01/" or "/2023-12-31". Only pubmed, europepmc, semantic_scholar support this. |
limit | integer | Maximum results to return. Applied to final deduplicated results, not per-source. Each source may fetch more internally before deduplication. |
offset | integer | Result offset. EuropePMC windows are capped at 1000 rows; use narrower queries or another source for deeper results |
source | string | Specific source to search |
article_get
Get article by PMID/PMCID/DOI. Citation: fast mode (~4s, 4 providers, auto-fallback to PubMed) or full mode (~15-30s, all 5 providers incl. PubMed). Forward citation lists come from Europe PMC, Semantic Scholar, and OpenCitations; Crossref provides counts and references only.
| Parameter | Type | Description |
|---|---|---|
id * | string | Article identifier: PMID (numeric, e.g. "12345"), PMCID (e.g. "PMC1234567"), or DOI (e.g. "10.1038/s41586-021-03819-2") |
citation_direction | string | Citation direction: "forward" (articles citing this one), "backward" (references), "both" (default) |
citation_mode | string | Fast: Europe PMC, Semantic Scholar, OpenCitations, Crossref counts/references (~4s). Full: All 5 providers incl. PubMed (~15-30s). Fast mode auto-falls back to PubMed when other providers return no it… |
limit | integer | Maximum items per section (e.g., 20 citations) |
sections | array | Sections to include. Use ["citation"] for citation data, ["all"] for everything. |
trial_search
Search clinical trials by condition, intervention, or keyword
| Parameter | Type | Description |
|---|---|---|
query * | string | Condition, intervention, or keyword to search for |
intervention_type | string | Filter by intervention type (Drug, Device, etc.) |
limit | integer | Maximum results |
page_token | string | Page token from previous response for pagination |
phase | string | Filter by phase (Phase 1, Phase 2, etc.) |
status | string | Filter by status (Recruiting, Completed, etc.) |
trial_get
Get detailed trial information by NCT ID
| Parameter | Type | Description |
|---|---|---|
nct_id * | string | NCT ID (e.g., "NCT01234567") |
limit | integer | |
sections | array | Sections to include |
discover
Free-text concept resolution - find entities matching a free-text query
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text query (e.g., "BRAF V600E", "lung cancer", "imatinib") |
batch_get
Get multiple entities in parallel
| Parameter | Type | Description |
|---|---|---|
inputs * | array | List of entity requests |
pdb
Access the Protein Data Bank (RCSB PDB) for macromolecular structure data. SEARCH: Provide "query" to find structures (e.g., "kinase inhibitor", "hemoglobin"). GET: Provide "pdb_id" to retrieve entry metadata with optional detail sections. DOWNLOAD: Provide "pdb_id" + download=true to save the structure file and get the file path.
| Parameter | Type | Description |
|---|---|---|
download | boolean | Save the structure file to disk and return the file path. Only used with pdb_id. |
format | string | File format: "cif" (mmCIF, recommended, always available) or "pdb" (legacy format, may not exist for some entries). Only used with download=true. |
limit | integer | Max search results |
offset | integer | Search result offset |
pdb_id | string | PDB identifier (e.g., "1CRN", "4HHB"). Required for get/download. |
query | string | Free-text search query to find PDB entries. Omit pdb_id when searching. |
sections | array | Metadata sections: polymer_entities (chains and sequences), ligands (small molecules and ions), assembly (biological assembly), experiment (method, resolution), citation (publication). Use "all" for e… |
patent_search
Search patents worldwide (US, EP, WO, JP, and 100+ authorities). Quote exact multi-word concepts (e.g. "mRNA display") to avoid off-topic matches. Backend characters: ppubs = USPTO Public Search full-text conceptual search (US only, keyless, relevance-ranked; default US backend) | ops = EPO OPS worldwide bibliographic search over titles/abstracts (needs EPO_OPS_CONSUMER_KEY/EPO_OPS_CONSUMER_SECRET) | uspto_odp = US application metadata, bibliographic only but inventor/CPC/continuity-rich (needs USPTO_API_KEY) | google_patents = worldwide best-effort (often unavailable). Auto mode queries world…
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text query; quote exact multi-word concepts like "mRNA display" for precise matching |
assignee | string | Filter by assignee/applicant organization, e.g. "Moderna" |
cpc | string | Filter by CPC classification symbol (full symbol, e.g. "C12N15/11") |
date_range | string | Date range "YYYY-MM-DD/YYYY-MM-DD" (either side may be empty) |
inventor | string | Filter by inventor name |
limit | integer | Maximum results |
offset | integer | Result offset for pagination |
seminal | boolean | Discover foundational prior art via co-citation analysis of the top results (default: true; adds ~5-30s; set false for the fastest bibliographic lookups) |
sort_by | string | Result ranking: "relevance" (default, conceptual match ranking) or "recency" (newest first). Currently affects the ppubs backend only |
source | string | Force a specific backend |
status | string | Filter by grant status |
patent_get
Get patent details by publication number (e.g. "US11027025B2", "EP3904939B1", "US20260240819A1"). Sections: abstract, claims (US fulltext via USPTO Public Search; EP/WO via EPO OPS), citations (backward + forward), family, classifications.
| Parameter | Type | Description |
|---|---|---|
patent_id * | string | Publication number, e.g. "US11027025B2" |
limit | integer | Max entries per section array |
sections | array | Sections to include (default: core only) |
geo_search
Search NCBI GEO (Gene Expression Omnibus) for functional genomics studies — expression microarrays, RNA-seq, and other high-throughput sequencing series. Queries accept plain terms ("breast cancer RNA-seq", "melanoma single cell") or NCBI field syntax ("GSE183947[Accession]"). Each result carries cross-links for chaining: sra_project → sra_get, bioproject, pubmed_ids → article_get, and accession → geo_get for full details.
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text GEO search terms, e.g. "breast cancer RNA-seq", "melanoma single cell" |
entry_type | string | GEO entry type — gse=study (default), gsm=sample, gpl=platform, gds=curated dataset |
limit | integer | Maximum results |
offset | integer | Result offset for pagination |
organism | string | Filter by organism (e.g. "Homo sapiens", "Mus musculus") |
geo_get
Get the full SOFT record details for a GEO entry: series (GSE...), sample (GSM...), or platform (GPL...). A series detail includes summary, organisms, platform_ids, a sample preview, supplementary file URLs, and cross-references for chaining: sra → sra_get(SRP.../SRR...), pubmed_ids → article_get, samples → geo_get(GSM...), platform_ids → geo_get(GPL...). download=true additionally saves the first supplementary file (.gz/.csv/.txt, subject to max_bytes) to a local temp path and returns its path, size, and source URL.
| Parameter | Type | Description |
|---|---|---|
accession * | string | GEO accession (GSE series, GSM sample, or GPL platform; GDS curated DataSets return guidance pointing at the underlying GSE/GSM) |
download | boolean | Download the first supplementary file (.gz) to a local temp path |
max_bytes | integer | Size cap in bytes for the downloaded supplementary file (default 52428800 = 50 MB) |
sra_search
Search NCBI's Sequence Read Archive (SRA) for sequencing experiments and runs. The query may be free text, an accession (SRP study, SRX experiment, SRR run, SRS sample), or NCBI field syntax ("RNA-SEQ AND Homo sapiens[Organism]"). Results list experiment/study/sample accessions, organism, library strategy, run count, and first_run_accession for chaining into sra_get.
| Parameter | Type | Description |
|---|---|---|
query * | string | Free text or accession — SRP study, SRX experiment, SRR run, SRS sample, or terms like "RNA-SEQ AND Homo sapiens[Organism]" |
limit | integer | Maximum results |
offset | integer | Result offset for pagination |
sra_get
Get full details for an NCBI SRA accession: SRR run (instrument, spots, bases, size), SRX experiment (library design), SRP study (experiment list), or SRS sample. Chain from geo_get (sra field) or sra_search (experiment_accession / first_run_accession). European (ERP/ERR) and DDBJ (DRP/DRR) accessions are NOT indexed in NCBI SRA — use ENA (https://www.ebi.ac.uk/ena) for those.
| Parameter | Type | Description |
|---|---|---|
accession * | string | NCBI SRA accession: SRP (study), SRX (experiment), SRR (run), or SRS (sample), e.g. SRR14432476 |
genbank_search
Search NCBI nucleotide records (GenBank/RefSeq/INSDC). Queries may be plain terms, an accession, or NCBI field syntax ("TP53[Gene Name] AND Homo sapiens[Organism]", "BRCA1[Gene Name]"). Results include accession.version, definition, length_bp, organism, and topology — chain accessions into genbank_get or genbank_genes.
| Parameter | Type | Description |
|---|---|---|
query * | string | Nucleotide query, e.g. "TP53[Gene Name] AND Homo sapiens[Organism]" or an accession |
limit | integer | Maximum results |
offset | integer | Result offset for pagination |
organism | string | Filter by organism (e.g. "Homo sapiens") |
genbank_get
Fetch a GenBank/RefSeq nucleotide record as text (GenBank flat file or FASTA). Whole-record fetches are capped at 2,000,000 bp — larger records require a seq_start/seq_stop region (1-based, inclusive, up to 10 Mb span; set strand=2 for a reverse-strand slice where seq_start > seq_stop — the region field echoes the request as given, while NCBI's text shows complement(min..max)). Output guard: sequence_text is truncated to its first 200,000 characters when oversized — request a narrower region for the full text.
| Parameter | Type | Description |
|---|---|---|
accession * | string | GenBank/RefSeq accession, versioned or bare — NC_000023.11, NG_017013.2, KJ668569.2 |
format | string | Record format: genbank flat file (default) or fasta |
max_response_bytes | integer | Hard cap on the raw NCBI response in characters (default 30,000,000) — oversized responses error instead of truncating |
seq_start | integer | Region start (1-based, inclusive) — required with seq_stop for records over 2 Mb |
seq_stop | integer | Region stop (1-based, inclusive) |
strand | number | Strand: 1=plus (default), 2=minus (reverse slice; allows seq_start > seq_stop) |
genbank_genes
Map a GenBank/RefSeq nucleotide accession to its NCBI Gene IDs (elink nuccore→gene). The returned gene_ids are entrezgene IDs usable directly with MyGene-backed gene tools (gene_get, gene_search). Useful bridge from a sequence record to gene-level annotation.
| Parameter | Type | Description |
|---|---|---|
accession * | string | GenBank/RefSeq accession, versioned or bare — e.g. NG_017013.2, NC_000023.11 |
gtex_expression
Get median gene expression across GTEx tissues (GTEx Analysis v10, 54 tissue sites, TPM, sorted highest first). Accepts an HGNC symbol (TP53) or Ensembl gene ID (ENSG00000141510, versioned or bare). Optionally filter to a single tissue via its tissueSiteDetailId (e.g. Brain_Cortex, Whole_Blood).
| Parameter | Type | Description |
|---|---|---|
gene * | string | HGNC symbol (TP53) or Ensembl gene ID (ENSG00000141510, versioned or bare) |
limit | integer | Maximum tissues to return (highest expression first) |
tissue | string | GTEx tissueSiteDetailId filter, e.g. Brain_Cortex, Whole_Blood |
gtex_eqtl
Get significant cis-eQTL associations for a gene in a specific GTEx tissue (GTEx Analysis v10): variant_id, p_value, and NES (effect direction/size), sorted by ascending p-value. tissue is a required GTEx tissueSiteDetailId (e.g. Whole_Blood, Brain_Cortex).
| Parameter | Type | Description |
|---|---|---|
gene * | string | HGNC symbol (TP53) or Ensembl gene ID (ENSG00000141510, versioned or bare) |
tissue * | string | GTEx tissueSiteDetailId — required, e.g. Whole_Blood |
limit | integer | Maximum associations to return |
ensembl_lookup
Resolve a gene in Ensembl terms for ANY Ensembl species (356 available): stable ID (ENSG…), symbol↔ID mapping, versioned identifier, canonical transcript, and coordinates on the current assembly (GRCh38 human, GRCm39 mouse, …). With expand=true, returns all transcripts with translation/protein IDs. Accepts an HGNC symbol (BRAF) or Ensembl gene ID (ENSG00000157764, versioned or bare — versions are resolved to the current record). Species accepts scientific names or aliases ('homo_sapiens'/'human', 'mus_musculus'/'mouse'). For rich human gene annotation (summary, pathways, drugs, diseas…
| Parameter | Type | Description |
|---|---|---|
gene_or_id * | string | HGNC symbol (BRAF) or Ensembl gene ID (ENSG00000157764, versioned or bare) |
expand | boolean | Include all transcripts with translation/protein IDs |
species | string | Species name or alias — 'human' (default), 'mouse', 'mus_musculus', 'rat', … |
ensembl_homology
Find orthologues or paralogues of a gene across species (Ensembl Compara) — the cross-species gene mapping source in biomcp. Returns target stable IDs, species, taxonomy level, and percent identity, sorted by identity. Accepts an HGNC symbol or Ensembl gene ID; scope to one species with target_species ('mouse') or target_taxon (10090). Use it for conservation questions ('is this gene conserved?', 'what is the mouse orthologue of BRAF?').
| Parameter | Type | Description |
|---|---|---|
gene * | string | Gene symbol (BRAF) or Ensembl gene ID (ENSG00000157764) |
limit | integer | Maximum homologies to return (sorted by percent identity) |
species | string | Source species — 'human' (default), 'mouse', … |
target_species | string | Restrict results to one species, e.g. 'mouse' |
target_taxon | integer | Restrict results to a taxon ID, e.g. 10090 (Mus musculus) |
type | string | Homology type to fetch |
ensembl_consequence
Predict the functional consequence of a variant on demand via Ensembl VEP — works even for NOVEL variants absent from every database, and for non-human species. Input forms: HGVS c./p./g. notation ("NM_004333:c.1799T>A", "ENST00000288602:c.1799T>A") or a dbSNP rsID ("rs113488060"). Prefer HGVS over rsIDs when both are available — rsIDs are resolved through dbSNP's coordinate mapping, which can yield less specific consequences. Returns the most severe consequence plus per-transcript effects (impact, codon/amino-acid change, SIFT/PolyPhen where available) and co-located known variants (Clin…
| Parameter | Type | Description |
|---|---|---|
variant * | string | HGVS notation (NM_004333:c.1799T>A) or dbSNP rsID (rs113488060) |
limit | integer | Max transcript consequences returned (sorted by impact severity) |
species | string | Species — 'human' (default), 'mouse', … |
ensembl_region
Query what lives in a genomic interval on the current assembly (GRCh38 for human): genes/transcripts (stable IDs, symbols, biotypes) and known variants (rsIDs, alleles, consequence terms, clinical significance). Ideal for locus triage — "what genes and known variants sit in this GWAS hit interval?". Keep spans modest (<1 Mb recommended); output is capped at limit with a truncated marker. For sequence text use genbank_get; for entity-level annotation chain IDs into gene_get / variant_get.
| Parameter | Type | Description |
|---|---|---|
region * | string | Genomic region chr:start-end (1-based, GRCh38 for human) — e.g. 7:140450000-140480000 |
features | array | Feature types to include |
limit | integer | Maximum features returned |
species | string | Species — 'human' (default), 'mouse', … |
biomcp_configure
Inspect and configure biomcp — unified observability and restricted controllability for every parameter. **What it covers:** three optional feature groups (database, analysis_r, analysis_biowasm) whose knobs live in the .biomcp.json project config file (written by this tool, loaded at server startup — a restart applies changes), plus every environment-only parameter (API keys, proxy, security boundaries), which is query-only. **Actions:** - status (default; call with {}): per-feature running state (with each feature's settable_keys), config file health, conflicts (e.g. an env var vetoing…
| Parameter | Type | Description |
|---|---|---|
action | string | status = inspect (default, works with no other arguments); set = create/modify file parameters; reset = remove. |
confirm_sensitive | boolean | Required true when set/reset touches sensitive keys (connection targets, mirrors, credentials). |
dry_run | boolean | Validate and diff without writing (set/reset). |
filter | string | For status: "file" | "env" | feature id | dotted-id prefix — returns detailed rows (effects, how-to-set). |
target | For reset: a feature id ("database" | "analysis_r" | "analysis_biowasm") removes the whole section, or a list of dotted file-param ids removes those keys. | |
values | object | For set: {"<dotted file-param id>": <value|null>} — e.g. {"features.analysis_r.enabled": true}. null removes the key. Valid ids are listed by status. |