Apple Health MCP server
Unofficial local-first MCP server for Apple Health export data.
3 stars272 downloads/wk
Reviews
Write oneNobody has reviewed Apple Health yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Apple Health tools (18, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
apple_health_agent_manifestMachine-readable install, runtime and privacy guidance for AI agents operating Apple Health export data.
apple_health_capabilitiesExplain supported Apple Health export data, unavailable live HealthKit access, privacy modes and recommended agent workflow.
apple_health_clear_incremental_cacheManually 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 fil
apple_health_connection_statusCheck local Apple Health export path, Node version, privacy mode and Hermes client posture without reading full export data.
apple_health_daily_summaryBuild a daily wellness summary from local Apple Health export data. It is not live HealthKit and not medical advice.
apple_health_data_inventoryScan the local Apple Health export once and report available record types, workouts, date coverage, freshness and safe next calls.
apple_health_demoReturns 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.
apple_health_export_freshnessCheck 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 co
apple_health_list_recordsList bounded records from a local Apple Health export.xml. Use type/start/end filters to keep output small.
apple_health_list_workoutsList bounded workout records from a local Apple Health export.xml.
apple_health_onboardingReturn 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).
apple_health_privacy_auditReturn the local privacy and export-file posture without revealing health data.
apple_health_profile_getRead 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.
apple_health_profile_updatewrite actionPersist 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.
apple_health_quickstartPersonalized 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.
apple_health_reimportRe-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 wi
apple_health_weekly_summaryBuild a weekly wellness summary from local Apple Health export data. It is not live HealthKit and not medical advice.
apple_health_wellness_contextNormalize local Apple Health export sleep, workout and activity data into the shared wellness_context shape for recommendation engines.
Public scan report
scanner v0.1.10 · 2026-11-10 · same rubric, same numbers if you re-run it
- Code scan58 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 5 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Apple Health compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 93% of 48,114 servers
- Tools
- 18
- the typical server has 7
- Tools that change things
- 6%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 80% of 28,851 servers
- Downloads a week
- 272
- more than 75% of 15,093 servers with a package
What its tools let an agent do: 17 read · 1 change
Install Apple Health in Claude Code, Cursor or VS Code
Runs npx -y apple-health-mcp-unofficial on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add apple-health-mcp -- npx -y apple-health-mcp-unofficial
What the publisher says
From the Apple Health repository's README, as published. We do not edit it. Read it on GitHub
<!-- delx-wellness header v2 --> Apple Health MCP
Give your AI agent your Apple Health activity, sleep, HRV and workouts — from your local export.zip. Local-first MCP server — tokens never leave your machine.
⚡ One-command install with Delx Wellness for Hermes:
npx -y delx-wellness-hermes setup — preconfigures this connector and the other 8 in a dedicated Hermes profile.
Or wire it standalone into Claude Desktop / Cursor / ChatGPT Desktop — see the install section below.
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
npx -y apple-health-mcp-unofficial --http
# GET http://127.0.0.1:3000/health
# POST http://127.0.0.1:3000/mcp (sessionless)Env: APPLEHEALTHMCPHOST, APPLEHEALTHMCPPORT, APPLEHEALTHMCP_TRANSPORT=http.
<!-- /delx-wellness header v2 -->
Local-first MCP server that reads your Apple Health export and exposes it to AI agents.
Unofficial project. Not affiliated with, endorsed by or supported by Apple Inc. Apple Health is a trademark of Apple Inc. This package reads exports you generate yourself from the Apple Health app.
No live HealthKit access. This connector reads export.xml / export.zip files exported from your iPhone. A native iOS HealthKit bridge is a separate future component.
Built by David Mosiah for people who use Claude, Cursor, Hermes, OpenClaw or other MCP-compatible agents to think about long-term health and activity trends — without copy-pasting numbers from the Health app.
Part of Delx Wellness, a registry of local-first wellness MCP connectors.
If this connector helps your agent workflow, please star the repo. Stars make the project easier for other AI builders to discover and help Delx keep shipping local-first wellness infrastructure.
Why this exists
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Apple Health: common questions
- Is Apple Health MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Apple Health safety report
- How do I install Apple Health?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Apple Health need an API key?
- No secret keys are declared. It reads 4 settings from the environment.
- Is Apple Health maintained?
- The last commit was 10 days ago (2026-11-05). The latest release is v0.5.0.
- How does Apple Health compare with other MCP servers?
- safety score 92/100 (higher than 93% of 48,114 servers); tools 18 (the typical server has 7); tools that change things 6% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.