indaga-agent
A local-first MCP server for querying multi-omic personal health data (genome, labs, wearables) with an honesty contract and progressive disclosure skills.
README
Indaga-agent
A local-first, multi-omic personal-health agent runtime. The agent backend for the Indaga product (the consumer app + website are a separate codebase). Where a genome agent turns your DNA into a queryable, honest expert, Indaga-agent does the same across every modality — genome, labs, wearables, CGM, and the derived metrics built from them — in one coherent system, queryable by any MCP-compatible host (Claude Desktop, Claude Code, …).
It is built on three spines, applied to all of your health data:
- A persistent per-subject Active Health Index (
~/.indaga/<subject>/active-health-index.sqlite) behind a storage-agnostic port — local SQLite now; a hosted / zero-knowledge adapter later, with no upstream change. - One evidence-envelope honesty contract. Every answer is typed:
finding_state,answer_readiness, andnegative_inference. Absence is never "normal". A lab that was never measured returnsnot_measured; a Biological Midnight before 14 nights isindex_incomplete; a stale CGM read refuses to claim your current glucose. This is the multi-omic generalization of genomic callability, and it is the point of the product. - A dispatcher + per-capability skills.
tools/listshows a small base set; everything else is reached viaindaga.invokeafter the agent reads that capability'sSKILL.md(progressive disclosure).
Quickstart
# 1 — clone (Python ≥3.10; 3.11/3.12 recommended for the predictor venvs)
git clone https://github.com/birinets/indaga-agent.git && cd indaga-agent
# 2 — install. RECOMMENDED: uv — sudo-free, no system packages, makes its own venv.
# (curl the installer if you don't have it: curl -LsSf https://astral.sh/uv/install.sh | sh)
uv venv .venv && uv pip install --python .venv/bin/python -e ".[dev]"
# …or with stock pip (needs the python3-venv package — e.g. `sudo apt install python3.12-venv`
# on Debian/Ubuntu, which ship python3 without ensurepip):
# python3 -m venv .venv && . .venv/bin/activate && pip install -e ".[dev]"
# 3 — verify the engine on synthetic fixtures (no personal data needed)
.venv/bin/python -m pytest -q # ~146 tests
.venv/bin/python -m ruff check src tests
# 4 — download the reference libraries you want (cached in ~/.indaga, queried OFFLINE).
# `indaga` lives in the venv; activate it (`. .venv/bin/activate`) or call `.venv/bin/indaga`.
.venv/bin/indaga install --check # see the catalog + what's installed
.venv/bin/indaga install clinvar-grch38 pgs-catalog-metadata gene-disease-validity \
reactome-pathways hpa-tissue-rna gene-ontology
# 5 — wire it into your MCP host (writes the config + symlinks the skills)
.venv/bin/indaga install-host claude # also: openclaw | hermes (preview without --write)
Bring your own genome — a consumer chip export (23andMe / MyHeritage / AncestryDNA):
# imputation needs the pyliftover extra + a Java 17 runtime + bcftools/bgzip/tabix on PATH.
# sudo-free way to get the system tools: micromamba install -c conda-forge -c bioconda bcftools htslib openjdk=17
uv pip install --python .venv/bin/python -e ".[impute]"
.venv/bin/indaga impute --subject me --chip /path/to/your_raw_dna.txt # liftover + Beagle/1000G → GRCh38 (pulls the panel)
.venv/bin/indaga annotate --subject me # ClinVar P/LP · PGS · GWAS · ACMG · PGx · panels
Chip-tier works with no toolchain at all: skip
imputeand runannotatedirectly on the raw chip (dna/raw/) — the Active Genome Index is built in pure Python (ClinVar P/LP screen + PGS), and imputation only adds the deeper imputed-variant tier.
…then ask your host: "any ACMG-actionable secondary findings?", "what diagnostic panels is my LDLR in?", "what's my biological midnight?", "how's my glucose?" — and watch the honesty surface (it refuses to guess what wasn't measured).
Privacy: this repo ships zero personal data. Reference libraries and your per-subject genome/health data live only in
~/.indaga/<subject>/on your own machine; nothing is uploaded, and grounding/panels run from downloaded files (no per-variant egress). The only optional network call at query time is a single gnomAD lookup during variant resolution, which is disclosed.
Layout
Indaga-agent/
├── README.md AGENTS.md CLAUDE.md INSTALL_FOR_AGENTS.md llms.txt llms-full.txt
├── pyproject.toml
├── skills/ # agent-facing capability skills (progressive disclosure)
│ ├── SKILL.md # root skill: routing + the honesty contract
│ ├── genome/ grounding/ journal/ synthesis/ analyze/ (SKILL.md each)
│ ├── circadian/ labs/ metabolic/ health-index/ domains/ (SKILL.md each)
│ └── conventions/evidence-envelope.md · output-rules.md
└── src/indaga/
├── runtime/ # ~/.indaga home, per-subject paths, secured 0600, audit, jobs, observability
├── store/ # the port (Reader/Writer/Store) + typed model + LocalSQLiteStore + conformance
├── evidence/ # the multi-omic EvidenceEnvelope + confidence calculus + allele-safe store reader
├── reference/ # the reference-library registry + downloader (ClinVar, PGS, Reactome, GenCC, …)
├── genome/ # AGI, VRS allele identity, predictors/ACMG, panels (ACMG SF/carrier), gene_disease …
├── operations/ # Operation model + registry + JSON-schema validation + indaga.invoke dispatcher
├── capabilities/ # genome · grounding (7 tools) · journal · synthesis · analyze · circadian · labs · …
├── spine/ # deterministic science (24h cosinor Biological Clock, CGM, PGS)
├── interfaces/ # MCP server (2025-11-25, stdio) + CLI + host_install
└── eval/ # envelope / allele-safety / genome-parity / analyze honesty gates
Status
A working multi-omic engine: own genome pipeline (chip → imputation → Active Genome Index →
annotation), 9 analytical-grounding tools (region/regulatory/pathways/GO/expression/celltype/gene/
gene-disease/diagnostic-panels — all local, zero-egress), the full industry-standard panel stack
(ACMG SF v3.3 · GenCC/ClinGen validity · PanelApp · ACMG carrier-113 · CPIC · PGS), a VRS-style durable
allele identity, an investigation journal, multi-omic synthesis, and a self-contained analyze
report — all behind one evidence-envelope honesty contract and a progressive-disclosure skills layer
(~49 tools). Gates: pytest + conformance / envelope / allele-safety / genome-parity / analyze.
Indaga-agent is wellness decision-support, not medical diagnosis.
License: AGPL-3.0-or-later — free to use, study, and modify; if you run a modified version as a network service, you must offer your source changes to its users (the AGPL network clause). For a commercial license without the copyleft obligations, get in touch.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。