# Garmin Dynamic MCP

> Garmin Dynamic MCP is an open-source MCP server for health and science. Ask Claude or Cursor about your own Garmin activity, sleep, HRV and Body Battery data. It runs locally on your machine and is started by your AI client.

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

## About

This server is a read-only window onto your own Garmin Connect data through Garmin's Personal API. It uses just two generic tools: one lists the endpoints that exist, and one calls a single endpoint. The model works out the requests and does the arithmetic and charting itself, so questions such as average cadence over ten runs or HRV change over 90 days need no preset report.

The unusual part is how it keeps pace with Garmin. A daily GitHub Action compares Garmin's published OpenAPI specification with the catalog, and if something changed it opens a pull request listing the differences. A maintainer reviews and releases it, and the server only tells you in conversation that an update exists. It never downloads a catalog while running.

The security choices are narrow. Your personal key sits in the OS keychain, requests are GET only, aimed at Garmin's API host and at catalogued paths, and nutrition and menstrual-cycle endpoints are off by default. Garmin's Personal API is meant for your own data, not multi-user commercial apps. Setup uses uv and configures clients such as Claude Desktop, Claude Code, Cursor, VS Code, Gemini CLI and Codex.

## Features

- **Read-only access:** Only GET requests to Garmin's API host and to paths in the catalog.
- **Self-updating catalog:** A daily job proposes endpoint changes for human review.
- **Keychain key storage:** The personal key is stored in the OS keychain, not in client config files.
- **Wide data coverage:** Activities, steps, sleep, HRV, stress, Body Battery, heart rate, SpO2, weight and more.
- **Sensitive data off by default:** Nutrition and menstrual-cycle endpoints must be enabled deliberately.
- **Guided setup and doctor:** Setup configures installed clients, and a doctor command checks the key and connection.

## Good for

- Ask how far you ran last week
- Chart daily distance for a month
- Compare sleep and HRV trends over 90 days
- Find the weeks with the highest training load

## Install

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

```sh
claude mcp add garmin-dynamic-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- uvx garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "garmin-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- uvx garmin-dynamic-mcp
```

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

```toml
[mcp_servers.garmin-dynamic-mcp]
command = "uvx"
args = ["garmin-dynamic-mcp"]
env = { GARMIN_API_KEY = "<GARMIN_API_KEY>" }
```

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

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

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

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

```json
{
  "mcpServers": {
    "garmin-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-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-dynamic-mcp": {
      "command": "uvx",
      "args": [
        "garmin-dynamic-mcp"
      ],
      "env": {
        "GARMIN_API_KEY": "<GARMIN_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 2 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `list_endpoints` (name suggests: reads): List the available Garmin endpoints and their parameters, with an optional query.
- `get` (name suggests: reads): Call one catalogued endpoint.

## FAQ

### What do I need?

A Garmin Personal API key, created on Garmin's site, and uv installed to run the server.

### Can Garmin Dynamic MCP change my Garmin data?

No. It is read-only and only makes GET requests.

### Where is my key stored?

In your operating system's keychain, unless you choose to set GARMIN_API_KEY or file storage.

### Is Garmin Dynamic MCP for commercial multi-user apps?

No. Garmin's Personal API is for accessing your own data with your own key.

### Is Garmin Dynamic MCP free?

Yes. Garmin Dynamic MCP is open source, so you can use and self-host it for free.

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

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

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

The closest alternatives to Garmin Dynamic MCP are Tooluniverse, Oya Browser, BasalFit, tactica.+ football forecasts in Claude and KidneyWatch Renal Diet (CKD) 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.
- [tactica.+ football forecasts in Claude](https://ai-powered.com/mcp/tactica-football-forecasts-in-claude): tactica.+ football forecasts in Claude is a free MCP server for ai models and llm tooling.
- [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.
- [ChessIntel](https://ai-powered.com/mcp/chessintel): ChessIntel is a free MCP server for sports data.

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