Open Health Sync
One API for all your health data. Free, open source, on your own server.
What it does
Every health app and wearable sends data in its own format. Open Health Sync collects it all and gives it back in one clean format, through one API.
- In: Apple Health, Health Connect, Garmin, Oura, WHOOP, Fitbit, Withings, Polar, Strava, Dexcom and more.
- Out: a REST API, FHIR R4, CSV and Parquet, and an MCP server so an AI agent can read your data.
- Runs anywhere: one program plus Postgres, even on a Raspberry Pi. Your data stays with you.
Try it
You need Docker.
git clone https://github.com/soma-intelligence/open-health-sync.git && cd open-health-sync
cp .env.example .env
sed -i.bak "s|^OHS_ENCRYPTION_KEY=.*|OHS_ENCRYPTION_KEY=$(openssl rand -base64 32)|" .env
docker compose --env-file .env -f deploy/docker-compose.yml up -d --wait
docker compose --env-file .env -f deploy/docker-compose.yml exec ohs /ohs seed --demo
The last command loads 90 days of sample data and prints an API key and calls to try.
Or run it on a hosting platform, no server of your own:
Fly.io and Railway steps are in Deploy on a platform.
Next steps: API guide, self-hosting, releases.
Don't want to run a server?
Use the free hosted beta: same API, nothing to install. Test data only for now.
Learn more
Documentation · FAQ · Compare with Terra and others · Connect an AI agent · Contributing · Security
Not a medical device. Licensed under AGPL-3.0.