Local-first · Bonjour · TLS-PSK

Apple Health, exposed as clean JSON.

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

Your health data, on your terms

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

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.

02 / Why HealthKite

Built for agents, not dashboards

Apple's own identifier vocabulary, columnar samples, and hoisted provenance — lean enough for an LLM to read in a single pass.

Cloud calls0Nothing leaves your network
MCP tools7workouts, sleep, vitals, day snapshots
LicenseMITOpen-source · cargo install
TransportTLS-PSKBonjour-discovered, authenticated

03 / MCP tools

What your agent can read

Seven read-only tools cover workouts, sleep, standalone quantities, and whole-day rollups — all in the same columnar shape.

MCP tools — read-only, HealthKit-native
ToolReturnsMethodEncodingStatus
get_day_snapshotOne day: sleep, steps, heart, mobilityGETjsonlive
list_workoutsPaginated workout summariesGETcolumnar-v1live
get_workoutFull workout detail by UUIDGETcolumnar-v1live
get_quantity_seriesAny HealthKit quantity seriesGETcolumnar-v1live
list_sleep_sessionsReconciled sleep + phase intervalsGETjsonlive

04 / Get started

Running in three minutes

Install the MCP server, toggle the LAN server in the app, and paste the pairing secret into your agent.

1 · Install
cargo install --git github.com/alpinevm/healthkite healthkite-mcp
2 · Toggle
Enable Local LAN Server in the HealthKite app
3 · Pair
Paste the pairing secret into your MCP client

05 / Start

Bring your health data to your agent

Free and open-source. Your data stays on your phone and your network.

Next step

Read the quickstart

Three minutes from install to your first query. The docs cover the wire format, every MCP tool, and the auth lifecycle.

Open the docs