Local-first MCP server that reads Apple Health export files (`export.xml`, `export.zip`, or an unzipped export folder) and exposes health data to AI agents. It supports activity, sleep, heart rate, HRV, workouts, body measurements, and some ECG metadata from the user’s exported Apple Health data.
From the registry: Unofficial local-first MCP server for Apple Health export data.

$ npx -y apple-health-mcp-unofficial setup --export-path <path-to-export.zip>$ npx -y apple-health-mcp-unofficial doctorPlease install the `apple-health-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install Node.js 20+** — Node.js 20 or newer is required to run the MCP server via npx.
- **Export Apple Health data from your iPhone** — Create an Apple Health export from the Health app and transfer the resulting export.zip, export.xml, or unzipped export folder to the machine where the MCP server will run. (https://support.apple.com/guide/iphone/share-health-and-fitness-data-iph27f6325b2/ios)
- **Run setup to save local configuration** — Use the package setup command to store the export path and optional settings in the local config file before starting the server. You can also use --auto-import to find and copy the newest export from common folders. Run: `npx -y apple-health-mcp-unofficial setup --export-path <path-to-export.zip>`
Optional prerequisites:
- Verify configuration — Run the doctor command to confirm the export path and setup are valid. Run: `npx -y apple-health-mcp-unofficial doctor`
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","apple-health-mcp-unofficial"]
- required environment variables:
- `APPLE_HEALTH_EXPORT_PATH`: Path to your Apple Health export file or folder. Supported values are export.zip, export.xml, or an unzipped apple_health_export directory. The README indicates setup usually saves this locally, but the server needs it in the default configuration to function. (example: `<path-to-export.zip>`)
- optional environment variables:
- `APPLE_HEALTH_PRIVACY_MODE`: Privacy level for exposed data. Supported values: summary, structured, raw. Defaults to summary. (example: `<summary|structured|raw>`)
- `APPLE_HEALTH_TIMEZONE`: Timezone used for local-day summaries. Defaults to UTC unless setup saves a timezone. (example: `<your-timezone>`)
Note: Preferred portable install path is the npm package via npx. The README also mentions an optional local HTTP transport for development only, but the standard MCP client configuration shown uses stdio. The setup command writes settings to ~/.apple-health-mcp/config.json, so some clients may work without explicitly setting env vars if that file is present.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.APPLE_HEALTH_EXPORT_PATHrequiredPath to the Apple Health export file or folder to readAPPLE_HEALTH_PRIVACY_MODEControls output detail level: summary, structured, or rawAPPLE_HEALTH_TIMEZONETimezone used for local-day summariesReal-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Trending hip-hop artist momentum scores across four cultural dimensions.
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.