Unofficial BioThings.io MCP Server
Provides access to BioThings.io APIs for comprehensive gene and variant annotations, enabling seamless integration of biological data into workflows.
README

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
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_annotation -
Search for insulin-related genes:
Search for genes related to insulin using query_genes -
Find genes in cell cycle pathway:
Find genes involved in cell cycle using search_genes_by_pathway -
Search genes by GO term:
Find genes involved in apoptosis using search_genes_by_go_term -
Get variant annotation:
Get annotation for variant chr7:g.55241707G>T using get_variant_annotation -
Search variants by rsID:
Find variant information for rs58991260 using query_variants -
Batch process multiple genes:
Get annotations for genes CDK2, TP53, and BRCA1 using batch_gene_query -
Find pathogenic variants:
Search for pathogenic variants in BRCA1 and BRCA2 genes using search_pathogenic_variants -
Get gene orthologs:
Find mouse and rat orthologs for human TP53 gene using get_gene_orthologs -
Search drug target genes:
Find genes that are targets for aspirin using search_drug_target_genes
Query Syntax
Gene Queries
- Simple:
CDK2,insulin receptor - Fielded:
symbol:TP53,entrezgene:1017,summary:diabetes - Genomic:
chr1:1000000-2000000 - Boolean:
(CDK2 OR CDK4) AND human - Wildcards:
CDK*,IL?R
Variant Queries
- rsID:
rs58991260 - Genomic range:
chr1:69000-70000 - Gene-based:
dbnsfp.genename:BRCA1 - Functional:
cadd.phred:>20 - Clinical:
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:
9606 - Mouse:
10090 - Rat:
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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。