genome-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
genome-mcp - "Ask your genome" through the Model Context Protocol
genome-mcp turns a VCF file (the standard output of DNA sequencing pipelines) into a set of MCP tools that any AI assistant can call. Plug it into Claude Desktop, Cursor, VS Code or your own agent and ask in plain English:
"Do I carry anything in BRCA1?" · "Am I a carrier for any disease?" · "Is warfarin a concern for me?" · "What's my APOE status?"
The model doesn't guess from memory - it calls real tools that read your file, match variants against curated annotations, and apply genetics rules (zygosity, carrier vs affected, APOE haplotypes, pharmacogenomics), then explains the result simply.
Note: educational project. Not a medical device, not medical advice. The bundled sample is synthetic.
Why this is interesting
Bioinformatics × AI agents. Most genomics tools are command-line programs for specialists. MCP lets an LLM use them safely: the LLM handles language, the tools handle facts.
No hallucinated genetics. Every answer comes from a tool result with the genotype, the source and a disclaimer.
Domain logic, not just lookups. It knows that one copy of a CFTR variant usually means carrier, while one copy of a BRCA1 variant raises risk; it derives APOE ε2/ε3/ε4 from two SNPs; it ignores low-quality calls.
Standard protocol. Built on the official MCP Python SDK, so it works with any MCP client.
Related MCP server: hybrid-rag-project
How it works
You ──question──► MCP client (Claude Desktop / genome-mcp ask / your agent)
│ list_tools, call_tool (JSON-RPC over stdio)
▼
genome-mcp server ── tools ───────────────────────────────┐
│ │
┌──────────────────┼──────────────────┬──────────────────┐ │
▼ ▼ ▼ ▼ │
VCF reader Gene index ClinVar snapshot Live APIs │
(streams .vcf, (GRCh38 coords, (curated pathogenic, (Ensembl, │
.vcf.gz, GT, binary search) risk, PGx variants) MyVariant; │
zygosity, QC) optional) │
└──────────► JSON result + disclaimer ◄──────────┘Quick start
git clone https://github.com/Noella-John1997/genome-mcp.git
cd genome-mcp
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
genome-mcp report # full markdown report on the demo sample
genome-mcp ask "Am I a carrier for any disease?" # starts the MCP server and calls a tool
genome-mcp ask "What is my APOE status?"
pytest -q # run the testsUse your own file: add --vcf path/to/file.vcf (or .vcf.gz) to any command. Coordinates must be GRCh38.
Web app

genome-mcp web # open http://127.0.0.1:8000Use the synthetic demo sample or upload your own .vcf / .vcf.gz (≤ 20 MB, GRCh38). Ask a question in
plain English and the page shows which MCP tool was called with which arguments, a friendly answer,
and the raw JSON the AI model would receive. Below: QC tiles, clinically relevant findings with a
plain-language interpretation (carrier vs raised risk), APOE, medicines, and a gene explorer.
Dark mode | Phone |
|
|
Put it online for free (Render or Hugging Face Spaces): see deploy/.
Live demo: https://genome-mcp.onrender.com (replace with your URL)
Use it from Claude Desktop
Find the full path of the installed command:
which genome-mcp(Windows:where genome-mcp).Open Claude Desktop → Settings → Developer → Edit Config, and add (see
examples/claude_desktop_config.json):
{
"mcpServers": {
"genome": {
"command": "/full/path/to/.venv/bin/genome-mcp",
"args": ["serve"]
}
}
}Restart Claude Desktop and ask: "Use the genome tools: do I carry anything in BRCA1?"
Let an LLM pick the tools from the command line
export OPENAI_API_KEY=sk-... # any OpenAI-compatible endpoint; set OPENAI_BASE_URL to change
genome-mcp ask "Explain my pharmacogenomic results for a doctor" --llmTools
Tool | What it answers |
| How many variants, which types, Ts/Tv and het/hom QC ratios |
| Variants in |
| Variants in or near a gene, with annotations |
| One variant by rsID or |
| Pathogenic / risk-factor variants you carry, ranked, with carrier guidance |
| Drug-response variants (warfarin, clopidogrel, statins, 5-FU) |
| ε2/ε3/ε4 genotype and what it means |
| Everything above as a markdown report |
| Switch to another file / sample |
Resource: genome://genes lists the genes the server knows.
What the demo sample shows
See examples/sample_report.md. The synthetic sample is a heterozygous
carrier of pathogenic variants in HFE (hemochromatosis) and CFTR (cystic fibrosis), carries a
BRCA1 frameshift, is APOE ε3/ε4, and has several pharmacogenomic variants. One CYP2C9 call is
marked LowQual - the tools skip it, as a real pipeline should.
Commands
Command | What it does |
| Web app in the browser |
| Run the MCP server over stdio ( |
| MCP client: routes the question to a tool, or lets an LLM choose |
| Markdown report |
| JSON output for scripts |
| Re-checks every bundled annotation against Ensembl (needs internet) |
Project layout
Folder | What's inside |
The package and the service layer | |
Streaming VCF parser and QC stats | |
Gene coordinate index | |
Offline ClinVar snapshot + live Ensembl/MyVariant clients | |
The MCP server (tools + resource) | |
MCP client: rule router and LLM tool-calling loop | |
Web app (FastAPI + plain HTML/JS) | |
Free hosting guides (Render, Hugging Face, Docker) | |
Screenshots | |
Demo VCF, gene table, annotation snapshot | |
pytest suite, including an end-to-end MCP stdio test | |
Claude Desktop config, example questions, sample report |
Genetics glossary (for non-biologists)
Term | Meaning |
VCF | Text file listing where a person's DNA differs from the reference genome |
GRCh38 | The current human reference genome build; positions depend on it |
REF / ALT | The reference base(s) and the observed alternative |
Genotype (GT) |
|
Heterozygous / homozygous | One copy / two copies of a variant |
Carrier | One copy of a variant in a recessive disease gene: usually healthy, can pass it on |
Pathogenic | ClinVar classification: known to cause disease |
Pharmacogenomics | How your genes change the way you process drugs |
Ts/Tv | Transitions ÷ transversions; ~2.0–2.1 for whole genomes. (The tiny demo file gives an unrealistic value.) |
Limitations
The annotation snapshot is a small curated set (~15 well-known variants), not all of ClinVar. For real use, annotate with VEP / ANNOVAR / SnpEff or load a full ClinVar VCF.
Indel matching is exact-allele; unnormalised indels (different left-alignment) may not match.
APOE uses unphased data and assumes absent sites are reference.
No CNV / structural-variant support.
Roadmap
Full ClinVar VCF index (tabix) · VEP integration · Nextflow pipeline from FASTQ to this server · star-allele calling for CYP2D6 · HTTP (streamable) MCP transport.
License
MIT - see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Pharmacogenomics for AI agents: cited drug–gene, gene and rsID lookups plus a medication screen.
AI Visibility and Content Intelligence tools for Claude and MCP-compatible agents.
MCP gateway federating 30 biomedical MCP servers behind one endpoint: gnomAD, ClinVar, HPO, VEP.
197 MCP tools for medical research: 168 deterministic engines + 26 AI writers; 46 by default.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA local-first MCP server that annotates whole-genome VCF files and lets you query pharmacogenomics, disease risk, and carrier status through natural language.7MIT
- AlicenseNot gradedqualityDmaintenanceEnables hybrid retrieval-augmented generation with semantic and keyword search over documents, supporting multiple formats and providing MCP integration for Claude Desktop.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to retrieve cited pharmacogenomic and gene-variant information, including drug–gene guidance from CPIC/DPWG and rsID lookups, so responses can quote curated sources instead of relying on memory. A local package also lets users read raw DNA files on their own computer without sending the file data to the remote service.260 PyPIMIT
- FlicenseNot gradedqualityAmaintenanceEnables LLM-based agents and MCP clients such as Claude Desktop to interact with a FHIR-compliant backend, performing full CRUD operations on clinical resources through natural-language prompts. It also supports AI-powered document ingestion, semantic search over processed documents, LOINC terminology lookup, and synthetic FHIR test data generation.-

