NestDaddy

MetricBridge Apple Health

io.github.PhilipAD/health-export-mcp ยท v1.10.2

Ask your agent about your own Apple Health data: 194 metrics, 22 tools, local, 0 deps.

Connect Runs on your machine

Terminal
claude mcp add health-export-mcp -e HEALTH_DATA_DIR=<HEALTH_DATA_DIR> -e PAIRING_SECRET=<PAIRING_SECRET> -e HEALTH_EXPORT_PASSPHRASE=<HEALTH_EXPORT_PASSPHRASE> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "health-export-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "HEALTH_DATA_DIR": "<HEALTH_DATA_DIR>",
        "PAIRING_SECRET": "<PAIRING_SECRET>",
        "HEALTH_EXPORT_PASSPHRASE": "<HEALTH_EXPORT_PASSPHRASE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "health-export-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "HEALTH_DATA_DIR": "<HEALTH_DATA_DIR>",
        "PAIRING_SECRET": "<PAIRING_SECRET>",
        "HEALTH_EXPORT_PASSPHRASE": "<HEALTH_EXPORT_PASSPHRASE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "health-export-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "HEALTH_DATA_DIR": "<HEALTH_DATA_DIR>",
        "PAIRING_SECRET": "<PAIRING_SECRET>",
        "HEALTH_EXPORT_PASSPHRASE": "<HEALTH_EXPORT_PASSPHRASE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
HEALTH_DATA_DIR
Optional
Folder holding .health-cache.json from the MetricBridge iOS app. Unset on a Mac, the server reads ~/Library/Mobile Documents/iCloud~ai~healthexport~app/Documents if it exists.
PAIRING_SECRET
Optional, secret
Only if Agent pairing is on in the iOS app (Settings > Agent pairing).
HEALTH_EXPORT_PASSPHRASE
Optional, secret
Only if Export encryption is on in the iOS app.

Details

Package[email protected] (NPM, stdio)
Packagehttps://github.com/PhilipAD/health-export-mcp/releases/download/v1.10.2/[email protected] (MCPB, stdio)
First published3 Nov 2026
Last updated3 Nov 2026
Registry nameio.github.PhilipAD/health-export-mcp

More data and analytics servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.