# OwnHealth

![OwnHealth](<https://geiserx.github.io/OwnHealth/images/banner.svg>)

The health data layer you own

Labs, records, wearables and genome in one self-hosted store, with a web dashboard and an MCP server for your own agent.

1.0.1 · AGPL-3.0-or-later

[Quick start](<https://geiserx.github.io/OwnHealth/quickstart/index.md>) [MCP tool reference](<https://geiserx.github.io/OwnHealth/mcp-tools/index.md>)

![Health at a glance: the household and one card per body system for Alex, of the synthetic Rivera family](<https://geiserx.github.io/OwnHealth/images/screenshots/dashboard.png>)

[![Version](<https://img.shields.io/github/v/tag/GeiserX/OwnHealth?style=flat-square&amp;label=version>)](<https://github.com/GeiserX/OwnHealth/blob/main/CHANGELOG.md>) [![Docker Pulls](<https://img.shields.io/docker/pulls/drumsergio/ownhealth?style=flat-square&amp;logo=docker>)](<https://hub.docker.com/r/drumsergio/ownhealth>) [![GitHub Stars](<https://img.shields.io/github/stars/GeiserX/OwnHealth?style=flat-square&amp;logo=github>)](<https://github.com/GeiserX/OwnHealth/stargazers>) [![License: AGPL-3.0-or-later](<https://img.shields.io/github/license/GeiserX/OwnHealth?style=flat-square>)](<https://github.com/GeiserX/OwnHealth/blob/main/LICENSE>)

---

## Why it exists

Your health data sits in lab portals, PDFs, phone apps and a genome file, often from more than one country. OwnHealth puts it in one store on a machine you run. Each value stays linked to the page it came from. Your own agent can read the store over MCP, and every answer cites its source.

There is no AI model inside OwnHealth and no account with anyone. The agent is yours, and it sees only what its token allows.

## What it does

- One profile per person, and one dashboard for the household. Each body system shows OK, Watch, Out, Stale or No data.
- Reads lab PDFs into values you can trend. A value it is not sure of waits in a [review queue](<https://geiserx.github.io/OwnHealth/quickstart/index.md#3-import-a-lab-report>).
- Takes data from a mailbox, a watched folder, Paperless-ngx, a phone, FHIR and IPS bundles, Apple Health, Gadgetbridge and Nightscout. The [recipes](<https://geiserx.github.io/OwnHealth/recipes/index.md>) set up each one.
- Shows genome findings from [OwnGenome](<https://github.com/GeiserX/OwnGenome>) next to your medicines and labs, and quotes the CPIC guideline for a drug.
- Runs published [calculators](<https://geiserx.github.io/OwnHealth/calculators/index.md>) (eGFR, FIB-4, HOMA-IR, SCORE2, PREVENT) with their citations, or says why one does not apply.
- Serves an [MCP server](<https://geiserx.github.io/OwnHealth/mcp-tools/index.md>) with 10 tools, scoped per person and per token.

## What it looks like

These screens come from the running app with its demo household, the synthetic Rivera family.

![LDL cholesterol from 2021 to 2026, the usual level, the medicines taken, and every measurement with its source](<https://geiserx.github.io/OwnHealth/images/screenshots/biomarker.png>)

A marker over the years

![A lab page with the read values boxed, and the extracted rows waiting for review](<https://geiserx.github.io/OwnHealth/images/screenshots/import-review.png>)

Import and review

![A drug check that quotes the CPIC guideline for a CYP2C19 genotype, next to the current medicines](<https://geiserx.github.io/OwnHealth/images/screenshots/drug-check.png>)

Drug check

![The household: members, roles and the grants between them](<https://geiserx.github.io/OwnHealth/images/screenshots/family.png>)

The family

![Tokens with their scopes, the claude mcp add command and the audit log](<https://geiserx.github.io/OwnHealth/images/screenshots/mcp-access.png>)

MCP and access

![Visits, labs, medicines and vaccines on one timeline, filterable by country](<https://geiserx.github.io/OwnHealth/images/screenshots/timeline.png>)

Timeline

On a phone:

![Health at a glance on a phone](<https://geiserx.github.io/OwnHealth/images/screenshots/dashboard-mobile.png>)

Health at a glance

![Import and review on a phone: the extracted rows and their reasons](<https://geiserx.github.io/OwnHealth/images/screenshots/import-review-mobile.png>)

Import and review

![LDL cholesterol over the years on a phone](<https://geiserx.github.io/OwnHealth/images/screenshots/biomarker-mobile.png>)

A marker over the years

## Start in ten minutes

You need Docker with Compose v2. Clone the repository, fill four secrets in `.env`, and run `docker compose up -d`. Open http://localhost:8080, register a passkey, and drop a lab report PDF on **Import & review**. The [quick start](<https://geiserx.github.io/OwnHealth/quickstart/index.md>) has every command, and a demo family to look around with first.

## What it does not do

- It does not diagnose. It keeps records and shows values with the formulas and sources they come from.
- It does not tell anyone what to take or stop. A pharmacogenomic result quotes the published guideline and links it.
- It has no cloud of its own. The app listens on `127.0.0.1` until you put a reverse proxy in front. An agent you connect over MCP sends what it reads to that agent's model provider, so pick one you trust with medical data.

## Privacy and security

Logins use passkeys. Every read through MCP goes to an append-only audit log. A token reaches only the people and the kinds of data you pick, and free text from a document reaches an agent marked as untrusted. [Security, privacy and regulation](<https://geiserx.github.io/OwnHealth/design/security-privacy/index.md>) says what we protect, and from whom.

## Every page

- **Get started:** [Quick start](<https://geiserx.github.io/OwnHealth/quickstart/index.md>), [Upgrading](<https://github.com/GeiserX/OwnHealth/blob/main/UPGRADING.md>) (the steps for every release), [Recipes](<https://geiserx.github.io/OwnHealth/recipes/index.md>) ([email](<https://geiserx.github.io/OwnHealth/recipes/email/index.md>), [Paperless-ngx](<https://geiserx.github.io/OwnHealth/recipes/paperless-ngx/index.md>), [scanner to folder](<https://geiserx.github.io/OwnHealth/recipes/scanner-to-folder/index.md>), [Health Auto Export](<https://geiserx.github.io/OwnHealth/recipes/health-auto-export/index.md>), [Gadgetbridge](<https://geiserx.github.io/OwnHealth/recipes/gadgetbridge/index.md>), [Nightscout](<https://geiserx.github.io/OwnHealth/recipes/nightscout/index.md>), [iOS Shortcut](<https://geiserx.github.io/OwnHealth/recipes/ios-shortcut/index.md>), [claude.ai connector](<https://geiserx.github.io/OwnHealth/recipes/claude-connector/index.md>)), [Agent-assisted extraction](<https://geiserx.github.io/OwnHealth/agent-extraction/index.md>).
- **Reference:** [MCP tools](<https://geiserx.github.io/OwnHealth/mcp-tools/index.md>), [Calculators](<https://geiserx.github.io/OwnHealth/calculators/index.md>) ([eGFR](<https://geiserx.github.io/OwnHealth/calculators/ckd-epi-2021/index.md>), [FIB-4](<https://geiserx.github.io/OwnHealth/calculators/fib-4/index.md>), [HOMA-IR](<https://geiserx.github.io/OwnHealth/calculators/homa-ir/index.md>), [SCORE2](<https://geiserx.github.io/OwnHealth/calculators/score2/index.md>), [PREVENT](<https://geiserx.github.io/OwnHealth/calculators/prevent/index.md>), [RCV](<https://geiserx.github.io/OwnHealth/calculators/rcv/index.md>), [baseline](<https://geiserx.github.io/OwnHealth/calculators/baseline/index.md>)), [Guideline files](<https://geiserx.github.io/OwnHealth/guidelines/index.md>), [OCR benchmark](<https://geiserx.github.io/OwnHealth/ocr-benchmark/index.md>).
- **How it works:** [architecture](<https://geiserx.github.io/OwnHealth/design/architecture/index.md>), [ingestion](<https://geiserx.github.io/OwnHealth/design/ingestion/index.md>), [connectors](<https://geiserx.github.io/OwnHealth/design/connectors/index.md>), [MCP design](<https://geiserx.github.io/OwnHealth/design/mcp/index.md>), [genome data](<https://geiserx.github.io/OwnHealth/design/genomics/index.md>), [security and privacy](<https://geiserx.github.io/OwnHealth/design/security-privacy/index.md>).

## Getting help

- Something broken: open an [issue](<https://github.com/GeiserX/OwnHealth/issues>) with synthetic data only.
- A security problem: follow the [security policy](<https://github.com/GeiserX/OwnHealth/blob/main/SECURITY.md>), never a public issue.
- What changed: the [changelog](<https://github.com/GeiserX/OwnHealth/blob/main/CHANGELOG.md>). What comes next: the [roadmap](<https://github.com/GeiserX/OwnHealth/blob/main/docs/ROADMAP.md>).

## License

OwnHealth is released under the [AGPL-3.0-or-later](<https://github.com/GeiserX/OwnHealth/blob/main/LICENSE>) license.
