MCP Server Studio

MetricBridge Apple Health MCP server

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

Registry name: io.github.PhilipAD/health-export-mcp

Publisher
PhilipAD
Runs
Runs locally
Package
npm
Version
1.12.0
Category
Data & analytics
Updated
2026-11-26

Source code on GitHub

Set up MetricBridge Apple Health (run locally)

Claude Desktop

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>"
      }
    }
  }
}

Claude Code

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]

Cursor

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>"
      }
    }
  }
}

VS Code

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>"
      }
    }
  }
}

Windsurf

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>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
HEALTH_DATA_DIRNoFolder 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_SECRETNoOnly if Agent pairing is on in the iOS app (Settings > Agent pairing).
HEALTH_EXPORT_PASSPHRASENoOnly if Export encryption is on in the iOS app.

More data & analytics MCP servers