# DeepDNA local

> DeepDNA local is a free MCP server for health and science. Read a raw DNA file on your own computer and report the curated variants, with sources. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI
- **Repository:** https://github.com/alfonsoguv/deepdna-mcp
- **MCP Registry name:** ai.deepdna/local
- **Categories:** [health and science](https://ai-powered.com/categories/health-and-science)
- **Listing updated:** 2026-11-23

## About

This is the local half of a two-part project. A hosted DeepDNA server answers cited pharmacogenomic lookups, but it has no field for a genotype. This package fills that gap: it runs on your machine through uvx, reads a 23andMe, AncestryDNA or MyHeritage/FamilyTreeDNA export in .txt, .csv or .zip form, and reports what the file shows at each position DeepDNA curates, alongside the cited records. Nothing from the file is sent to DeepDNA, though what the tool returns becomes part of your conversation with whichever AI model your client uses.

Every position gets one of four states: read, no_call, not_in_file or unexpected_letters, so a missing position is never treated as normal. Where a record allows it, the tool counts copies of the variant allele. It checks the file's strand first and counts ambiguous A/T and C/G positions only on a confirmed strand. APOE, BRCA1 and HFE are disease-risk genes and are read only when you name them.

The README is explicit about limits: a single position is not a metabolizer status, diplotype, diagnosis or dose, the tools tell the model never to suggest changing medication, and VCF files are not supported. The material is educational, not medical advice.

## Features

- **Local file reading:** Parses 23andMe, AncestryDNA and MyHeritage/FamilyTreeDNA exports on your own computer.
- **Four position states:** Marks each position read, no_call, not_in_file or unexpected_letters.
- **Strand check:** Verifies the file's strand before counting ambiguous positions.
- **Opt-in risk genes:** APOE, BRCA1 and HFE are only read when you name them.
- **Cited records:** Results come with the curated records and their sources.
- **Drug-gene lookup:** Fetches guidance for a gene and optional drug, sending only those names.

## Good for

- Ask what a raw DNA export shows at curated CYP2C19 positions
- Bring cited guideline text into a medication discussion with a prescriber
- Check which curated positions are missing from a file
- Keep genotype data local while still using an assistant
- Read only the genes you choose

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add local -- uvx deepdna-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "local": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add local -- uvx deepdna-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.local]
command = "uvx"
args = ["deepdna-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user local uvx -- deepdna-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "local": {
      "command": "uvx",
      "args": [
        "deepdna-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 2 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `read_dna_file` (name suggests: reads): Reports what a raw DNA export shows at each curated position.
- `lookup_drug_gene` (name suggests: reads): Returns guidance for a gene and optional drug from the public API, sending only gene and drug names.

## FAQ

### Is my DNA file uploaded?

The README says nothing from the file is sent to DeepDNA; the package downloads public records and the drug lookup sends only gene and drug names.

### Which files are supported?

23andMe, AncestryDNA and MyHeritage/FamilyTreeDNA exports as .txt, .csv or .zip. VCF is not supported.

### Does DeepDNA local give a dose or diagnosis?

No. A count at one position is not a metabolizer status, diagnosis or dose.

### How do I run DeepDNA local?

With uv, for example uvx deepdna-mcp@0.1.4.

### Is DeepDNA local free?

Yes. DeepDNA local is free to use.

### How do I add DeepDNA local to Claude Code?

Run this command in your terminal: claude mcp add local -- uvx deepdna-mcp

### What are the best alternatives to DeepDNA local?

The closest alternatives to DeepDNA local are Tooluniverse, Oya Browser, BasalFit, Bloodwork and Omics Health Chile.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Tooluniverse](https://ai-powered.com/mcp/tooluniverse): Tooluniverse is an open-source MCP server for health and science.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [BasalFit](https://ai-powered.com/mcp/basalfit): BasalFit is a free MCP server for health and science.
- [Bloodwork](https://ai-powered.com/mcp/bloodwork): Bloodwork is an MCP server for health data.
- [Omics Health Chile](https://ai-powered.com/mcp/omics-health-chile): Omics Health Chile is an MCP server for health and science.
- [Proactive Parent guidance](https://ai-powered.com/mcp/proactive-parent-guidance): Proactive Parent guidance is an MCP server for health and science.
- [Psychotherapy](https://ai-powered.com/mcp/psychotherapy): Psychotherapy is an MCP server for health and science.
- [GIDocs Public Information](https://ai-powered.com/mcp/gidocs-public-information): GIDocs Public Information is an MCP server for local services.

---
Source: https://ai-powered.com/mcp/deepdna-local
