Start with Health.md
Available now · signed Mac helper
Export health data, connect a local agent, or use a versioned contract. HealthKit stays on iPhone. Health Connect stays on Android.
For a different install location, copy the helper path from Health.md for Mac → CLI.
Available now · macOS
Ten-minute local agent quickstart
Section titled “Ten-minute local agent quickstart”Use the signed Mac helper with a connected iPhone. This example checks setup, lists sleep metrics, and queries one day.
HMD="/Applications/Health.md.app/Contents/Helpers/healthmd""$HMD" doctor"$HMD" metrics list --category Sleep"$HMD" query --category Sleep --yesterdayA ready doctor result uses the healthmd.cli_doctor schema. It gives the next action when setup is incomplete.
For Codex or Claude, configure the separate healthmd-mcp helper.
Agent configuration reference →
Choose by goal
Configure and connect
Section titled “Configure and connect”Everyday operations
Query, extract, and automate
Section titled “Query, extract, and automate”Stable interfaces
Data contracts and structures
Section titled “Data contracts and structures”Product workflows
Apps and exports
Section titled “Apps and exports”Export profiles
Section titled “Export profiles”- Choose Summary or shared Detailed Time-Series output. Lossless Health Records is available only on Apple platforms.
- Save separate settings, destinations, and schedules in local profiles.
- A stop or cancel action affects only the active attempt. Completed dates stay complete, and unresolved dates remain available to retry. The action does not disable a recurring schedule.
Read Export profiles for stable IDs, automation, destination history, and failure behavior.
Documentation structure updated 2026-08-31