apple-health-mcp

v0.5.0
io.github.davidmosiah/apple-health-mcp Checked 1 day ago Published 6 months ago

Unofficial local-first MCP server for Apple Health export data.

Values you need

VariableWhat it is
APPLE_HEALTH_EXPORT_PATHoptional Path to export.xml, an Apple Health export directory, or export.zip.
APPLE_HEALTH_TIMEZONEoptional IANA timezone used to interpret daily and weekly local-day summaries.
APPLE_HEALTH_PRIVACY_MODEoptional summary, structured, or raw. Defaults to summary.
APPLE_HEALTH_WATCH_PATHoptional Optional folder watched for new Apple Health exports; the newest is auto-promoted and summaries refreshed.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add apple-health-mcp -- npx -y apple-health-mcp-unofficial@0.5.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "apple-health-mcp": {
      "args": [
        "-y",
        "apple-health-mcp-unofficial@0.5.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "apple-health-mcp": {
      "args": [
        "-y",
        "apple-health-mcp-unofficial@0.5.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "apple-health-mcp": {
      "args": [
        "-y",
        "apple-health-mcp-unofficial@0.5.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.apple-health-mcp]
command = "npx"
args = ["-y", "apple-health-mcp-unofficial@0.5.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: apple_health_agent_manifest, apple_health_capabilities, apple_health_connection_status, apple_health_quickstart, apple_health_demo, apple_health_privacy_audit, apple_health_list_records, apple_health_list_workouts, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json