garmin-mcp

v1.6.0
io.github.colincooperio/garmin-mcp Checked 21 hours ago Published 3 days ago

Ask your AI assistant about your Garmin training, sleep and recovery data

Values you need

VariableWhat it is
GARMIN_API_KEYrequired secret Your Garmin Personal API key (Garmin Connect > Settings > Personal API Token)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add garmin-mcp -e 'GARMIN_API_KEY=<GARMIN_API_KEY>' -- npx -y garmin-mcp@1.6.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "garmin-mcp": {
      "args": [
        "-y",
        "garmin-mcp@1.6.0"
      ],
      "command": "npx",
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "garmin-mcp": {
      "args": [
        "-y",
        "garmin-mcp@1.6.0"
      ],
      "command": "npx",
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GARMIN_API_KEY",
      "id": "garmin-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "garmin-mcp": {
      "args": [
        "-y",
        "garmin-mcp@1.6.0"
      ],
      "command": "npx",
      "env": {
        "GARMIN_API_KEY": "${input:garmin-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.garmin-mcp]
command = "npx"
args = ["-y", "garmin-mcp@1.6.0"]
env = { "GARMIN_API_KEY" = "<GARMIN_API_KEY>" }

For AI agents

  1. Ask the user for: GARMIN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_readiness, summarize_wellness, get_daily_summaries, get_profile, get_sleep_summaries, get_sleep, get_hrv_summaries, get_hrv, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json