Skip to content
VS Code

Apple Health MCP Server for VS Code

io.github.krumjahn/health-analyzer-mcp

Apple Health data for Claude, Cursor, and any MCP client — 100% local on your Mac.

client:VS Code transport:stdio runtime:npm

Install Apple Health MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "health-analyzer-token",
      "description": "HEALTH_ANALYZER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "health-analyzer-token-file",
      "description": "HEALTH_ANALYZER_TOKEN_FILE",
      "password": true
    }
  ],
  "servers": {
    "health-analyzer-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "health-analyzer-mcp"
      ],
      "env": {
        "HEALTH_ANALYZER_TOKEN": "${input:health-analyzer-token}",
        "HEALTH_ANALYZER_TOKEN_FILE": "${input:health-analyzer-token-file}"
      }
    }
  }
}

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

Apple Health MCP Server in other clients