How it connects
iPhone → local bridge → agent
The app advertises a read-only service over Bonjour. Your MCP client connects over an authenticated TLS-PSK channel and reads HealthKit-native JSON — never a shared secret on the wire.
Local-first · Bonjour · TLS-PSK
HealthKite turns your iPhone into a local, read-only server for your own Apple Health data — discovered over Bonjour, secured with TLS-PSK, and read by any MCP agent on your Mac. No cloud. No account. Nothing leaves your network.
01 / Overview
The server runs only while the app is open, on your Wi-Fi. Nothing syncs to a cloud and nothing is copied off your device.
How it connects
The app advertises a read-only service over Bonjour. Your MCP client connects over an authenticated TLS-PSK channel and reads HealthKit-native JSON — never a shared secret on the wire.
02 / Why HealthKite
Apple's own identifier vocabulary, columnar samples, and hoisted provenance — lean enough for an LLM to read in a single pass.
03 / MCP tools
Seven read-only tools cover workouts, sleep, standalone quantities, and whole-day rollups — all in the same columnar shape.
| Tool | Returns | Method | Encoding | Status |
|---|---|---|---|---|
| get_day_snapshot | One day: sleep, steps, heart, mobility | GET | json | live |
| list_workouts | Paginated workout summaries | GET | columnar-v1 | live |
| get_workout | Full workout detail by UUID | GET | columnar-v1 | live |
| get_quantity_series | Any HealthKit quantity series | GET | columnar-v1 | live |
| list_sleep_sessions | Reconciled sleep + phase intervals | GET | json | live |
04 / Get started
Install the MCP server, toggle the LAN server in the app, and paste the pairing secret into your agent.
05 / Start
Free and open-source. Your data stays on your phone and your network.
Next step
Three minutes from install to your first query. The docs cover the wire format, every MCP tool, and the auth lifecycle.