Garmin Dynamic MCP
Ask Claude or Cursor about your own Garmin activity, sleep, HRV and Body Battery data
Garmin Dynamic MCP is an open-source MCP server for health and science. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- What it can do
- Read-only
- Version
- 0.2.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add garmin-dynamic-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- uvx garmin-dynamic-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"garmin-dynamic-mcp": {
"command": "uvx",
"args": [
"garmin-dynamic-mcp"
],
"env": {
"GARMIN_API_KEY": "<GARMIN_API_KEY>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add garmin-dynamic-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- uvx garmin-dynamic-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.garmin-dynamic-mcp]
command = "uvx"
args = ["garmin-dynamic-mcp"]
env = { GARMIN_API_KEY = "<GARMIN_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"garmin-dynamic-mcp": {
"command": "uvx",
"args": [
"garmin-dynamic-mcp"
],
"env": {
"GARMIN_API_KEY": "<GARMIN_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
GARMIN_API_KEYOptional: your Garmin Personal API key. If unset, the key stored by `garmin-dynamic-mcp setup` in the OS keychain is used.
About Garmin Dynamic MCP
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.
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
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_endpointsName suggests: reads
- List the available Garmin endpoints and their parameters, with an optional query.
- getName suggests: reads
- Call one catalogued endpoint.
What it does
- 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
Pricing
Open source
Garmin Dynamic MCP 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.
