Atlas / MCP servers / soma-intelligence / open-health-sync

open-health-syncBLOCK

mcp/soma-intelligence/open-health-sync

Self-hosted, open-source API for wearable and health data, in Go. Syncs Apple Health, Health Connect, Oura, WHOOP, Withings, Strava, Fitbit, Dexcom and more into one model, served over REST, FHIR R4, Open mHealth, CSV/Parquet, webhooks and a read-only MCP server. Docker, Helm, Raspberry Pi. AGPL-3.0

Verdict
BLOCK
Grade
F
Trust score
36 /100
Exposed tools
—
Transport
stdio · streamable-http
License
AGPL-3.0
Stars
1
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

<img src="docs/assets/readme/hero-light.png" width="100%" alt="Open Health Sync: thirteen sources flow into one Go binary (background sync, raw store, normalize, Postgres). Apple Health and Withings are in v0.0.2; Oura, WHOOP, Fitbit, Polar, Strava, Suunto, Ultrahuman, intervals.icu, Dexcom, OMRON and Health Connect ship in the next release. Outputs: REST API and read-only MCP in v0.0.2; FHIR R4, Open mHealth, CSV/Parquet exports and outgoing webhooks in the next release. Garmin, Coros and Samsung Health via Health Connect are planned. The JSON shown is a real heart rate sample read back from the API.">

One open API for wearable and health data. On your own server.

Apple Health and Withings in today; Oura, WHOOP, Fitbit, Health Connect, Dexcom, OMRON and five more in the next release. One clean model out, over REST and a read-only MCP server for AI agents, with FHIR R4 in the next release. Free, one Go binary plus Postgres, runs on a Raspberry Pi.

[](https://github.com/soma-intelligence/open-health-sync/actions/workflows/ci.yml) [](https://github.com/soma-intelligence/open-health-sync/releases) [](https://github.com/soma-intelligence/open-health-sync/releases) [](go.mod) [](LICENSE)

Read from source at commit 7b2551898b47OBSERVED · 2026-10-13
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (oci)
claude mcp add open-health-sync:0.0.2 --env OHS_MCP_KEY=${OHS_MCP_KEY} -- docker run -i --rm ghcr.io/soma-intelligence/open-health-sync:0.0.2:None mcp
03

Trust audit

BLOCKgrade F · trust 36/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (3 observation(s))
Network
declared (7 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/audit/audit.go:93
Exec(ctx context.Context, sql string, args ...any) (pgconn.CommandTag, error)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/collect/connections.go:205
Exec(ctx context.Context, sql string, args ...any) (pgconn.CommandTag, error)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.env.example:4
OHS_DATABASE_URL=postgres://ohs:ohs@localhost:5432/ohs?sslmode=disable
MEDIUMInventory / provenance · inv.binary · CWE-1104
recipes/__pycache__/ai-agent.cpython-313.pyc
ai-agent.cpython-313.pyc
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
recipes/__pycache__/compare-sources.cpython-313.pyc
compare-sources.cpython-313.pyc
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
recipes/__pycache__/connect.cpython-313.pyc
connect.cpython-313.pyc
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
recipes/__pycache__/dashboard.cpython-313.pyc
dashboard.cpython-313.pyc
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
internal/collect/subscriptions.go:102
INSERT INTO ohs_sync.inbound_subscriptions (tenant_id, user_id, provider, topic, callback_url, status)
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
internal/collect/subscriptions.go:105
callback_url = EXCLUDED.callback_url, status = 'pending', attempts = 0,
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
internal/collect/subscriptions.go:144
SELECT id, tenant_id, user_id, provider, callback_url
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
internal/collect/subscriptions.go:395
rows, err := tx.Query(ctx, `SELECT id, callback_url, status, attempts FROM ohs_sync.inbound_subscriptions
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/ci.yml:93
helm lint --strict deploy/helm/ohs --set database.url=postgres://ohs:ohs@db:5432/ohs
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/ci.yml:102
helm template ohs deploy/helm/ohs --set database.url=postgres://ohs:ohs@db:5432/ohs > default.yaml
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
deploy/helm/ci/kind.yaml:10
url: postgres://ohs:ohs@postgres:5432/ohs?sslmode=disable&pool_max_conns=20
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
docs-site/content/docs/(guides)/self-hosting/binaries.mdx:39
export OHS_DATABASE_URL='postgres://ohs:secret@localhost:5432/ohs?sslmode=disable&pool_max_conns=20'
LOWInventory / provenance · inv.binary · CWE-1104
examples/android/gradle/wrapper/gradle-wrapper.jar
gradle-wrapper.jar
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.hidden_file · CWE-1104
.gitleaks.toml
.gitleaks.toml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
deploy/helm/ohs/.helmignore
.helmignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/api/api_integration_test.go:123
func (e *env) exec(sql string, args ...any) {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/consent/consent_integration_test.go:136
exec(`INSERT INTO ohs_data.quantity_samples (tenant_id, user_id, provider, quantity_type, value, start_date, content_hash)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/consent/consent_integration_test.go:138
exec(`INSERT INTO ohs_data.quantity_samples (tenant_id, user_id, provider, quantity_type, value, start_date, content_hash)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
sdks/react-native/example/quickstart.ts:40
console.log(`minted a user token with scopes ${userToken.scopes.join(",")}`);
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/ios/project.yml:14
path: ../../sdks/swift
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/react-native/metro.config.js:10
const sdkRoot = path.resolve(projectRoot, "../../sdks/react-native");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/collect/upload_integration_test.go:80
raw, err := os.ReadFile("../../connectors/applehealth/testdata/ios_upload_lines.ndjson")

Gates applied: no_behavioural_pass.

Audited 2026-10-13 · audit v0.4.1 · source sha 7b2551898b47full audit observations/trust-audit/mcp-server/soma-intelligence__open-health-sync.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-137b2551898b47BLOCKF36first audit
05

Questions

What is the open-health-sync MCP server?

Self-hosted, open-source API for wearable and health data, in Go. Syncs Apple Health, Health Connect, Oura, WHOOP, Withings, Strava, Fitbit, Dexcom and more into one model, served over REST, FHIR R4, Open mHealth, CSV/Parquet, webhooks and a read-only MCP server. Docker, Helm, Raspberry Pi. AGPL-3.0

Is open-health-sync safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (36/100) and found 3 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does open-health-sync need?

It reads OHS_KEY and OHS_MCP_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does open-health-sync run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as open-health-sync-react-native at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (7b2551898b47), read on 2026-10-13. The repository is watched and re-audited when it changes.

Advertisement