genomics-mcp
Click on "Install 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., "@genomics-mcpFind SNPs for alzheimer_risk"
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.
Genomics MCP Server
An MCP (Model Context Protocol) server that provides programmatic access to SNP (Single Nucleotide Polymorphism) data by trait. Enables LLM-powered applications to query curated genomics information through a standardized interface.
π Features
𧬠Search SNPs by trait - Find genetic variants associated with specific traits (e.g., "alzheimer_risk", "athletic_performance")
π Detailed SNP information - Get comprehensive data including genomic coordinates, genes, effects, and research sources
π§ͺ Genotype interpretation - Understand what a specific genotype (e.g., "AG", "TT") means for a given SNP
π Trait discovery - List all available traits with SNP counts, grouped by category, with optional pagination
π Dataset metadata - Query server version, SNP count, trait count, and last-updated date via
get_metadataπ Evidence-based - All data includes source citations with URLs and study types
β‘ Fast lookups - In-memory indexing for sub-millisecond queries
π Database-ready - Repository pattern enables easy migration from JSON to SQL/NoSQL
π HTTP transport - Run as a standalone HTTP server (
--transport http) in addition to the default stdio mode
Related MCP server: gnomAD MCP Server
π¦ Installation
# Install dependencies
bun install
# Run the server (stdio transport β default)
bun start
# Run as HTTP server (port 3000 by default)
bun start -- --transport http
# HTTP on a custom port
bun start -- --transport http --port 8080π Quick Start
Testing with MCP Inspector
The MCP Inspector is the recommended way to test your server:
# Run the inspector (launches web UI)
bun run inspectorThen open the URL shown in your browser to interact with the tools.
Integration with an MCP Client
Add this server to your MCP client's configuration. For example, in a config.json:
{
"mcpServers": {
"genomics": {
"command": "bun",
"args": ["/absolute/path/to/genomics-mcp/src/index.ts"]
}
}
}Note: Replace
/absolute/path/to/genomics-mcpwith the actual path to your installation. Consult your MCP client's documentation for the exact config file location and format.
π οΈ Available Tools
The server provides 5 MCP tools for querying genomics data:
Tool | Description |
| Search for SNPs associated with one or more traits (supports "any"/"all" matching, pagination) |
| Get comprehensive information about a specific SNP by rsID |
| Interpret what a specific genotype (e.g., "AG", "CT") means for a given SNP |
| List all available traits with SNP counts, grouped by category (supports filtering and pagination) |
| Return dataset statistics (SNP count, trait count, last-updated) and server version |
All tools support both markdown and json response formats.
π See Tool Reference for detailed documentation, parameters, and examples.
π Dataset
The dataset covers a broad range of well-studied SNPs across multiple trait categories, including:
Neurological: Alzheimer's risk (APOE), memory (BDNF), cognitive function (COMT), dopamine signaling (DRD2)
Behavioral: Social behavior (OXTR), addiction risk (DRD2), nicotine dependence (CHRNA3)
Cardiovascular: Heart disease risk (9p21), hypertension (AGT), HDL cholesterol (CETP), beta-blocker response (ADRB1)
Metabolic: Folate metabolism (MTHFR), obesity risk (FTO), triglyceride levels (APOA5)
Pharmacogenomics: Drug metabolism (CYP2C9, CYP2C19), warfarin sensitivity (VKORC1), fluorouracil toxicity (DPYD), hepatitis C treatment (IFNL3), abacavir hypersensitivity (HCP5)
Autoimmune & Immune: Celiac disease (HLA-DQA1), rheumatoid arthritis (STAT4), autoimmune risk (PTPN22)
Inflammation: IL-1Ξ² (IL1B), IL-10 (IL10), CRP levels (CRP)
Cancer & Developmental: Detoxification (NQO1), melanoma risk (TYR), lung cancer risk (CHRNA3)
Eye & Vision: Age-related macular degeneration (CFH, ARMS2)
Bone & Musculoskeletal: Bone density (COL1A1, ESR1), osteoporosis risk
Iron & Liver: Hemochromatosis (HFE), Gilbert syndrome (UGT1A1)
Physical Traits: Eye color (OCA2), skin pigmentation (TYR, MC1R)
Athletic: Sprint/endurance performance (ACTN3)
Nutrition & Metabolism: Lactose intolerance (MCM6), vitamin D levels (GC, VDR)
Circadian & Sleep: Circadian rhythm (CLOCK), sleep duration (DEC2)
Musculoskeletal & Uric Acid: Gout risk (ABCG2), uric acid levels (SLC2A9)
All SNPs include:
Genomic coordinates (chromosome, position)
Associated genes and traits
Genotype-specific effects with risk levels
Population frequencies
Research source citations with URLs
ποΈ Architecture
The server uses a layered architecture: Tools β Use Cases β Repository β Data, with in-memory indexing for sub-millisecond queries and a repository interface that makes database migration trivial.
π See Architecture Guide for diagrams, design patterns, data model, and technical details.
π§ͺ Development
# Install dependencies
bun install
# Run in development mode (auto-reload)
bun run dev
# Run automated tests
bun test
# Type-check (optional β Bun runs TypeScript directly)
bun run build
# Format code
bun run format
# Lint code
bun run lint
# Lint + format in one pass (auto-fixes)
bun run checkA pre-commit hook runs bun run check on staged files and then bun test before every commit.
π Adding New SNPs
To add new SNPs to the dataset:
Edit
src/repositories/data/snps.jsonFollow the schema with required fields:
rsid,genes,traits,description,chromosome,positionreference_allele,effects_by_genotype,sources,last_updated
Restart the server β Zod validates on startup and will report any schema violations
If the SNP introduces a new trait slug, add it to both the
TRAIT_CATEGORIESmap (for category grouping) and theTRAIT_DISPLAY_NAMESmap (for the display label) insrc/types/trait-categories.ts. Unlisted slugs fall back to Other and auto-generated Title Case respectively.Optionally run
bun run buildto type-check
The data is validated against Zod schemas on load, so any schema violations will be caught immediately.
π Resources
Tool Reference β Complete tool documentation with examples
Testing Guide β Automated test suite, manual MCP Inspector test cases, and HTTP transport testing
Architecture Guide β Design patterns and technical details
Project Status β Health metrics, resolved items, and pending features
Data Sources
The curated SNP dataset draws on the following authoritative genomics databases:
dbSNP β NCBI reference database for SNP identifiers, genomic coordinates, and allele frequencies
ClinVar β NCBI archive of clinically relevant genomic variants and their interpretations
SNPedia β Community-curated wiki of SNP associations and genotype effects
PharmGKB β Pharmacogenomics knowledge base for drugβgene interactions
CPIC β Clinical Pharmacogenetics Implementation Consortium guidelines
GnomAD β Genome Aggregation Database for population allele frequencies
π License
MIT License - see LICENSE file for details
Note: This server provides educational genomics information only. It is not intended for clinical use or medical diagnosis. Always consult healthcare professionals for medical decisions.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/borjanebbal/genomics-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server