MetricBridge Apple Health MCP Server
Ask your agent about your own Apple Health data: 194 metrics, 21 tools, local, 0 deps.
MetricBridge Apple Health scores 49 (Fair), licensed MIT and written in JavaScript. It installs as a local process. It declares 21 tools. Filed under AI and memory. GitHub shows 12 stars. Package registries report about 219 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
49 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
78/100 for listing completeness. Lost points: short README, short summary.
How quality is graded
Where the 49 comes from
0 + 20 + 8 + 10 + 4 + 7 = 49. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "philipad-health-export-mcp": { "command": "npx", "args": [ "-y", "health-export-mcp@1.12.0" ], "env": { "HEALTH_DATA_DIR": "", "PAIRING_SECRET": "YOUR_PAIRING_SECRET", "HEALTH_EXPORT_PASSPHRASE": "YOUR_HEALTH_EXPORT_PASSPHRASE" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
HEALTH_DATA_DIR | Optional | Folder holding .health-cache.json from the MetricBridge iOS app. Unset on a Mac, the server reads ~/Library/Mobile Documents/iCloud~ai~healthexport~app/Documents if it exists. |
PAIRING_SECRETSecret | Optional | Only if Agent pairing is on in the iOS app (Settings > Agent pairing). |
HEALTH_EXPORT_PASSPHRASESecret | Optional | Only if Export encryption is on in the iOS app. |
HEALTH_DATA_DIR | Optional | Folder holding .health-cache.json from the MetricBridge iOS app. Unset on a Mac, the server reads ~/Library/Mobile Documents/iCloud~ai~healthexport~app/Documents if it exists. |
PAIRING_SECRETSecret | Optional | Only if Agent pairing is on in the iOS app (Settings > Agent pairing). |
HEALTH_EXPORT_PASSPHRASESecret | Optional | Only if Export encryption is on in the iOS app. |
Tools21Tool docs quality grade C
All capabilitiesadd_eventtoolLog an event the user states (a medication start, a trip) into health-events-agent.json, the one file this server writes. Idempotent by clientEventId.
compare_periodstoolA metric across two arbitrary date periods (A vs B), or around a logged event via anchor: {eventId, days} (the event day excluded from both sides).
Pearson correlation between two metrics with a 0..3 day lag. Association, not causation, always stated.
get_check_instoolMorning check-ins the user chose to share (health-check-ins.json, off by default in the app): self-rated feeling 1 to 5, note, intention and whether it happened, plus a summary. A self-rating, not a measurement.
Day-in-cycle and coarse phase derived from logged period starts. Never predictive.
get_freshnesstoolHow current the export is: stale judged on the core files (daily cache, sleep sessions) against a stated threshold (26 h by default, HEALTHSTALEAFTERHOURS, or maxAgeHours), agehours, asof, lastdatadate, per-file write times. state: "staleco
Daily values for a metric (or all) over a date range + an aggregate (avg/sum/min/max/latest). Supports filterDays (restrict to days covered by logged events, with negate). Blood pressure at day granularity also lists the individual readings
get_intradaytoolThe hour-by-hour window from the app's hourly automations (health-intraday.json, app 1.4+): yesterday and today, replaced each run, with each hour's Min/Max for discrete metrics when the app writes them.
get_mcp_statustoolHealth check: source, metric/workout counts, which context files exist, latest data date, and a freshness summary. Call first.
get_profiletoolOpted-in context fields (conditions, medications, goals, allergies, notes) plus presentFields. Absent fields were withheld, never "none".
Clustered sleep sessions attributed to the waking day; split nights returned as separate sessions, duplicate copies of one night collapsed (collapsedDuplicates).
get_strength_logtoolThe strength log typed into the iOS app (health-strength.json, opt-in, off by default, from the iCloud or folder export or from the LAN push): each session with every set as entered, volumeKg, workingSets, an Epley bestEstimateKg per exerci
About
Open-source Apple Health MCP server for the MetricBridge iOS app: 194 metrics, 21 tools (19 read-only), 23 prompts. Zero deps, local stdio, no account. Query your own Apple Health from Claude, Cursor and any MCP agent.
Frequently asked questions
What is MetricBridge Apple Health MCP Server?
Ask your agent about your own Apple Health data: 194 metrics, 21 tools, local, 0 deps.
How do I install MetricBridge Apple Health MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MetricBridge Apple Health MCP Server runs locally from the npm package health-export-mcp with the command npx -y health-export-mcp@1.12.0.
Is MetricBridge Apple Health MCP Server free and open source?
Yes. MetricBridge Apple Health MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does MetricBridge Apple Health MCP Server support remote (HTTP) connections?
No remote endpoint is listed for MetricBridge Apple Health MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does MetricBridge Apple Health MCP Server provide?
MetricBridge Apple Health MCP Server provides 21 tools, including add_event, compare_periods, correlate_metrics, and get_check_ins. See the full tool list for descriptions and parameters.
How is MetricBridge Apple Health MCP Server's trust score calculated?
MetricBridge Apple Health MCP Server scores 49 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.