DeepDNA

ai.deepdna由 deepdna.ai 發布官方發布者v1.3.1更新於 Nov 6, 2026

Pharmacogenomics for AI agents: cited drug–gene, gene and rsID lookups plus a medication screen.

已驗證Streamable HTTP可網頁執行金融知識與記憶AI 與機器學習

概覽

AI 產生的概覽

遠端唯讀藥物基因體學伺服器,讓助理查詢有出處的基因、rsID 與藥物–基因資料,並篩檢用藥清單。

可以做什麼
  • 列出知識庫中的基因,附一句話摘要與分類
  • 檢視單一基因的全部整理內容:功能、關鍵變異、表型、藥物交互作用與來源
  • 依 dbSNP rsID 查詢單一變異,含等位基因、功能影響、頻率說明與來源
  • 查詢某基因的藥物–基因指引,可指定一種藥物,附 CPIC 或 DPWG 依據與來源
  • 篩檢一組通用藥品名稱,指出哪些有整理紀錄、哪些未涵蓋
適用情境
適合讓助理引用 CPIC 或 DPWG 指引及來源回答藥物基因體學問題,或核查使用者用藥中哪些已有整理的藥物–基因紀錄。它僅為教育性參考資料,並非臨床決策工具。
執行需求
需要可連線的遠端 streamable HTTP 端點;不需 API 金鑰、帳號或環境變數。支援 HTTP 伺服器或自訂連接器的 MCP 用戶端皆可加入。
安裝前請注意
僅供教育參考,不構成醫療建議;它不會判定表型或劑量。只應傳入基因符號、rsID 與藥品名稱,切勿傳入基因型、DNA 檔案或個人基因檢測結果,未宣告的參數會被拒絕。遠端請求會被計數,包括方法、工具、簡短查詢標籤、用戶端名稱與國別代碼;不儲存 IP 位址、請求內容與用藥清單。涵蓋範圍僅為 12 個基因的小型審核集合,並非 PharmGKB 全量鏡像,消費級基因晶片也不是臨床檢測。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DeepDNA,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.deepdna%2Fknowledge/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "deepdna": {
      "type": "http",
      "url": "https://deepdna.ai/mcp"
    }
  }
}

README

DeepDNA MCP server

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.

text
https://deepdna.ai/mcp

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.

Tools

ToolWhat it returns
list_genesThe genes in the knowledge base, with a one-line summary and category for each
lookup_geneEverything curated about one gene: function, key variants with rsIDs, phenotypes, drug interactions, what a consumer genotyping array can and cannot tell you, and sources
lookup_variantOne variant by dbSNP rsID: gene, star-allele or common name, alleles on the plus strand of GRCh37, effect, frequency note and sources. Takes the rsID only, never a genotype
lookup_drug_geneGuidance for a gene, optionally for one drug: guideline (CPIC or DPWG where one exists), summary, phenotype groups and sources
check_medicationsSplits a list of generic drug names into drugs with a curated record (gene, and a basis field: CPIC or DPWG guideline, drug label, or primary literature) and drugs not covered. Needs no genotype

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 12 genes: CYP2C19, CYP2C9, CYP2D6, SLCO1B1, VKORC1, UGT1A1, G6PD, MTHFR, COMT, HFE, APOE and BRCA1, with 51 curated drug–gene pairs across 11 of them: 40 cite a CPIC or DPWG guideline, the rest a drug label or the primary literature; the basis field in check_medications says which (guideline is null, or "drug label", when no guideline exists). It is a small, reviewed set, not a mirror of PharmGKB/ClinPGx. Every record lists its sources. The level field (the guideline's evidence grade) is null for every pair today.

Connect

Claude Code

bash
claude mcp add --transport http deepdna https://deepdna.ai/mcp

Cursor (~/.cursor/mcp.json) and other clients that use an mcpServers file:

json
{  "mcpServers": {    "deepdna": { "type": "http", "url": "https://deepdna.ai/mcp" }  }}

VS Code (.vscode/mcp.json):

json
{  "servers": {    "deepdna": { "type": "http", "url": "https://deepdna.ai/mcp" }  }}

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):

bash
gemini extensions install https://github.com/alfonsoguv/deepdna-mcp

Try it without a client

bash
curl -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"}}}'

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:

text
GET https://deepdna.ai/api/v1/pgx/CYP2C19/clopidogrelGET https://deepdna.ai/api/v1/variants/rs4244285

Read a raw DNA file on your own computer

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):

bash
claude mcp add deepdna-local -- uvx [email protected]

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):

json
{  "mcpServers": {    "deepdna-local": { "command": "uvx", "args": ["[email protected]"] }  }}
ToolWhat it returns
read_dna_fileWhat a 23andMe, AncestryDNA or MyHeritage/FamilyTreeDNA export (.txt, .csv or .zip) shows at each curated position
lookup_drug_geneGuidance for a gene, optionally for one drug, from the public API. Sends only the gene and drug names
  • Each position gets one of four states: 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.
  • For positions the record marks as 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).
  • It checks the file's strand first: at least three positions that are not A/T or C/G must agree, and none disagree. A/T and C/G positions, whose two letters look the same on either strand, are counted only on a confirmed strand.

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).

What it is not

  • The remote server does not read DNA files. DeepDNA does not parse DNA files on its servers; to read one, use the local package above. A remote lookup carries a gene symbol, an rsID or a drug name. Its tools have no genotype field, and an undeclared argument is refused and not used. The alleles it reports are on the plus strand of GRCh37, as 23andMe raw data reports them.
  • Neither server calls phenotypes or doses. Turning a genotype into a metabolizer status needs phasing and the other variants in the gene, which a single lookup or a chip file does not give. Tools such as PharmCAT do that from a VCF.
  • Remote usage is counted, people are not. Each request to the remote server is counted (method, tool, the lookup label described below, whether there was an answer, the client's name and version, its user-agent, a country code). IP addresses, request bodies and medication lists are not stored. A value typed into a declared field is recorded only as a short lookup label: an rsID in the form rs123, a gene from a fixed list of known pharmacogenes, or a drug DeepDNA covers; anything else, whatever it is, is recorded as "(other)". Please don't type a personal genetic result into these fields. See the privacy policy. The local package's downloads are ordinary requests to the public API, with the user-agent deepdna-mcp-local/<version>.
  • A consumer chip is not a clinical test. Arrays are reliable for common variants and much less so for rare ones; anything that could affect a health decision needs a validated test and a clinician.

Links

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.

來源:README.md,提交 d835136

工具

5

list_genes

List genes

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

無需輸入參數。

lookup_gene

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.

輸入參數symbol必填

lookup_variant

Look 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.

輸入參數rsid必填

lookup_drug_gene

Look 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.

輸入參數druggene必填

check_medications

Screen 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.

輸入參數medications必填

版本歷史

5
  1. v1.3.1最新Oct 29, 2026
  2. v1.3.0Oct 24, 2026
  3. v1.2.0Oct 17, 2026
  4. v1.1.1Oct 11, 2026
  5. v1.0.0Sep 26, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Deepdna 整合