# Garmin MCP

> Garmin MCP is a free MCP server for health and science. Ask Claude or ChatGPT about your Garmin training, sleep and recovery, read-only. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, Self-hosted, macOS, Windows, Linux
- **Repository:** https://github.com/colincooperio/garmin-mcp
- **MCP Registry name:** io.github.colincooperio/garmin-mcp
- **Categories:** [health and science](https://ai-powered.com/categories/health-and-science)
- **Listing updated:** 2026-11-23

## About

This server answers questions from your own Garmin Connect history using Garmin's official Personal API key, not your Garmin login, so the key can be revoked at any time. Data goes from Garmin straight to your computer or your own Cloudflare account, and the README says no third-party service stores it. It fetches when you ask, so there is no sync to remember. It is not affiliated with Garmin.

There are two ways to run it, with the same 28 tools and 5 prompts. Local mode starts as a process from your AI app, set up in about a minute, with a one-click extension for Claude Desktop. Cloud mode runs on your own Cloudflare account behind GitHub sign-in, takes about 10 minutes via npm run setup, and is what the ChatGPT app, Claude on the web and phones need.

Sample questions in the README include readiness to train, resting heart rate and HRV trends, kilometre splits for a race, personal bests and whether a bad night's sleep affects running.

## Features

- **Official Personal API:** Uses a revocable Garmin API key instead of your login.
- **Local or cloud:** Run on your computer, or on your own Cloudflare account for phone use.
- **Claude Desktop extension:** One-click install that stores the key in your system keychain.
- **28 tools and 5 prompts:** Same toolset in both modes.
- **Direct data path:** Data goes from Garmin to you with no third-party store.

## Good for

- Check whether you are ready to train hard today
- Track resting heart rate and HRV over months
- Review kilometre splits from a race
- Find which weekday you sleep worst
- Estimate race times from recent runs

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add garmin-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- npx -y garmin-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add garmin-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- npx -y garmin-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.garmin-mcp]
command = "npx"
args = ["-y", "garmin-mcp"]
env = { GARMIN_API_KEY = "<GARMIN_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e GARMIN_API_KEY='<GARMIN_API_KEY>' garmin-mcp npx -- -y garmin-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "garmin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

## FAQ

### What do I need to start?

A Garmin Personal API key from Garmin Connect settings. Local mode needs Node 22 or newer unless you use the Claude Desktop extension.

### Can Garmin MCP change my Garmin data?

No. Access is read-only.

### Does Garmin MCP work on my phone?

Yes with the cloud option, which runs on your own Cloudflare account.

### Does Garmin MCP cost anything?

It adds no cost beyond your AI subscription, and the cloud option fits Cloudflare's free plan.

### How do I add Garmin MCP to Claude Code?

Run this command in your terminal: claude mcp add garmin-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- npx -y garmin-mcp

### What are the best alternatives to Garmin MCP?

The closest alternatives to Garmin MCP are Tooluniverse, Oya Browser, BasalFit, KidneyWatch Renal Diet (CKD) Food Check and Alpha-Gal Watch: Alpha-Gal Syndrome Food Check.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Tooluniverse](https://ai-powered.com/mcp/tooluniverse): Tooluniverse is an open-source MCP server for health and science.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [BasalFit](https://ai-powered.com/mcp/basalfit): BasalFit is a free MCP server for health and science.
- [KidneyWatch Renal Diet (CKD) Food Check](https://ai-powered.com/mcp/kidneywatch-renal-diet-ckd-food-check): KidneyWatch Renal Diet (CKD) Food Check is an MCP server for mcp data access.
- [Alpha-Gal Watch: Alpha-Gal Syndrome Food Check](https://ai-powered.com/mcp/alpha-gal-watch-alpha-gal-syndrome-food-check): Alpha-Gal Watch: Alpha-Gal Syndrome Food Check is an MCP server for food and drink.
- [Renal Diet (CKD) and Alpha-Gal Syndrome Food Check](https://ai-powered.com/mcp/renal-diet-ckd-and-alpha-gal-syndrome-food-check): Renal Diet (CKD) and Alpha-Gal Syndrome Food Check is an MCP server for mcp data access.
- [Diochi — bylinné přípravky, kluby a Sféra](https://ai-powered.com/mcp/diochi-bylinne-pripravky-kluby-a-sfera): Diochi — bylinné přípravky, kluby a Sféra is an MCP server for health and science.
- [ClinicalTrials.gov Biotech Sponsor & PI Emails MCP](https://ai-powered.com/mcp/clinicaltrials-gov-biotech-sponsor-and-pi-emails-mcp): ClinicalTrials.gov Biotech Sponsor & PI Emails MCP is a paid MCP server for sales and crm.

---
Source: https://ai-powered.com/mcp/garmin-mcp-2
