Unofficial BioThings.io MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Unofficial BioThings.io MCP Server Show me annotation for gene BRCA1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.

Unofficial BioThings.io MCP Server
A Model Context Protocol (MCP) server that provides access to the BioThings.io ecosystem of APIs, including MyGene.info and MyVariant.info. This server enables seamless integration of comprehensive gene and variant annotation data into your workflows.
Developed by Augmented Nature
Overview
BioThings.io provides high-performance APIs for biological data:
MyGene.info: Gene annotation service with 11M+ requests/month, covering 22M+ genes across 22K+ species
MyVariant.info: Variant annotation service with 5M+ requests/month, covering 400M+ human variants
Related MCP server: Ensembl MCP Server
Features
Core Gene Tools
get_gene_annotation: Retrieve detailed gene annotation by Entrez or Ensembl ID
query_genes: Search genes using flexible syntax (symbols, names, genomic intervals, etc.)
batch_gene_query: Process up to 1000 genes efficiently in a single request
Core Variant Tools
get_variant_annotation: Retrieve variant annotation by HGVS ID
query_variants: Search variants using genomic ranges, rsIDs, gene names, and filters
batch_variant_query: Process up to 1000 variants efficiently in a single request
Advanced Gene Tools
search_genes_by_pathway: Search genes by pathway (KEGG, Reactome, BioCarta, etc.)
search_genes_by_go_term: Search genes by Gene Ontology terms (biological process, molecular function, cellular component)
get_gene_orthologs: Find orthologous genes across species using HomoloGene
search_drug_target_genes: Search for genes that are drug targets using PharmGKB annotations
get_genomic_interval_genes: Get all genes within a specific genomic interval
Advanced Variant Tools
search_variants_by_gene: Find all variants in or near a specific gene
search_pathogenic_variants: Search for pathogenic or likely pathogenic variants with clinical annotations
search_variants_by_population_frequency: Search variants by population frequency thresholds
Utility Tools
get_gene_metadata: Retrieve MyGene.info API metadata and available fields
get_variant_metadata: Retrieve MyVariant.info API metadata and available fields
get_gene_fields: Get all available fields for gene annotation with descriptions
get_variant_fields: Get all available fields for variant annotation with descriptions
Installation
The server has been built and configured in your MCP settings
No API keys required - BioThings APIs are freely accessible
The server will automatically start when you use MCP tools
Usage
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"biothings": {
"command": "node",
"args": ["/path/to/biothings-server/build/index.js"]
}
}
}Example Queries
Get gene annotation for CDK2:
Get detailed information about gene CDK2 using get_gene_annotationSearch for insulin-related genes:
Search for genes related to insulin using query_genesFind genes in cell cycle pathway:
Find genes involved in cell cycle using search_genes_by_pathwaySearch genes by GO term:
Find genes involved in apoptosis using search_genes_by_go_termGet variant annotation:
Get annotation for variant chr7:g.55241707G>T using get_variant_annotationSearch variants by rsID:
Find variant information for rs58991260 using query_variantsBatch process multiple genes:
Get annotations for genes CDK2, TP53, and BRCA1 using batch_gene_queryFind pathogenic variants:
Search for pathogenic variants in BRCA1 and BRCA2 genes using search_pathogenic_variantsGet gene orthologs:
Find mouse and rat orthologs for human TP53 gene using get_gene_orthologsSearch drug target genes:
Find genes that are targets for aspirin using search_drug_target_genes
Query Syntax
Gene Queries
Simple:
CDK2,insulin receptorFielded:
symbol:TP53,entrezgene:1017,summary:diabetesGenomic:
chr1:1000000-2000000Boolean:
(CDK2 OR CDK4) AND humanWildcards:
CDK*,IL?R
Variant Queries
rsID:
rs58991260Genomic range:
chr1:69000-70000Gene-based:
dbnsfp.genename:BRCA1Functional:
cadd.phred:>20Clinical:
clinvar.clinical_significance:pathogenic
Available Fields
Gene Fields (Examples)
symbol,name,summary- Basic gene informationgo.BP,go.MF,go.CC- Gene Ontology termspathway.kegg,pathway.reactome- Pathway informationrefseq.rna,refseq.protein- RefSeq identifiersensembl.gene,ensembl.transcript- Ensembl identifiers
Variant Fields (Examples)
cadd.phred,cadd.raw- CADD scoresdbnsfp.genename,dbnsfp.aa.alt- dbNSFP annotationsclinvar.clinical_significance- ClinVar classificationsdbsnp.rsid,dbsnp.vartype- dbSNP informationexac.af,gnomad.af- Population frequencies
Species Support
Common Species Names
human,mouse,rat,fruitfly,nematode,zebrafish,thale-cress,frog,pig
Taxonomy IDs
Human:
9606Mouse:
10090Rat:
10116
Error Handling
The server provides comprehensive error handling:
Invalid parameters: Clear validation messages
API errors: Detailed HTTP status and error information
Not found: Graceful handling of missing genes/variants
Rate limiting: Automatic retry logic for temporary failures
Data Sources
MyGene.info (32+ sources)
NCBI Gene, Ensembl, UniProt, GO, KEGG, Reactome, PharmGKB, and more
MyVariant.info (19+ sources)
dbSNP, ClinVar, CADD, dbNSFP, ExAC, gnomAD, COSMIC, and more
Performance
High throughput: APIs handle millions of requests monthly
Batch processing: Up to 1000 items per request
Caching: Responses are cached for optimal performance
Pagination: Support for large result sets
Available Tools
18 toolsbatch_gene_queryB
Retrieve annotations for multiple genes efficiently (up to 1000 genes)
Inputs: gene_ids (required), fields, species.
batch_variant_queryC
Retrieve annotations for multiple variants efficiently (up to 1000 variants)
Inputs: variant_ids (required), fields.
get_gene_annotationC
Retrieve comprehensive gene annotation by Entrez or Ensembl gene ID
Inputs: gene_id (required), fields, species.
get_gene_fieldsB
Get all available fields for gene annotation with descriptions
Inputs: no named parameters.
get_gene_metadataC
Get metadata about MyGene.info API including available fields and data sources
Inputs: no named parameters.
get_gene_orthologsC
Find orthologous genes across species using HomoloGene
Inputs: gene_id (required), fields, target_species.
get_genomic_interval_genesB
Get all genes within a specific genomic interval with detailed annotations
Inputs: end (required), start (required), chromosome (required), fields, +2 more.
get_variant_annotationC
Retrieve comprehensive variant annotation by HGVS ID
Inputs: variant_id (required), fields.
get_variant_fieldsA
Get all available fields for variant annotation with descriptions
Inputs: no named parameters.
get_variant_metadataC
Get metadata about MyVariant.info API including available fields and data sources
Inputs: no named parameters.
query_genesC
Search genes using flexible query syntax including symbols, names, genomic intervals, and more
Inputs: q (required), from, size, sort, +3 more.
query_variantsC
Search variants using genomic ranges, rsIDs, gene names, and other criteria
Inputs: q (required), from, size, sort, +2 more.
search_drug_target_genesC
Search for genes that are drug targets using PharmGKB annotations
Inputs: drug_name (required), size, species, interaction_type.
search_genes_by_go_termC
Search genes by Gene Ontology terms (biological process, molecular function, cellular component)
Inputs: go_term (required), size, species, go_category.
search_genes_by_pathwayC
Search genes by pathway (KEGG, Reactome, BioCarta, etc.)
Inputs: pathway_name (required), size, species, pathway_source.
search_pathogenic_variantsC
Search for pathogenic or likely pathogenic variants with clinical annotations
Inputs: size, gene_list, disease_terms, cadd_threshold.
search_variants_by_geneC
Find all variants in or near a specific gene
Inputs: gene_symbol (required), size, variant_types, clinical_significance.
search_variants_by_population_frequencyC
Search variants by population frequency thresholds (rare, common, etc.)
Inputs: size, population, frequency_source, functional_impact, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
The gene vs. variant split is clear and most tools target a distinct action+resource. However, get_gene_metadata vs. get_gene_fields (and their variant counterparts) overlap heavily since both describe available fields/data sources, and query_genes overlaps with the specialized searches like get_genomic_interval_genes and search_pathogenic_variants, which could lead to misselection.
Most names follow a verb_noun pattern (get_gene_annotation, query_genes, search_genes_by_pathway, batch_variant_query). Minor deviations exist, notably batch_gene_query (noun before verb, unlike query_genes) and get_genomic_interval_genes where the resource noun trails the qualifier, but the conventions remain readable and predictable.
18 tools is on the higher side but justified by a symmetric gene/variant structure (annotation, query, batch, metadata, fields for each of MyGene and MyVariant). The specialized search tools add value rather than pure duplication, though a few could be folded into the general query tools.
Lifecycle coverage is strong: metadata, field discovery, single and batch annotation, flexible queries, plus pathway, GO, ortholog, drug-target, interval, and clinical-frequency searches. Gaps are minor — no variant-side equivalents for orthologs or drug-target searches, and no explicit cross-API gene-to-variant aggregation beyond search_variants_by_gene.
Maintenance
Related MCP Connectors
Connect AI clients to biomedical data and tools.
Link compounds to protein targets, rank bioactivity, and look up drug mechanisms and indications.
Look up genes, sequences, variants, homologs, and cross-database xrefs from Ensembl REST.
Query STRING interactions, enrichment, annotations, homology, and PPI networks.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive access to the UCSC Genome Browser API, enabling queries of genomic data, DNA sequences, gene annotations, variants, and metadata across multiple species and assemblies.127MIT
- AlicenseBqualityDmaintenanceProvides access to the Ensembl genomics REST API with 30+ tools for genomic data including gene lookup, sequence retrieval, genetic variants, cross-species homology, phenotypes, and regulatory features.25ISC
- AlicenseCqualityDmaintenanceEnables AI assistants to query gene annotations, expression, pathways, variants, and more via the MyGene.info API, supporting batch operations and multiple biological data sources.26MIT
- AlicenseAqualityDmaintenanceProvides a Model Context Protocol server for accessing and querying biomedical data from BioThings services, including gene, variant, chemical, and taxon annotations.1937MIT