Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

garmin-mcp

Latest version: v1.6.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: colincooperio
1 Stars
4 Forks
10 Versions
2.3K Downloads
TypeScript Repo language

Scan summary

garmin-mcp was last scanned on 29 Nov 2026 at version 1.6.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 2 were published within 5 days (25–29 Nov 2026).
  • Findings: No rules fired in version 1.6.0.
  • Downloads: 2,331 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.6.0 LATEST 29 Nov 2026 No rules fired
1.5.0 25 Nov 2026 No rules fired
1.4.3 17 Nov 2026 No rules fired
1.4.2 16 Nov 2026 Not shown
1.4.1 14 Nov 2026 Not shown

No rules fired in 1.6.0

Findings

Findings for v1.6.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.6.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

garmin-mcp

CI npm License: MIT

Ask your AI assistant about your health, sleep, recovery and training in any sport, using your own Garmin data. It's an MCP server that gives Claude, ChatGPT and other assistants read-only access to your Garmin Connect data through Garmin's official Personal API.

Run it whichever way suits you. The tools are identical:

  • Local. Runs on your computer, started by your AI app. About a minute to set up, and all you need is your Garmin key. In Claude Desktop it's a one-click install.
  • Cloud. Runs on your own Cloudflare account (the free plan is plenty), behind GitHub sign-in. About 10 minutes to set up with npm run setup, and it then works on all your devices: web, desktop and phone.

It works with Claude, ChatGPT, Claude Code, Codex, Gemini CLI, Cursor, VS Code and other MCP clients. See Local or cloud? for which apps each option covers.

Either way, you get:

  • Insight, not another chart. Ask a question and get an answer based on your own data.
  • No password. It uses Garmin's official API key, which you can revoke at any time, not your Garmin login.
  • No middleman. Data goes straight from Garmin to your computer or your own Cloudflare account. No third-party service stores it.
  • Always current. It fetches from Garmin when you ask, so there's no sync to remember.
  • No extra cost. It uses the AI subscription you already have, and the cloud option fits Cloudflare's free plan.

Ask things like:

  • "Am I ready to train hard today?"
  • "Give me my km splits for Sunday's race. Did I negative split?"
  • "What are my 5k and 10k PBs this year, and what could I run a half in?"
  • "Am I building up too fast?"
  • "Does a bad night's sleep slow my running?"
  • "Which day of the week do I sleep worst?"
  • "How have my resting heart rate and HRV changed since May?"
  • "How stressed was I this month compared with last?"
  • "How much did I train each month this year, by sport?"
  • "What was my best 20-minute power on Sunday's ride?"
  • "Is my bench press going up?" or "How has my deadlift top set changed over the last 8 weeks?"
  • "How does my menstrual cycle affect my sleep and HRV?"
  • "How far have I swum since January?"
  • "Compare my last two long hikes."

Ask in any language: Claude answers in yours.

Here it is in Claude on a phone (cloud version), answering a running question: what 10k time recent runs point to.

Not affiliated with or endorsed by Garmin. "Garmin" and "Garmin Connect" are trademarks of Garmin Ltd. or its subsidiaries.

Local or cloud?

Local Cloud
Claude Desktop (one-click install), Claude Code ✅ ✅
Codex (CLI, and in the ChatGPT desktop app) ✅ ✅
Gemini CLI, Cursor, VS Code ✅ ✅
The ChatGPT app: web, desktop chat and phone ✅
Claude on the web ✅
AI apps on your phone or tablet ✅
Works when your computer is off ✅
Set up in about 1 minute ✅
No Cloudflare or GitHub account needed ✅
Garmin key stored only on your computer ✅
Nothing listening on the network ✅
Free to run ✅ ✅
All 30 tools and 7 prompts ✅ ✅
Still deciding?

Go local. You get everything, in about a minute. In Claude Desktop it's a single download: no Node, no config file.

Go cloud. Phone apps can't start a local process, so they need a server they can reach over the internet.

Go cloud. The ChatGPT app itself (web, desktop chat and phone) connects to remote MCP servers only. Codex is the exception: the Codex CLI, and Codex in the ChatGPT desktop app, can run it locally.

Go cloud. Local means installing it on each computer; cloud means setting it up once and adding the URL to each app.

Start local. If you later want it on your phone, set up cloud. There's nothing to migrate, because your data stays in Garmin.

Yes. They can share a Garmin key.

Both are locked down, in different ways. Local has no sign-in because there's nothing to sign in to: only the app that started it can talk to it, and your key sits in that app's config on your computer. Cloud is reachable from the internet, so it's locked to your GitHub account, and your key sits in Cloudflare secrets. See Security model.

Local: you paste one command or one config snippet. Cloud: four commands (git clone, cd, npm install, npm run setup), then the setup script asks you questions and does the rest. You fill in one form on GitHub and create a key in Garmin Connect along the way.

Running locally

Your AI app starts the server as a local process and talks to it directly. There's no Cloudflare or GitHub setup.

All you need is a Garmin Personal API key (see Create a Garmin Personal API key).

Claude Desktop: one click
  1. Download garmin-mcp.mcpb.
  2. Double-click it, paste your Garmin key when asked, done.

Claude Desktop runs the extension itself, so you don't need Node or a config file, and your key is stored in your system keychain. To turn off the update check and usage counting, untick "Check for updates" in the extension's settings.

Claude Desktop warns before installing it. It shows that warning for every extension that isn't installed from Anthropic's directory, not because of anything in this one. This extension only connects to Garmin's API (plus small downloads from GitHub for the update check and usage counting; see Security model), and its source is all in this repo. To check that your download was built from this repo by its release workflow, and not changed since, run this with the GitHub CLI:

gh attestation verify garmin-mcp.mcpb --repo colincooperio/garmin-mcp
Claude Code, Cursor, VS Code and other apps

These need Node 22 or newer. There's nothing to install separately: your app runs the garmin-mcp package with npx.

Claude Code:

claude mcp add garmin --env GARMIN_API_KEY=<your key> -- npx -y garmin-mcp@latest

Cursor, VS Code and other apps (or Claude Desktop, if you'd rather not use the extension): add this to the app's MCP config:

{
    "mcpServers": {
        "garmin": {
            "command": "npx",
            "args": ["-y", "garmin-mcp@latest"],
            "env": {
                "GARMIN_API_KEY": "<your key>"
            }
        }
    }
}

VS Code's mcp.json uses "servers" instead of "mcpServers".

Codex

For the Codex CLI and Codex in the ChatGPT desktop app, which share one config. Add this to ~/.codex/config.toml (needs Node 22 or newer):

[mcp_servers.garmin]
command = "npx"
args = ["-y", "garmin-mcp@latest"]
env = { GARMIN_API_KEY = "<your key>" }
Gemini CLI

Add this under "mcpServers" in ~/.gemini/settings.json (needs Node 22 or newer):

"garmin": {
    "command": "npx",
    "args": ["-y", "garmin-mcp@latest"],
    "env": { "GARMIN_API_KEY": "<your key>" }
}

Restart the app, then try "Am I ready to train today?".

Running in the cloud

MCP client ──OAuth──▶ Worker (/mcp) ──Bearer JWT──▶ Garmin Personal API
                         │
                         └─ /authorize ──▶ GitHub sign-in ──▶ allowed user ID? ──▶ token

Each person deploys their own copy to their own Cloudflare account. It's locked to a single GitHub account, so your Garmin data is only ever reachable by you.

What you need
  • A Garmin Connect account and a Garmin device
  • A Cloudflare account (free plan)
  • A GitHub account
  • Node 22 or newer
  • About 10 minutes
Quick setup
git clone https://github.com/colincooperio/garmin-mcp.git
cd garmin-mcp
npm install
npm run setup

npm run setup walks you through the rest and does most of it itself. It logs you in to Cloudflare in your browser, asks what to call the Worker (garmin-cloud-mcp unless you choose otherwise; it's part of the URL, and it warns you if your account already has a Worker by that name), creates the storage the server needs, locks it to your GitHub account, stores your secrets in Cloudflare and deploys. Along the way you do two things in your browser:

  1. Create a GitHub OAuth app, which is how sign-in works. The script prints a link to GitHub's form and the exact Homepage and callback URLs to paste into it, then asks for the client ID and secret.
  2. Create a Garmin Personal API key (see below) and paste it in.

What you type for secrets isn't shown on screen. It goes straight to Cloudflare and is never written to disk. If a step fails, the script says which one and how to fix it. Run npm run setup again and it skips the steps that are done, and asks before replacing anything.

When it's done it prints your server URL. Then connect your AI apps.

Create a Garmin Personal API key

Go to Garmin Connect → Personal API Token → Create Key. Pick 1 year and copy the key; Garmin shows it only once.

Connect your AI apps

Your server URL is https://garmin-cloud-mcp.<your-subdomain>.workers.dev/mcp (npm run setup prints it). Every app opens a GitHub sign-in the first time; sign in and approve.

  • Claude: Settings → Connectors → Add custom connector, and paste the URL. The connector follows your Claude account onto every device.
  • ChatGPT: add it as a custom connector (MCP server) with OAuth authentication. Custom connectors need developer mode and depend on your plan; see OpenAI's help pages for the current steps.
  • Claude Code: claude mcp add --transport http garmin <url>, then run /mcp to sign in.
  • Cursor, VS Code and other MCP apps: add a remote (HTTP) MCP server with the URL. Apps that support MCP OAuth handle the sign-in themselves.

Try "Am I ready to train today?". In apps that show MCP prompts, such as Claude's connector menu, you can also pick a ready-made prompt.

Run all commands from the repo folder.

1. Install and log in to Cloudflare
git clone https://github.com/colincooperio/garmin-mcp.git
cd garmin-mcp
npm install
npx wrangler login
cp wrangler.example.jsonc wrangler.jsonc

wrangler.jsonc is git-ignored, so your settings never get committed.

2. Create the KV namespace
npx wrangler kv namespace create garmin-cloud-mcp-OAUTH_KV

Paste the id it prints into wrangler.jsonc, replacing YOUR_KV_NAMESPACE_ID. The binding stays OAUTH_KV; the title just names the namespace after the Worker, so it can't clash with another deployment's in the same account.

3. Lock it to your GitHub account

Open https://api.github.com/users/<your-github-username> and copy the numeric id. Put it in wrangler.jsonc as ALLOWED_GITHUB_USER_ID.

It uses the numeric ID rather than your username because usernames can be changed and then claimed by someone else.

4. Work out your Worker's URL

It will be https://garmin-cloud-mcp.<your-subdomain>.workers.dev. Your workers.dev subdomain is on the Workers & Pages overview in the Cloudflare dashboard. The server works its URL out by itself, so there's nothing to set; you need it for the next step. (Serving it on a custom domain as well? Set MCP_RESOURCE in wrangler.jsonc to the URL clients should use, with /mcp on the end.)

5. Create a GitHub OAuth app

Go to GitHub → Settings → Developer settings → OAuth Apps → New OAuth App and fill in:

  • Homepage URL: https://garmin-cloud-mcp.<your-subdomain>.workers.dev
  • Authorization callback URL: https://garmin-cloud-mcp.<your-subdomain>.workers.dev/callback

Then generate a client secret.

6. Create a Garmin Personal API key

See Create a Garmin Personal API key.

7. Store the secrets

Each command prompts you to paste the value.

npx wrangler secret put GITHUB_CLIENT_ID
npx wrangler secret put GITHUB_CLIENT_SECRET
npx wrangler secret put COOKIE_ENCRYPTION_KEY   # paste output of: openssl rand -hex 32
npx wrangler secret put GARMIN_API_KEY

If wrangler asks to create the Worker first, say yes.

8. Deploy
npm run deploy

This type-checks and runs the full test suite before it deploys. If anything fails, nothing ships. The test output includes a few labelled expected error lines: those come from tests that check the Worker refuses bad requests.

Then connect your AI apps.

Why this one

Compared with password-based Garmin MCP servers

Most Garmin MCP servers predate the Personal API. They log in with your Garmin email and password and call Garmin Connect's private web endpoints, running on your own machine.

Password-based This, local This, cloud
Garmin access Your email + password, session tokens on disk Official Personal API key: revocable, expires (30 days to 1 year) Same as local
Breaks when Garmin changes its login or MFA Yes, regularly No, it uses the documented API No
Works in web and phone apps No No Yes
If the credential leaks Your whole Garmin account Read-only health data, until you delete the key Same as local, and the key sits in Cloudflare secrets, not on a laptop

The trade-off: the Personal API covers less. It has no golf scorecards, training plans, Garmin Training Status, Garmin's race predictor or personal records, gear, courses or write access. (This server computes its own personal bests and race estimates from your activity files.) The server tells the model this up front, so it says it isn't available instead of hunting for it.

Compared with a basic wrapper of the API

A one-tool-per-endpoint wrapper works, but it's slow and expensive in tokens: Garmin returns 100+ fields per activity and a reading every two minutes for heart rate. This server does the heavy lifting itself:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm garmin-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229