taehojo/alphagenome-mcp
If you are the rightful owner of alphagenome-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The AlphaGenome MCP Server is a proof-of-concept implementation designed to demonstrate the potential of AI-powered genomic variant analysis using mock data. It is prepared for integration with the real AlphaGenome API from Google DeepMind once it becomes publicly available.
AlphaGenome MCP Server
A Model Context Protocol (MCP) server that provides natural language access to Google DeepMind's AlphaGenome variant effect prediction API.
νκ΅μ΄ μμ½: Google DeepMind AlphaGenome APIλ₯Ό MCP ν΄λΌμ΄μΈνΈ(Claude Desktop, Claude Code, Gemini CLI, Cursor, Windsurf λ±)μμ μμ°μ΄λ‘ μ¬μ©ν μ μκ² ν΄μ£Όλ MCP μλ²μ λλ€. μ μ 체 λ³μ΄μ μ‘°μ ν¨κ³Ό, λ³μμ±, μ‘°μ§λ³ μν₯μ λΆμν μ μμ΅λλ€. νκ΅μ΄ μ 체 λ¬Έμ 보기
Overview
AlphaGenome MCP Server provides a natural language interface to Google DeepMind's AlphaGenome variant effect prediction API. Query genomic variants using plain English instead of writing Python code, designed for exploratory analysis and rapid prototyping.
Key Features:
- Natural Language Interface: Query variants using plain English instead of writing code
- Wrapper Architecture: 20 specialized tools built as wrappers around a single API endpoint
- Comprehensive Analysis: Access all AlphaGenome modalities (RNA-seq, ChIP-seq, ATAC-seq, splicing, etc.)
- Research Tool: Designed for exploratory genomics research and variant prioritization
β‘ Quick Start
Get started in 3 minutes:
-
Install dependencies
pip install alphagenome numpy
-
Add to your MCP client (supports Claude Desktop, Claude Code, Gemini CLI, Cursor, Windsurf)
claude mcp add alphagenome -- npx -y @jolab/alphagenome-mcp@latest --api-key YOUR_API_KEY
See Installation for other MCP clients.
-
Run your first query
Restart your MCP client and try:
"Use alphagenome to analyze chr19:44908684T>C"
-
View results (takes 30-60 seconds)
You'll get a detailed report with pathogenicity scores, expression impacts, and splicing effects.
Want more? Check out 20 specialized tools below.
Architecture
System Design
AlphaGenome MCP Server implements a multi-tier architecture:
βββββββββββββββββββββββββββ
β Researcher β
βββββββββββββ¬ββββββββββββββ
β Natural language query
β
βββββββββββββββββββββββββββ
β Claude Desktop β β MCP Client
βββββββββββββ¬ββββββββββββββ
β JSON-RPC over stdio
β
βββββββββββββββββββββββββββ
β MCP Server (TypeScript)β β Tool routing, validation
βββββββββββββ¬ββββββββββββββ
β subprocess
β
βββββββββββββββββββββββββββ
β Python Bridge β β Interface to AlphaGenome SDK
βββββββββββββ¬ββββββββββββββ
β HTTP
β
βββββββββββββββββββββββββββ
β AlphaGenome API β β Google DeepMind's service
βββββββββββββββββββββββββββ
Wrapper Pattern
All 20 tools are lightweight wrappers around the same predict_variant()
API endpoint. They differ only in parameter configuration and output formatting:
# Same underlying API call
predict_variant(variant, interval, ontology_terms, requested_outputs)
# Different wrappers provide specialized views:
- assess_pathogenicity() β Clinical scoring
- predict_tf_binding_impact() β TF binding only
- compare_variants() β Side-by-side comparison
- generate_variant_report() β Formatted report
Benefits of Wrapper Architecture:
- Single API implementation serves 20 different functions
- Specialized outputs through parameter configuration
- Easy maintenance (update once, all tools benefit)
- Consistent interface across all tools
Input Validation
All inputs undergo validation before API submission:
- Chromosomes: Pattern-matched for chr1-22, chrX, chrY
- Positions: Validated as positive integers
- Alleles: A/T/G/C nucleotide validation
- Tissue types: UBERON ontology term validation
Invalid inputs return human-readable error messages, enabling conversational error recovery.
Available Tools
Core Analysis
predict_variant_effect
Full regulatory impact prediction across all 11 modalities.
"Use alphagenome to analyze chr19:44908684T>C"
assess_pathogenicity
Clinical pathogenicity scoring with evidence breakdown.
"Use alphagenome to assess the pathogenicity of rs429358"
Result: Pathogenic (score: 1.0)
with expression, splicing, and TF binding evidence.
Tissue-Specific Analysis
predict_tissue_specific
Compare variant effects across multiple tissues.
"Use alphagenome to compare rs429358 effects in brain and liver"
Result: Tissue-differential expression (brain: -0.23%, liver: +0.07%)
batch_tissue_comparison
Multi-variant Γ multi-tissue analysis.
"Use alphagenome to test 5 variants in brain, liver, and heart"
Variant Comparison
compare_variants
Direct side-by-side comparison.
"Use alphagenome to compare APOE Ξ΅4 (rs429358) vs Ξ΅2 (rs7412)"
compare_alleles
Compare different mutations at the same position.
"Use alphagenome to compare T>C, T>G, T>A at chr19:44908684"
compare_protective_risk
Compare protective vs risk alleles.
"Use alphagenome to compare APOE protective vs risk alleles"
compare_variants_same_gene
Rank variants within a gene.
"Use alphagenome to compare these 5 BRCA1 variants"
Modality-Specific Analysis
predict_splice_impact
Splicing effects only.
"Use alphagenome to analyze splicing impact of chr6:41129252C>T"
predict_expression_impact
Gene expression changes only.
"Use alphagenome to show expression impact of rs744373"
predict_tf_binding_impact
Transcription factor binding changes.
"Use alphagenome to show TF binding changes for rs429358"
predict_chromatin_impact
Chromatin accessibility changes.
"Use alphagenome to analyze chromatin impact of rs429358"
batch_modality_screen
Screen variants for specific effects.
"Use alphagenome to screen 20 variants for splicing effects"
Multiple Variant Processing
batch_score_variants
Rank multiple variants by regulatory impact.
"Use alphagenome to score these AD variants: rs429358, rs7412, rs75932628"
analyze_gwas_locus
Fine-mapping and causal variant identification.
"Use alphagenome to analyze GWAS locus with 10 variants"
batch_pathogenicity_filter
Filter variants by pathogenicity threshold.
"Use alphagenome to filter these 100 variants for pathogenicity > 0.7"
Regulatory Annotation
annotate_regulatory_context
Comprehensive regulatory context.
"Use alphagenome to annotate regulatory context of rs429358"
predict_allele_specific_effects
Allele-specific regulatory effects.
"Use alphagenome to show allele-specific effects for rs429358"
Clinical Reporting
generate_variant_report
Comprehensive clinical report.
"Use alphagenome to generate a clinical report for rs429358"
explain_variant_impact
Human-readable explanation.
"Use alphagenome to explain the impact of rs429358 in simple terms"
Installation
Requirements
- Node.js β₯18.0.0
- Python β₯3.8
- AlphaGenome API key from Google DeepMind
- Python packages:
alphagenome
,numpy
Setup
1. Install Python dependencies:
pip install alphagenome numpy
2. Configure for your MCP client:
Claude Desktop
Recommended method:
claude mcp add alphagenome -- npx -y @jolab/alphagenome-mcp@latest --api-key YOUR_API_KEY
Or manually add to ~/.config/claude/claude_desktop_config.json
:
{
"mcpServers": {
"alphagenome": {
"command": "npx",
"args": ["-y", "@jolab/alphagenome-mcp@latest", "--api-key", "YOUR_API_KEY"]
}
}
}
Test:
"Use alphagenome to analyze chr19:44908684T>C"
Claude Code
Add to ~/.config/claude/claude_code_config.json
:
{
"mcpServers": {
"alphagenome": {
"command": "npx",
"args": ["-y", "@jolab/alphagenome-mcp@latest", "--api-key", "YOUR_API_KEY"]
}
}
}
Test:
"Use alphagenome to analyze chr19:44908684T>C"
Gemini CLI
Add to ~/.gemini/settings.json
:
{
"mcpServers": {
"alphagenome": {
"command": "npx",
"args": ["-y", "@jolab/alphagenome-mcp@latest", "--api-key", "YOUR_API_KEY"]
}
}
}
Test:
"Use alphagenome to analyze chr19:44908684T>C"
Cursor
Add to .cursor/mcp.json
in your project root:
{
"mcpServers": {
"alphagenome": {
"command": "npx",
"args": ["-y", "@jolab/alphagenome-mcp@latest", "--api-key", "YOUR_API_KEY"]
}
}
}
Test:
"Use alphagenome to analyze chr19:44908684T>C"
Windsurf
Add to your Windsurf settings JSON:
{
"mcpServers": {
"alphagenome": {
"command": "npx",
"args": ["-y", "@jolab/alphagenome-mcp@latest", "--api-key", "YOUR_API_KEY"]
}
}
}
Test:
"Use alphagenome to analyze chr19:44908684T>C"
Verification
Expected: Detailed regulatory impact report within 30-60 seconds.
Important: Always include "use alphagenome" in queries to explicitly invoke the server.
Usage Examples
All examples show actual API results from tests with Alzheimer's disease variants.
Pathogenicity Assessment
User: "Use alphagenome to assess the pathogenicity of rs429358"
Result:
{
"variant": "chr19:44908684T>C",
"classification": "PATHOGENIC",
"pathogenicity_score": 1.0,
"evidence": {
"expression_impact": 0.0023,
"splicing_impact": 0.0263,
"tf_binding_impact": 24.0
},
"recommendation": "Further clinical evaluation recommended"
}
Tissue-Specific Analysis
User: "Use alphagenome to compare rs429358 effects in brain and liver"
Result:
{
"variant": "chr19:44908684T>C",
"tissue_results": {
"brain": {
"expression_impact": -0.0023,
"impact_level": "high"
},
"liver": {
"expression_impact": 0.0007,
"impact_level": "high"
}
}
}
Interpretation: Tissue-differential effects. Brain shows downregulation (-0.23%) while liver shows upregulation (+0.07%).
Variant Comparison
User: "Use alphagenome to compare APOE Ξ΅4 (rs429358) vs Ξ΅2 (rs7412)"
Result:
{
"variant1": {
"id": "chr19:44908684T>C",
"impact": "high",
"expression_fc": -0.0023
},
"variant2": {
"id": "chr19:44908822C>T",
"impact": "high",
"expression_fc": 0.0012
},
"comparison": {
"more_severe": "chr19:44908684T>C"
}
}
TF Binding Analysis
User: "Use alphagenome to show TF binding changes for rs429358"
Result:
{
"variant": "chr19:44908684T>C",
"tf_binding": [{
"change": 24.0
}],
"impact_level": "high"
}
Allele Comparison
User: "Use alphagenome to compare T>C, T>G, T>A at chr19:44908684"
Result:
{
"position": "chr19:44908684",
"allele_comparisons": {
"T>C": { "expression_fc": -0.0023, "impact": "high" },
"T>G": { "expression_fc": -0.0038, "impact": "high" },
"T>A": { "expression_fc": 0.0035, "impact": "high" }
}
}
Interpretation: All three alternative alleles show high regulatory impact with varying expression effects.
Clinical Report
User: "Use alphagenome to generate a clinical report for rs429358"
Result:
VARIANT REPORT: chr19:44908684T>C (rs429358)
Classification: PATHOGENIC
Pathogenicity Score: 1.0
Evidence Summary:
- Expression Impact: 0.0023 (fold change)
- Splicing Impact: 0.0263 (delta score)
- TF Binding Impact: 24.0 (change score)
Recommendation: Further clinical evaluation recommended
Performance
- First call: 30-60 seconds (initialization), subsequent calls: 8-15 seconds per variant
- Modalities: 11 (RNA-seq, CAGE, PRO-cap, splice sites, DNase, ATAC, histone mods, TF binding, contact maps)
Development
Build from Source
git clone https://github.com/taehojo/alphagenome-mcp.git
cd alphagenome-mcp
npm install
pip install -r requirements.txt
npm run build
Project Structure
src/
βββ index.ts # MCP server entry point
βββ alphagenome-client.ts # API client (Python bridge)
βββ tools.ts # MCP tool definitions
βββ types.ts # TypeScript type definitions
βββ utils/
βββ validation.ts # Input validation (Zod schemas)
βββ formatting.ts # Output formatting
scripts/
βββ alphagenome_bridge.py # Python bridge to AlphaGenome SDK
Testing
npm run lint # ESLint check
npm run typecheck # TypeScript type checking
npm run build # Compile to build/
Citation
If you use this software in your research, please cite:
@software{jo2025alphagenome_mcp,
author = {Jo, Taeho},
title = {AlphaGenome MCP Server},
year = {2025},
url = {https://github.com/taehojo/alphagenome-mcp},
version = {0.2.0}
}
AlphaGenome model:
@article{avsec2025alphagenome,
title = {AlphaGenome: advancing regulatory variant effect prediction with a unified DNA sequence model},
author = {Avsec, Ε½iga and Latysheva, Natasha and Cheng, Jun and others},
journal = {bioRxiv},
year = {2025}
}
Acknowledgments
- Google DeepMind for developing and providing access to the AlphaGenome API
- Anthropic for developing the Model Context Protocol specification and Claude Desktop
License
MIT License - Copyright (c) 2025 Taeho Jo
See file for details.
Links
- npm Package: https://www.npmjs.com/package/@jolab/alphagenome-mcp
- GitHub Repository: https://github.com/taehojo/alphagenome-mcp
- AlphaGenome: https://deepmind.google/discover/blog/alphagenome/
- Model Context Protocol: https://modelcontextprotocol.io/
- Claude Desktop: https://claude.ai/download
AlphaGenome MCP μλ²
Google DeepMindμ AlphaGenomeμ μμ°μ΄λ‘ μ¬μ©ν μ μκ² ν΄μ£Όλ MCP μλ²
κ°μ
μ μ 체 λ³μ΄(genomic variant)μ μ‘°μ ν¨κ³Όλ₯Ό AIλ‘ μμΈ‘νλ AlphaGenome APIλ₯Ό MCP ν΄λΌμ΄μΈνΈ(Claude Desktop, Claude Code, Gemini CLI, Cursor, Windsurf λ±)μμ μμ°μ΄λ‘ μ¬μ©ν μ μμ΅λλ€. Python μ½λλ₯Ό μμ±νμ§ μκ³ νλ²ν νκ΅μ΄λ μμ΄λ‘ λ³μ΄λ₯Ό λΆμν μ μμΌλ©°, νμμ λΆμκ³Ό λΉ λ₯Έ νλ‘ν νμ΄νμ μ΅μ νλμ΄ μμ΅λλ€.
μ£Όμ κΈ°λ₯
- 𧬠λ³μ΄ ν¨κ³Ό μμΈ‘: 11κ°μ§ λΆμ μμ(RNA-seq, ChIP-seq, ATAC-seq, μ€νλΌμ΄μ± λ±)μμ μ‘°μ μν₯ λΆμ
- π₯ λ³μμ± νκ°: μμ μ μ μ°μΆ λ° νν°λ§
- π¬ μ‘°μ§λ³ λΆμ: λ, κ°, μ¬μ₯ λ± μ¬λ¬ μ‘°μ§μμμ ν¨κ³Ό νλ‘νμΌλ§
- π λ°°μΉ μ²λ¦¬: λμ©λ λ³μ΄ μ°μ μμ μ§μ
- π¬ μμ°μ΄ μΈν°νμ΄μ€: μ½λ© μμ΄ rsIDλ μΌμ체 μ’νλ‘ μΏΌλ¦¬
- π§ 20κ°μ§ μ λ¬Έ λꡬ: λ¨μΌ APIλ₯Ό κ°μΈλ λνΌ μν€ν μ²
β‘ λΉ λ₯Έ μμ
3λΆ μμ μμνκΈ°:
-
Python ν¨ν€μ§ μ€μΉ
pip install alphagenome numpy
-
MCP ν΄λΌμ΄μΈνΈμ μΆκ° (Claude Desktop, Claude Code, Gemini CLI, Cursor, Windsurf μ§μ)
claude mcp add alphagenome -- npx -y @jolab/alphagenome-mcp@latest --api-key YOUR_API_KEY
λ€λ₯Έ MCP ν΄λΌμ΄μΈνΈλ μ€μΉ λ°©λ² μ°Έκ³
-
첫 λ²μ§Έ 쿼리 μ€ν
MCP ν΄λΌμ΄μΈνΈλ₯Ό μ¬μμνκ³ λ€μμ μλνμΈμ:
"Use alphagenome to analyze chr19:44908684T>C"
λλ νκ΅μ΄λ‘:
"alphagenomeμ μ¬μ©ν΄μ chr19:44908684T>Cλ₯Ό λΆμν΄μ€"
-
κ²°κ³Ό νμΈ (30-60μ΄ μμ)
λ³μμ± μ μ, λ°ν μν₯, μ€νλΌμ΄μ± ν¨κ³Όκ° ν¬ν¨λ μμΈ λ³΄κ³ μκ° μμ±λ©λλ€.
λ μμ보기: 20κ°μ§ μ λ¬Έ λꡬ νμΈ
μμ€ν ꡬ쑰
βββββββββββββββββββββββββββ
β μ°κ΅¬μ β
βββββββββββββ¬ββββββββββββββ
β μμ°μ΄ 쿼리
β
βββββββββββββββββββββββββββ
β Claude Desktop β β MCP ν΄λΌμ΄μΈνΈ
βββββββββββββ¬ββββββββββββββ
β JSON-RPC (stdio)
β
βββββββββββββββββββββββββββ
β MCP μλ² (TypeScript) β β λꡬ λΌμ°ν
, κ²μ¦
βββββββββββββ¬ββββββββββββββ
β subprocess
β
βββββββββββββββββββββββββββ
β Python λΈλ¦¬μ§ β β AlphaGenome SDK μΈν°νμ΄μ€
βββββββββββββ¬ββββββββββββββ
β HTTP
β
βββββββββββββββββββββββββββ
β AlphaGenome API β β Google DeepMind μλΉμ€
βββββββββββββββββββββββββββ
μ€μΉ λ°©λ²
μꡬμ¬ν
- Node.js β₯18.0.0
- Python β₯3.8
- AlphaGenome API ν€ (Google DeepMindμμ λ°κΈ)
- Python ν¨ν€μ§:
alphagenome
,numpy
μ€μΉ
1. Python ν¨ν€μ§ μ€μΉ:
pip install alphagenome numpy
2. MCP ν΄λΌμ΄μΈνΈ μ€μ :
Claude Desktop
κΆμ₯ λ°©λ²:
claude mcp add alphagenome -- npx -y @jolab/alphagenome-mcp@latest --api-key YOUR_API_KEY
μλ μ€μ (~/.config/claude/claude_desktop_config.json
):
{
"mcpServers": {
"alphagenome": {
"command": "npx",
"args": ["-y", "@jolab/alphagenome-mcp@latest", "--api-key", "YOUR_API_KEY"]
}
}
}
ν μ€νΈ:
"alphagenomeμΌλ‘ chr19:44908684T>Cλ₯Ό λΆμν΄μ€"
Claude Code
~/.config/claude/claude_code_config.json
μ μΆκ°:
{
"mcpServers": {
"alphagenome": {
"command": "npx",
"args": ["-y", "@jolab/alphagenome-mcp@latest", "--api-key", "YOUR_API_KEY"]
}
}
}
Cursor
νλ‘μ νΈ λ£¨νΈμ .cursor/mcp.json
μ μΆκ°:
{
"mcpServers": {
"alphagenome": {
"command": "npx",
"args": ["-y", "@jolab/alphagenome-mcp@latest", "--api-key", "YOUR_API_KEY"]
}
}
}
μ¬μ© μμ
λ³μμ± νκ°
"rs429358μ λ³μμ±μ νκ°ν΄μ€"
κ²°κ³Ό: λ³μμ± μ μ 1.0, λ°ν μν₯ 0.0023, μ€νλΌμ΄μ± μν₯ 0.0263
μ‘°μ§λ³ λΆμ
"rs429358μ λμ κ°μμμ ν¨κ³Όλ₯Ό λΉκ΅ν΄μ€"
κ²°κ³Ό: λμμ -0.23% νν₯μ‘°μ , κ°μμ +0.07% μν₯μ‘°μ
λ³μ΄ λΉκ΅
"APOE Ξ΅4 (rs429358)μ Ξ΅2 (rs7412)λ₯Ό λΉκ΅ν΄μ€"
κ²°κ³Ό: Ξ΅4κ° λ μ¬κ°ν μν₯ (λ°ν λ³ν -0.0023 vs +0.0012)
μ€νλΌμ΄μ± μν₯
"chr6:41129252C>Tμ μ€νλΌμ΄μ± μν₯μ λΆμν΄μ€"
λ°°μΉ μ²λ¦¬
"μ΄ 10κ° λ³μ΄λ₯Ό λ³μμ± μ μλ‘ μ λ ¬ν΄μ€"
μ±λ₯
- 첫 νΈμΆ: 30-60μ΄ (μ΄κΈ°ν), μ΄ν νΈμΆ: λ³μ΄λΉ 8-15μ΄
- λΆμ μμ: 11κ°μ§ (RNA-seq, CAGE, PRO-cap, μ€νλΌμ΄μ€ μ¬μ΄νΈ, DNase, ATAC, νμ€ν€ λ³ν, μ μ¬μΈμ κ²°ν©, μ μ΄ λ§΅)
μΈμ©
μ΄ μννΈμ¨μ΄λ₯Ό μ°κ΅¬μ μ¬μ©νμ λ€λ©΄ λ€μκ³Ό κ°μ΄ μΈμ©ν΄μ£ΌμΈμ:
@software{jo2025alphagenome_mcp,
author = {Jo, Taeho},
title = {AlphaGenome MCP Server},
year = {2025},
url = {https://github.com/taehojo/alphagenome-mcp},
version = {0.2.0}
}
AlphaGenome λͺ¨λΈ:
@article{avsec2025alphagenome,
title = {AlphaGenome: advancing regulatory variant effect prediction with a unified DNA sequence model},
author = {Avsec, Ε½iga and Latysheva, Natasha and Cheng, Jun and others},
journal = {bioRxiv},
year = {2025}
}
μμΈ λ¬Έμ
μ 체 λꡬ λͺ©λ‘, μμΈ μ¬μ© μμ , API μλ΅ νμ, κ°λ° κ°μ΄λλ μλ¬Έ λ¬Έμλ₯Ό μ°Έκ³ νμΈμ.
λΌμ΄μ μ€
MIT License - Copyright (c) 2025 Taeho Jo
λ§ν¬
- npm ν¨ν€μ§: https://www.npmjs.com/package/@jolab/alphagenome-mcp
- GitHub μ μ₯μ: https://github.com/taehojo/alphagenome-mcp
- AlphaGenome: https://deepmind.google/discover/blog/alphagenome/
- Model Context Protocol: https://modelcontextprotocol.io/