Genomics Clinical
БесплатноНе проверенGenomics Clinical — Model Context Protocol server
Описание
Genomics Clinical — Model Context Protocol server
README
🧬 Genomics Clinical MCP Server
MCP 2026-07-28 · Clinical genomics & pharmacogenomics decision support for AI agents
Author: David Osher · Diagnostica
Node.js 20+ MCP Protocol License: CC BY-NC-SA 4.0
Model Context Protocol server for clinical genomics and pharmacogenomics decision support. Integrates ClinVar variant pathogenicity data with PharmGKB/ClinPGx drug-gene interaction guidelines.
Sibling project: Israel Drugs MCP Server — Israeli Ministry of Health pharmaceutical database
✨ Why This Server?
| Capability | Description |
|---|---|
| ClinVar Integration | Search variants, check pathogenicity, scan genomic regions |
| PharmGKB/ClinPGx | Drug-gene interactions, patient risk assessment, gene-drug pairs |
| Clinical Summary | Integrated variant + pharmacogenomic analysis |
| Reference Resources | 8 static genomics references (pharmacogenes, pathogenicity guide, etc.) |
| Clinical Prompts | Variant interpretation, dosing review, summary templates |
| Modern MCP | SDK v2, OAuth 2.1, stateless HTTP, Cursor-ready |
🎯 Use Cases
- Variant interpretation — ACMG-style workflow with ClinVar lookup
- Pharmacogenomic dosing — CPIC/DPWG guidelines for warfarin, clopidogrel, etc.
- Patient medication review — Match genotypes to drug-gene interactions
- Research & education — Reference resources for gene-disease, metabolizer phenotypes
🛠 Tools
| Tool | Description |
|---|---|
clinvar_get_variant_info |
Search ClinVar by gene, rsID, HGVS, genomic location, ClinVar ID |
clinvar_check_pathogenicity |
Quick pathogenicity check for a variant |
clinvar_find_variants_in_region |
Scan genomic region for variants |
pharmgkb_get_drug_gene_interactions |
Comprehensive drug pharmacogenomics (CPIC, FDA labels) |
pharmgkb_check_patient_drug_risk |
Assess drug safety for patient genotypes |
pharmgkb_get_gene_drug_pairs |
Find drugs affected by a gene (ClinPGx API) |
genomics_clinical_summary |
Integrated clinical summary |
All tools support concise (human-readable) and detailed (full metadata) response formats.
📚 Resources
| Resource | URI | Content |
|---|---|---|
| Gene-Disease Map | genomics://gene-disease-map |
Key gene-disease associations |
| VIP Pharmacogenes | genomics://pharmacogenes |
CYP2C9, CYP2D6, VKORC1, etc. |
| Genome Builds | genomics://genome-builds |
GRCh37/GRCh38 reference |
| Pathogenicity Guide | genomics://pathogenicity-guide |
ClinVar classification |
| Drug-Gene Pairs | genomics://drug-gene-pairs |
High-priority interactions |
| Metabolizer Phenotypes | genomics://metabolizer-phenotypes |
PM, IM, NM, RM definitions |
| Variant Nomenclature | genomics://variant-nomenclature |
HGVS, rsID formats |
| Testing Indications | genomics://testing-indications |
When to order PGx testing |
🚀 Quick Start
Prerequisites
- Node.js 20+
- npm
- Internet (ClinVar, ClinPGx APIs)
Installation
git clone https://github.com/DavidOsherdiagnostica/genomics-clinical-mcp-server.git
cd genomics-clinical-mcp-server
npm install
npm run build
cp .env.example .env # optional
Cursor (stdio — recommended for local)
Create .cursor/mcp.json locally (not committed to the repo):
{
"mcpServers": {
"genomics-clinical": {
"type": "stdio",
"command": "node",
"args": ["dist/index.js"],
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/.env"
}
}
}
Enable in Cursor Settings → MCP, then restart Cursor.
Claude Desktop
{
"mcpServers": {
"genomics-clinical": {
"command": "node",
"args": ["/path/to/genomics-clinical-mcp-server/dist/index.js"]
}
}
}
HTTP (remote / Docker)
npm run start:http
# Server: http://127.0.0.1:3000/mcp
# Health: http://127.0.0.1:3000/health
Docker
docker build -t genomics-clinical-mcp .
docker run -p 8080:8080 genomics-clinical-mcp
⚙️ Configuration
See .env.example for all options. Key variables:
| Variable | Default | Description |
|---|---|---|
CLINVAR_BASE_URL |
NCBI E-utilities | ClinVar API |
PHARMGKB_BASE_URL |
https://api.clinpgx.org/v1 |
ClinPGx (PharmGKB migrated) |
NCBI_API_KEY |
— | Optional, higher rate limits |
OAUTH_ENABLED |
false |
Enable OAuth for HTTP |
OAUTH_REQUIRED |
false |
Require Bearer token on /mcp |
HOST |
127.0.0.1 |
HTTP bind address |
PORT |
3000 |
HTTP port |
🔐 Security & OAuth
- stdio mode: No OAuth; credentials via env if needed
- HTTP mode: OAuth 2.1 optional; enable for production remote deployment
- RFC 9728:
/.well-known/oauth-protected-resourcewhen OAuth enabled - Rate limiting: 60 req/min default on
/mcp - Origin validation: Configurable via
CORS_ORIGINS,ALLOWED_HOSTS
For remote Cursor connection with OAuth:
{
"mcpServers": {
"genomics-clinical": {
"url": "https://your-server.example.com/mcp",
"auth": {
"CLIENT_ID": "${env:MCP_CLIENT_ID}",
"scopes": ["genomics:read", "genomics:tools"]
}
}
}
}
📋 Supported Formats
- Gene symbols: HGNC (BRCA1, CYP2C9)
- rsIDs: rs9923231
- HGVS: NM_007294.4:c.3101_3102del
- Genomic locations: chr, start, end, GRCh37/GRCh38
- ClinVar IDs: VCV/RCV
- Drugs: warfarin, clopidogrel
- Genotypes: *1/*3, TT
🏗 Architecture
┌─────────────┐ stdio ┌──────────────────────┐
│ Cursor │◄──────────────►│ Genomics Clinical │
│ Claude etc. │ │ MCP Server v2 │
└─────────────┘ └──────────┬───────────┘
│
┌─────────────────────┼─────────────────────┐
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ ClinVar │ │ ClinPGx │ │ Resources│
│ E-utils │ │ InfoBtn │ │ (static) │
└──────────┘ └──────────┘ └──────────┘
- SDK:
@modelcontextprotocol/serverv2 (MCP 2026-07-28) - Transports: stdio (local), Streamable HTTP (remote, stateless)
- Entry points:
dist/index.js(stdio),dist/server.js --http(HTTP)
⚠️ Medical Disclaimer
For research and clinical decision support only. Not a substitute for professional medical advice, diagnosis, or treatment. Always consult qualified healthcare providers and genetic counselors.
🤝 Contributing
- Fork the repository
- Create a feature branch
- Run
npm run build && npm test - Submit a pull request
📄 License
CC BY-NC-SA 4.0 — Attribution, NonCommercial, ShareAlike
👤 Author
David Osher · GitHub · LinkedIn
Author of MCP connectors for Israel Gov open data and Israel MoH drug DB. Building reliable AI tooling for healthcare.
Related projects:
from github.com/DavidOsherdiagnostica/genomics-clinical-mcp-server
Установить Genomics Clinical в Claude Desktop, Claude Code, Cursor
unyly install genomics-clinicalСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add genomics-clinical -- npx -y github:DavidOsherdiagnostica/genomics-clinical-mcp-serverПошаговые гайды: как установить Genomics Clinical
FAQ
Genomics Clinical MCP бесплатный?
Да, Genomics Clinical MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Genomics Clinical?
Нет, Genomics Clinical работает без API-ключей и переменных окружения.
Genomics Clinical — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Genomics Clinical в Claude Desktop, Claude Code или Cursor?
Открой Genomics Clinical на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Genomics Clinical with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
