list_genes
List genes
List the genes in the DeepDNA knowledge base, with a one-line summary and category for each.
Takes no parameters.

ai.deepdnaPublished by deepdna.aiOfficial publisherv1.3.1Updated Nov 13, 2026
Pharmacogenomics for AI agents: cited drug–gene, gene and rsID lookups plus a medication screen.
Remote, read-only knowledge base of cited pharmacogenomic records: gene, rsID and drug–gene lookups plus a medication screen for AI assistants.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/ai.deepdna%2Fknowledge/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"deepdna": {
"type": "http",
"url": "https://deepdna.ai/mcp"
}
}
}A remote Model Context Protocol server that gives AI agents cited pharmacogenomic and gene-variant lookups, so answers can quote CPIC and DPWG guidance and its sources. This repository also holds a local package that reads a raw DNA file on the user's own computer; nothing from the file is sent to DeepDNA, but what the package reports becomes part of the conversation with the AI model.
Streamable HTTP, stateless, no API key, no account. Listed in the official MCP registry as ai.deepdna/knowledge.
Educational information only, not medical advice. The server reports what curated sources and guidelines say about a gene, a variant or a drug–gene pair. It does not diagnose, prescribe or recommend a dose.
All five tools are read-only.
Two prompts, medication_review and explain_variant, package the common questions for clients that show MCP prompts.
Coverage today is 17 genes: CYP2C19, CYP2C9, CYP2D6, CYP3A5, CYP4F2, DPYD, TPMT, NUDT15, SLCO1B1, VKORC1, UGT1A1, G6PD, MTHFR, COMT, HFE, APOE and BRCA1, with 84 curated drug–gene pairs across 16 of them: 73 rest on a CPIC or DPWG guideline, the others on a drug label or the primary literature; the basis field in check_medications says which (guideline is "drug label" when the record rests on an FDA label, and null when it rests on the primary literature). It is a small, reviewed set, not a mirror of PharmGKB/ClinPGx. Every record lists its sources. The level field in lookup_drug_gene is CPIC's level for the gene–drug pair, copied from the CPIC database: 76 pairs have one (5 marked provisional) and the other 8 are null; the API docs explain the scale.
Claude Code
Cursor (~/.cursor/mcp.json) and other clients that use an mcpServers file:
VS Code (.vscode/mcp.json):
Claude Desktop and claude.ai: add https://deepdna.ai/mcp as a custom connector.
Gemini CLI (installs the remote, read-only server https://deepdna.ai/mcp as an extension, not the local package; gemini-extension.json is in this repo):
The answer carries the CPIC recommendation for clopidogrel by CYP2C19 metabolizer group, the sources it was written from, and the disclaimer. The same data is available as plain REST, documented in the API docs and the OpenAPI spec:
The remote server takes no genotype: its tools have no field for one. For a raw DNA file there is a local package in this repository. It reads the file on the user's computer and reports what it shows at each position DeepDNA curates, with the cited records. Nothing from the file is sent to deepdna.ai: the package downloads the same public records for every user, and lookup_drug_gene sends only the gene and drug names. What read_dna_file returns (the letters and counts at the curated positions) becomes part of the conversation with the AI model your client uses, under that provider's terms.
Claude Code (needs uv; the package is on PyPI):
The plugin/ folder packages the same command as a Claude plugin, for Claude Code and for Cowork sessions on the user's computer.
Clients that use an mcpServers file (if the client cannot find uvx, put its full path, from which uvx, in command):
read, no_call, not_in_file, or unexpected_letters (letters that fit neither the record nor its complement). A missing or unreadable position is unknown, never normal.countable (no phasing or other variants are needed to read them), it gives how many copies of the variant allele the file shows, with the record's text and sources.genes limits the answer to what the user asked about. APOE, BRCA1 and HFE are disease-risk genes: they are read only when named in genes, so the user chooses what to learn.sex is needed only for some chromosome X positions (G6PD).A count at one position is not a metabolizer status, a diplotype, a diagnosis or a dose. The tools tell the model never to suggest starting, stopping or changing a medication: that stays with the prescriber. VCF files are not supported.
Try it with: "My 23andMe file is at /Users/me/Downloads/genome.txt. What does it show at the CYP2C19 positions DeepDNA curates, and what do the sources say about clopidogrel?" (on Windows, a path such as C:\Users\me\Downloads\genome.txt).
deepdna-mcp-local/<version>.This repository holds the documentation and the local package; the remote server is hosted by DeepDNA. Questions and bug reports go in the issues; please don't post a raw DNA file, genotypes or medications there.
Written with AI assistance.
Source: README.md at commit eeb25eb
List genes
List the genes in the DeepDNA knowledge base, with a one-line summary and category for each.
Takes no parameters.
Look up a gene
Everything curated about one gene: function, key variants with rsIDs, metabolizer or function phenotypes, drug interactions, what a consumer genotyping array can and cannot tell you, and sources.
symbolrequiredLook up a variant
One variant by dbSNP rsID: gene, star-allele or common name, alleles, functional effect, population frequency and sources. Send the rsID only, never the user's genotype. A single variant is not a phenotype or metabolizer status.
rsidrequiredLook up drug–gene guidance
Pharmacogenomic guidance for a gene, optionally for one drug: guideline (CPIC or DPWG, "drug label", or null when the record rests on the primary literature), summary of the recommendation, phenotypes and sources. Omit drug to list every drug curated for that gene.
druggenerequiredScreen a medication list
Given a list of generic drug names, say which ones have a curated drug–gene record, with which genes and what each record rests on (a CPIC or DPWG guideline, a drug label, or the primary literature), and which are not covered. Needs no genotype.
medicationsrequired100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
https://deepdna.ai/mcpclaude mcp add --transport http deepdna https://deepdna.ai/mcp{ "mcpServers": { "deepdna": { "type": "http", "url": "https://deepdna.ai/mcp" } }}{ "servers": { "deepdna": { "type": "http", "url": "https://deepdna.ai/mcp" } }}gemini extensions install https://github.com/alfonsoguv/deepdna-mcpcurl -s https://deepdna.ai/mcp \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"lookup_drug_gene","arguments":{"gene":"CYP2C19","drug":"clopidogrel"}}}'GET https://deepdna.ai/api/v1/pgx/CYP2C19/clopidogrelGET https://deepdna.ai/api/v1/variants/rs4244285claude mcp add deepdna-local -- uvx [email protected]{ "mcpServers": { "deepdna-local": { "command": "uvx", "args": ["[email protected]"] } }}