Garmin MCP
Ask Claude or ChatGPT about your Garmin training, sleep and recovery, read-only
Garmin MCP is a free MCP server for health and science. It runs locally on your machine and is started by your AI client.
- Pricing
- Free
- Platforms
- CLI, Self-hosted, macOS
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 1.6.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add garmin-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- npx -y garmin-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-mcp": {
"command": "npx",
"args": [
"-y",
"garmin-mcp"
],
"env": {
"GARMIN_API_KEY": "<GARMIN_API_KEY>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add garmin-mcp --env GARMIN_API_KEY='<GARMIN_API_KEY>' -- npx -y garmin-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.garmin-mcp]
command = "npx"
args = ["-y", "garmin-mcp"]
env = { GARMIN_API_KEY = "<GARMIN_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"garmin-mcp": {
"command": "npx",
"args": [
"-y",
"garmin-mcp"
],
"env": {
"GARMIN_API_KEY": "<GARMIN_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
GARMIN_API_KEYYour Garmin Personal API key (Garmin Connect > Settings > Personal API Token)Required
About Garmin MCP
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.
What it does
- 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
Pricing
Free
Free to run; uses your own AI subscription
Garmin MCP 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.
