Skip to content
VS Code

MetricBridge Apple Health for VS Code

io.github.philipad/health-export-mcp

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

client:VS Code transport:stdio runtime:npm

Install MetricBridge Apple Health in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "health-data-dir",
      "description": "HEALTH_DATA_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pairing-secret",
      "description": "PAIRING_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "health-export-passphrase",
      "description": "HEALTH_EXPORT_PASSPHRASE",
      "password": true
    }
  ],
  "servers": {
    "health-export-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "health-export-mcp"
      ],
      "env": {
        "HEALTH_DATA_DIR": "${input:health-data-dir}",
        "PAIRING_SECRET": "${input:pairing-secret}",
        "HEALTH_EXPORT_PASSPHRASE": "${input:health-export-passphrase}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

MetricBridge Apple Health in other clients