Health Access MCP

v1.1.2
com.healthaccessmcp/healthaccess-mcp Checked 4 days ago Published 1 day ago

Apple Health and Apple Watch workouts for your AI, from local files.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_catalog

What Health holds for this athlete: every HealthKit type with has_data, sample count over 90 days, first and last date and where the app exported it, plus the coverage check against the identifier list this build knows (types with data not exported, unknown types with data).

get_day

Everything Health holds for one day, in groups: activity (rings, steps, distances, energy, physical effort), heart (resting, HRV, VO2max, events), respiratory, sleep, body, blood, mobility, hearing, nutrition, mind, symptoms, cycle, medications, hygiene, uv, wheelchair, audiogram, vision. Only groups with data are present.

ParameterTypeDescription
date *stringThe day, `YYYY-MM-DD`.

get_days

The day files of a date range (at most 366 days), oldest first, optionally reduced to the groups you name, so you can follow sleep, resting heart rate or rings over time in one call.

ParameterTypeDescription
from *stringFirst day, `YYYY-MM-DD`.
to *stringLast day, `YYYY-MM-DD` (inclusive, at most 366 days after `from`).
groupsarray | nullGroups to keep, e.g. ["heart", "sleep"]. Default: every group a day has.

get_plan_status

Whether a plan reached the Watch: pending (not on the Watch yet), scheduled (with scheduled_for), failed (with the error) or cancelled (the athlete removed it from the Watch).

ParameterTypeDescription
id *stringPlan id as returned by `push_plan` or `list_plans`.

get_profile

The athlete's characteristics as Health has them: age and birth year, biological sex, blood type, wheelchair use, move mode, skin type.

get_vitals

Resting heart rate, HRV, sleep, weight, steps, VO2max and blood pressure by day for the last N days, with simple averages.

ParameterTypeDescription
daysinteger | nullHow many days back, default 30.

get_workout

One session in full: every part with its label, distance, pace and heart rate (also as parts_text lines you can quote; a run, walk or hike without a plan gets one line per km or mile split instead, from app 1.0.5), metres climbed, zone seconds, pool lengths with stroke and SWOLF, recovery heart rate, the athlete's effort and feel, cardiac cost. Heart-rate series only if you ask.

ParameterTypeDescription
id *stringWorkout id (full UUID or its first 8 characters) or file name.
include_hr_seriesboolean | nullInclude the heart-rate series (about one sample every 5 s). Default false.
include_lapsboolean | nullInclude pool lengths. Default true.

list_ecgs

Every ECG the Watch recorded, newest first: time, classification, symptoms status, average heart rate, sampling frequency, algorithm version, device, and whether a voltage file sits next to it.

list_plans

Every plan in plans/ with its state, planned distance and time, newest first.

list_workouts

Compact rows, newest first, one line per session written for you: date, sport, distance, time, average heart rate, effort with its source and whether it is rated. Filter by start date and sport.

ParameterTypeDescription
limitinteger | nullMaximum rows, default 20, max 200.
sincestring | nullOnly workouts starting on or after this date (`YYYY-MM-DD` or RFC 3339).
sportstring | nullActivity filter: `pool_swim`, `indoor_row`, `cycle`, `walk`, `run` (`swim` matches both swim kinds).

push_plan

Validates a session (sport one of run, indoor_run, walk, hike, cycle, indoor_cycle, pool_swim, open_water_swim, indoor_row, hiit, elliptical, strength; labels under 40 characters, zones 1 to 5 or a pace range on run and cycle steps, goals time_s, distance_m or open; or a pacer for a race on run or cycle) and writes it to plans/. Set scheduled_for to the day and time the athlete will do it: the app schedules it on the Watch for that time (one tap in the Import tab, or automatically when the athlete switched that on). Ask the athlete before you write one.

ParameterTypeDescription
plan *

rate_workout

Stores the effort the athlete told you (1 to 10) and an optional feel note in the session file, marked effort_source ai. Call it only after the athlete told you the number; Apple's own rating wins unless the athlete asks to change it (then pass override true).

ParameterTypeDescription
effort *integerEffort 1 (trivial) to 10 (all out), exactly as the athlete said it.
id *stringWorkout id (full UUID or its first 8 characters) or file name.
feelstring | nullShort free-text note, e.g. "legs heavy, breathing fine". Omit to keep the existing note.
overrideboolean | nullSet true only when the athlete asks to replace their own rating from Apple (a file with effort_source "apple" is otherwise left alone). Default false.

training_summary

Per ISO week: sessions, time, distance, average heart rate, easy-zone share, mean effort (any source) and the cardiac cost trend (heart beats per 100 m at the best freestyle 100 pace, lower is better), plus volume by sport.

ParameterTypeDescription
weeksinteger | nullHow many ISO weeks (ending this week), default 8, max 104.