MCP Server Studio
Ask your agent about your own Apple Health data: 194 metrics, 21 tools, local, 0 deps.
Registry name: io.github.PhilipAD/health-export-mcp
Add to 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>"
}
}
}
}Run in your 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]Add to .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>"
}
}
}
}Add to .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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_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>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
HEALTH_DATA_DIR | No | 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 | No | Only if Agent pairing is on in the iOS app (Settings > Agent pairing). |
HEALTH_EXPORT_PASSPHRASE | No | Only if Export encryption is on in the iOS app. |