apple-health-mcp
v0.5.0Unofficial local-first MCP server for Apple Health export data.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
apple_health_agent_manifest Apple Health Agent Manifest
Machine-readable install, runtime and privacy guidance for AI agents operating Apple Health export data.
| Parameter | Type | Description |
|---|---|---|
client | string | |
response_format | string |
apple_health_capabilities Apple Health MCP Capabilities
Explain supported Apple Health export data, unavailable live HealthKit access, privacy modes and recommended agent workflow.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
apple_health_connection_status Apple Health Connection Status
Check local Apple Health export path, Node version, privacy mode and Hermes client posture without reading full export data.
| Parameter | Type | Description |
|---|---|---|
client | string | |
response_format | string |
apple_health_quickstart Apple Health Quickstart
Personalized 3-step setup walkthrough for the human user. Adapts to current state (is APPLE_HEALTH_EXPORT_PATH set? does the export file exist and parse?). Call this first when the user asks 'how do I connect Apple Health?'. This connector is local-first and never touches Apple servers or cloud APIs.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
apple_health_demo Apple Health Demo
Returns realistic example payloads of apple_health_daily_summary, apple_health_weekly_summary, and apple_health_wellness_context with Apple-Watch-style values, so agents see the contract before parsing a real export.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
apple_health_privacy_audit Apple Health Privacy Audit
Return the local privacy and export-file posture without revealing health data.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
apple_health_list_records List Apple Health Records
List bounded records from a local Apple Health export.xml. Use type/start/end filters to keep output small.
| Parameter | Type | Description |
|---|---|---|
end | string | Optional ISO date/time upper bound. |
incremental_cache | boolean | When true and `type` is set, skip records already seen in a previous call (per-category cache at ~/.apple-health-mcp/incremental-cache.json). Cache auto-invalidates when the export file mtime changes. |
limit | integer | |
privacy_mode | string | |
response_format | string | |
start | string | Optional ISO date/time lower bound. |
type | string | Apple Health record type, e.g. HKQuantityTypeIdentifierStepCount. |
apple_health_list_workouts List Apple Health Workouts
List bounded workout records from a local Apple Health export.xml.
| Parameter | Type | Description |
|---|---|---|
end | string | Optional ISO date/time upper bound. |
limit | integer | |
privacy_mode | string | |
response_format | string | |
start | string | Optional ISO date/time lower bound. |
apple_health_export_freshness Apple Health Export Freshness
Check how recently the local Apple Health export file/directory was written. Returns mtime, days_since_export, an is_stale flag, and a recommendation. Considered stale if the export is older than 30 days, or older than 7 days with no recent records (the inventory's latest-record date is also older than 7 days). Use before relying on apple_health_daily_summary or apple_health_wellness_context to confirm the export is fresh.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
apple_health_data_inventory Apple Health Data Inventory
Scan the local Apple Health export once and report available record types, workouts, date coverage, freshness and safe next calls.
| Parameter | Type | Description |
|---|---|---|
end | string | Optional ISO date/time upper bound. |
privacy_mode | string | |
response_format | string | |
start | string | Optional ISO date/time lower bound. |
timezone | string | IANA timezone, e.g. America/Fortaleza. Defaults to APPLE_HEALTH_TIMEZONE or UTC. |
apple_health_daily_summary Apple Health Daily Summary
Build a daily wellness summary from local Apple Health export data. It is not live HealthKit and not medical advice.
| Parameter | Type | Description |
|---|---|---|
date | string | YYYY-MM-DD local date. Defaults to today in the configured timezone. |
response_format | string | |
timezone | string | IANA timezone, e.g. America/Fortaleza. Defaults to APPLE_HEALTH_TIMEZONE or UTC. |
apple_health_wellness_context Apple Health Wellness Context
Normalize local Apple Health export sleep, workout and activity data into the shared wellness_context shape for recommendation engines.
| Parameter | Type | Description |
|---|---|---|
date | string | YYYY-MM-DD local date. Defaults to today in the configured timezone. |
injury_flags | array | |
notes | string | |
response_format | string | |
soreness | array | |
timezone | string | IANA timezone, e.g. America/Fortaleza. Defaults to APPLE_HEALTH_TIMEZONE or UTC. |
apple_health_weekly_summary Apple Health Weekly Summary
Build a weekly wellness summary from local Apple Health export data. It is not live HealthKit and not medical advice.
| Parameter | Type | Description |
|---|---|---|
days | integer | |
end_date | string | YYYY-MM-DD local end date. Defaults to today in the configured timezone. |
privacy_mode | string | |
response_format | string | |
timezone | string | IANA timezone, e.g. America/Fortaleza. Defaults to APPLE_HEALTH_TIMEZONE or UTC. |
apple_health_profile_get Get Delx Wellness Profile
Read the shared Delx Wellness profile from ~/.delx-wellness/profile.json. Returns preferred name, goals, devices, training/nutrition/exercise/agent preferences and safety flags. NEVER contains OAuth tokens or API secrets — this connector is local-export and has no cloud auth, but the profile contract is the same across every Delx Wellness MCP. Read-only.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
apple_health_profile_update Update Delx Wellness Profile
Persist a partial patch to ~/.delx-wellness/profile.json. Requires explicit_user_intent=true (otherwise returns USER_ACTION_REQUIRED). Rejects secret-like fields (oauth, token, secret, password, cookie, refresh, api_key, session) at write time. Use to record preferred name, goals, devices, training context, nutrition context, exercise preferences, agent preferences, and safety flags.
| Parameter | Type | Description |
|---|---|---|
patch * | object | Partial WellnessProfileDocument patch. Top-level keys: profile, goals, devices, training, nutrition, preferences, safety, notes. |
explicit_user_intent | boolean | Must be true to persist. Prevents accidental writes from agent inference. |
response_format | string |
apple_health_clear_incremental_cache Clear Apple Health Incremental Import Cache
Manually clear the incremental import cache at ~/.apple-health-mcp/incremental-cache.json. The cache tracks the latest parsed timestamp per HealthKit category so subsequent `apple_health_list_records` calls (with `incremental_cache: true`) skip already-seen records. Use this when you want to force a full re-parse without changing the export file. The cache also auto-invalidates when the export file mtime changes.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
apple_health_reimport Reimport Apple Health Export from Watch Folder
Re-scan the configured watch folder (APPLE_HEALTH_WATCH_PATH or `setup --watch-path <dir>`) for a newer Apple Health export. If a newer export.xml/export.zip/apple_health_export directory is found, it is promoted to the active export, the in-memory snapshot cache and incremental cache are cleared, and subsequent summaries reflect the new data. With check_only=true, only report what would happen without promoting. This is the cross-platform recurring-refresh path — the native HealthKit bridge needs macOS and is separate.
| Parameter | Type | Description |
|---|---|---|
check_only | boolean | When true, report the watch-folder status without promoting a new export. |
force | boolean | When true, re-promote the newest export in the folder even if it already matches the active export (forces a cache refresh). |
response_format | string |
apple_health_onboarding Delx Wellness Onboarding Flow
Return the 11-question onboarding flow plus the current profile state and missing fields. Read-only — does NOT persist anything. Pair with apple_health_profile_update once the user answers. Cross-connector: the same profile is shared by every Delx Wellness MCP (whoop, garmin, oura, fitbit, strava, polar, withings, apple-health, samsung-health, google-health, nourish, cycle-coach, cgm, air).
| Parameter | Type | Description |
|---|---|---|
locale | string | Onboarding locale. Defaults to en. |
response_format | string |