OwnHealth is a self-hosted health data layer you own. It keeps your lab results, medical records from any country, wearable data and genome findings in one place you run yourself. You read it in two ways: a web page, and an MCP server that lets an agent such as Claude Code answer "how is my health right now?" with a source behind every value.
There is no chat agent and no AI model inside OwnHealth. The agent is yours, and it sees only what its token allows.
You run it yourself.
Status: 1.0.4. Upgrades from every 0.x release keep your data: see UPGRADING.md for the steps, and the changelog.
- One dashboard for the whole family, one profile per person, with OK, Watch, Out, Stale or No data per body system
- Track lab results from PDFs over time. Each result links to the exact page and position. Uncertain results wait in Import & review. Corrected results keep their source links.
- Inboxes, so data arrives without an upload: a mailbox of its own (allowed senders go to their profile, everything else waits in quarantine until you release it), a watched folder for a scanner or a synced phone folder, Paperless-ngx, the Android share target and an iOS Shortcut
- Local OCR for scans and photos. The
ocrCompose profile runs thedrumsergio/ownhealth:<version>-ocrimage on the CPU and checks each result against the page. With OCR off, scans wait in Import & review. You can enter the results by hand or use your own agent over MCP. - FHIR and IPS bundles, C-CDA files, SMART Health Cards and Links, the Apple Health export, Health Auto Export, Gadgetbridge, and Nightscout with a CGM summary
- Manual lab entry for numbers, comparators such as
<10, text results, titres and reference ranges. You can record the time of day when you know it. - US patient portals (Epic, Oracle Health, athenahealth, eClinicalWorks, MEDITECH, NextGen, VA) through SMART on FHIR, and Medicare claims through CMS Blue Button, each with your own registered vendor app, synced every day
- Wearables: Oura, WHOOP, Polar and Withings through the optional
wearablesprofile, and Garmin, Strava, Fitbit, FIT, LibreView and Dexcom Clarity exports; a sync alert when a source stops - Imaging: hospital CDs imported into Orthanc in the optional
imagingprofile, opened in a sandboxed viewer next to their report - Genome findings from OwnGenome: drug response, carrier status and risk variants, joined with your medications and labs
- A drug check that quotes the CPIC guideline for your genotype, and DPWG text from your genome file, next to your current medicines, supplements and relevant labs
- Medicines with their schedule and prescriber, and supplements with a label photo and your recorded decision
- Appointments and supplement plans with version history and links to completed visits and recorded supplement courses
- Calculators with their citation and sourced inputs: eGFR (CKD-EPI 2021), FIB-4, HOMA-IR, SCORE2 and PREVENT, or the reason one does not apply
- The screenings and vaccines due for each person by their country's guideline (Spain and the US), the tests to ask for at the next blood draw, and a private calendar feed
- Family history with parent links for earlier generations, cited patterns and FHIR exports
- Weekly ClinVar checks for carried variants, with comparison status and the last successful release for each genome import
- A two-page doctor summary and an International Patient Summary, in Spanish or English, where every value names its source; share it through a SMART Health Link with a PIN and revoke, or as an emergency card
- An MCP server for reading cited records, timelines, wearable summaries, and family history. Use a token or connect through OAuth 2.1 in claude.ai or Claude Code. Access follows the profile and token permissions. Proposed changes and assistant uploads wait in Import & review.
- Passkeys, a hash-chained audit log, each profile's files under its own key, emergency access that opens after a delay once the owner's calendar feed has shown the request (the owner can cancel it), a full export, and restic backups with a scripted restore test
- Dark theme, Spanish and English, and German, French, Catalan, Italian and Portuguese as beta languages
Lab PDFs use generic table rules and one template for the fictional LabNorte lab. The LOINC subset contains 206 codes. Results outside that subset wait in review. OCR rows wait in review unless they match a template and pass the acceptance checks. MCP can read Polar API data and supported personal exports. Data from the Oura, WHOOP and Withings APIs stays on the Wearables page and its REST routes. The Dexcom API connector is not built yet. Dexcom readings come in through a Clarity CSV export or Nightscout. See vendor terms. The US connectors still await live verification.
Later: EU formats, a connector SDK and a companion app. See the roadmap.
You need Docker with Compose v2. OwnHealth runs as one app container, a single Rust binary with the web UI built in (a 364 MB image), next to PostgreSQL 17. OCR is optional: the ocr profile adds a worker from the -ocr image (436 MB), see deploy/README.md.
git clone https://github.com/GeiserX/OwnHealth.git
cd OwnHealth
cp .env.example .env
openssl rand -hex 32 # paste as OWNHEALTH_DB_PASSWORD in .env
openssl rand -hex 32 # paste as OWNHEALTH_APP_DB_PASSWORD in .env
openssl rand -hex 48 # paste as OWNHEALTH_SECRET_KEY in .env
mkdir -m 700 secrets && openssl rand -base64 32 | tr -d '\n' > secrets/secrets_key && chmod 644 secrets/secrets_key
# seals every profile's files and inbox secrets: keep a copy with your backups
mkdir -p inbox && sudo chown 10001:10001 inbox # the watched folder, writable by the app
mkdir -p -m 700 keyring/ownhealth && sudo chown 10001:10001 keyring/ownhealth # the profile keys: never version this folder
docker compose up -dOpen http://localhost:8080, create your account with a passkey, and import a lab report under Import & review. To have reports arrive by themselves, add a mailbox, the folder, Paperless-ngx or a phone under Inbox; the recipes cover each one.
Connect Claude Code with a token from MCP & access:
export OWNHEALTH_PAT=oh_pat_... # the token you copied
claude mcp add --transport http ownhealth http://localhost:8080/mcp \
--header "Authorization: Bearer ${OWNHEALTH_PAT}"The app listens on 127.0.0.1 only. For HTTPS on your network, backups and restores, see deploy/README.md. The full walk-through, with a demo family to look around first, is in docs/quickstart.md.
OwnHealth is for personal record keeping and for showing values computed from published formulas, each with its source. It is information, not diagnosis. It does not tell anyone what to take or stop; pharmacogenomic results quote the published guideline and link it.
Full documentation: geiserx.github.io/OwnHealth.
- Quick start and deploy, back up, restore
- MCP tool reference for connection setup and example responses
- Recipes for the inboxes and the claude.ai connector, and agent-assisted extraction
- Plan: the problem, principles and decisions
- Roadmap: phases, deliverables and exit criteria
- Mockup: every screen with synthetic data
- Design: architecture, ingestion, connectors, MCP, genomics, security, privacy and threat model
- Rivals
- Contributing: how to add a lab template or an alias
- Guideline files: how to add a country's screenings and vaccines
- Security policy
OwnGenome produces the genome findings OwnHealth shows. It turns a whole genome or a consumer chip into drug-response, carrier and risk findings; OwnHealth ingests them and joins them with your medications and labs.
