Skip to content
Gemini CLI

MetricBridge Apple Health for Gemini CLI

io.github.philipad/health-export-mcp

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

client:Gemini CLI transport:stdio runtime:npm

Install MetricBridge Apple Health in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "health-export-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "health-export-mcp"
      ],
      "env": {
        "HEALTH_DATA_DIR": "<HEALTH_DATA_DIR>",
        "PAIRING_SECRET": "<PAIRING_SECRET>",
        "HEALTH_EXPORT_PASSPHRASE": "<HEALTH_EXPORT_PASSPHRASE>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

MetricBridge Apple Health in other clients