Garmin Stats MCP Server
Provides read-only access to a locally synced copy of the user's Garmin Connect data, including sleep, HRV, heart rate, stress, Body Battery, SpO2, respiration, steps, workouts with laps/HR zones/FIT files, training status and load, Training Readiness, VO2max, race predictions, personal records, weight, blood pressure, hydration and cycle tracking; supports SQL queries, raw payload inspection, manual sync and sign-in.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Garmin Stats for Claude
Ask Claude about your own Garmin data, all of it: sleep, HRV, heart rate, stress, Body Battery, SpO2, respiration, steps, workouts (with laps, HR zones and the original FIT files), training status and load, Training Readiness, VO2max, race predictions, personal records, weight, blood pressure, hydration and cycle tracking.
I wanted to ask "am I recovered enough for a hard session?" and get an answer grounded in my own numbers, not a generic one. It's my data, so I want all of it. Garmin's official Personal API leaves out training status, Training Readiness, blood pressure and race predictions, so this takes the same route the Garmin Connect app does. It copies everything to your Mac every hour and lets Claude query that copy.
Works in the Claude desktop app (Cowork) and Claude Code. macOS only.
Install
Open Terminal (⌘ Space, type Terminal, Return).
Paste this and press Return:
curl -fsSL https://raw.githubusercontent.com/jwiderberg/garmin-stats-skills/main/install.sh | bashSign in to Garmin in the window that pops up. If Garmin emails you a code, enter that too.
Pick how much history to import: 30, 60 or 90 days. You'll see each day arrive as it's saved.
A Finder window opens with Garmin-Stats.zip. In Claude, go to Customize → Plugins → Upload plugin and choose it.
Then ask Claude "How did I sleep last night?"
The import is deliberately slow, about half a minute per day (30 days takes roughly 15 minutes, 90 days about 40), because it fetches everything and hammering Garmin gets you blocked. You can close Terminal at any point; whatever's left carries on in the background. You don't need Python or developer tools: the installer explains each step and sets up everything itself.
Related MCP server: Garmin Connect MCP
What you can ask
How did I sleep this week compared with last?
Is my HRV trending down?
Summarise my running since September.
What does Garmin say my training status is, and is my load ramping too fast?
Plot my weight and resting heart rate since January.
How it works
Sync. A background job on your Mac pulls the latest from Garmin Connect every hour. Requests are spaced at least a second apart, with some random jitter. If Garmin still says slow down, it backs off and tries again later rather than pushing.
Cache. Everything lands in one SQLite file in
~/.garmin-stats-skills/. Claude reads that file, so answers are instant and don't touch Garmin.Skill. The plugin gives Claude five read-only tools (status, SQL query, raw payload, sync now, sign in) and a skill that explains the data, including the parts that are easy to get wrong: a missing day is a gap, not a zero, and last night's sleep is filed under today.
Your data
Your password goes to Garmin once and is never stored. Only Garmin's sign-in token is kept on your Mac, readable by you alone.
Nothing is sent anywhere else, and nothing is ever written back to Garmin.
When the hourly sync is switched on, macOS shows "garmin-stats can run in the background". That's expected. You can turn it off under System Settings → General → Login Items & Extensions.
If Garmin signs you out, you get a notification. Tell Claude "reconnect my Garmin" and the sign-in window comes back.
This uses the same unofficial sign-in as the Garmin Connect app, via python-garminconnect. Garmin can change that whenever it likes. Use it for your own account.
Settings
~/.garmin-stats-skills/config.toml (in Finder: ⌘⇧G, paste the path):
Setting | Default | |
| your choice at install (30/60/90) | how much history to keep; raise it and older days backfill gradually |
|
|
|
|
| save each workout's original recording in |
|
| minimum gap between Garmin requests (don't go lower) |
|
| how often to sync (then run |
|
| keep Garmin's full detail: minute-level sleep, HR samples, splits |
|
| where the cache lives |
Update, uninstall
To update, run the install line again and upload the new zip. If you'd
rather have updates arrive on their own, add jwiderberg/garmin-stats-skills
under Customize → Plugins → Add marketplace instead of uploading the zip.
To uninstall, run this, then remove the plugin in Claude:
curl -fsSL https://raw.githubusercontent.com/jwiderberg/garmin-stats-skills/main/uninstall.sh | bashUnder the hood
A local stdio MCP server (garmin-stats mcp), a launchd agent running
garmin-stats sync, and a skill in skills/garmin-stats. The command line is
there if you want it:
garmin-stats status | sync [--days N] | login | schedule [--off] | plugin-zip | logoutuv sync --extra dev && uv run pytest # tests
./install.sh --no-setup # install this checkoutReleases attach Garmin-Stats.zip.
Licence and credits
MIT. See LICENSE. Not affiliated with or endorsed by Garmin.
Built on other people's good work:
python-garminconnect by Ron Klinkien and contributors (MIT): all the hard work of talking to Garmin Connect
curl_cffi (MIT), which garminconnect uses to sign in
MCP Python SDK (MIT): the server Claude talks to
uv by Astral (MIT/Apache-2.0): installs the helper and its Python
The full dependency list, with licences, is in THIRD_PARTY_NOTICES.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Garmin data in Claude: 135 tools — activities, sleep, HRV, training, workouts. Free, open source.
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
tri-train is a training platform for triathletes that syncs activities from Strava and Garmin and exposes them to Claude through a remote MCP server. Ask Claude how your last block went, why your run pace dropped, or whether you are fresh enough for Sunday's race, and it answers from your real data: activities with laps and grade-adjusted pace, weekly load and the performance management chart (CTL/ATL/TSB), sleep, HRV and resting heart rate, and your race calendar with predictions. Claude can also act: create and adjust planned workouts with structured intervals, push them to your Garmin watch, add races and write notes. Every change is journaled and can be undone. Read and write access are separate OAuth scopes, and the server enforces them on every call. Built and hosted in Switzerland by a triathlete; data stays on our own servers (Swiss revDSG / GDPR).
Explore Garmin activity and health data with your AI assistant.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables Claude to access and query your Garmin Connect data—sleep, training, heart rate, and more—through a suite of read-only tools, with an optional write path for creating strength workouts.63MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude and any MCP client to read a user's own Garmin account in plain language, covering activities, time-series charts, thresholds, sleep, HRV, Body Battery, stress, readiness and trends. It also serves a private local dashboard that downloads the full training and health history, correlates metrics across views, and exports any table as CSV.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceA read-only remote server that lets Claude query your own Garmin Connect account through Garmin's official Personal API, with OAuth sign-in so it works in the mobile app as well as on desktop. It exposes sleep, HRV, recovery, Body Battery, stress, heart rate and activity tools for natural-language questions like "should I train hard today?" or "compare my last three long runs."MIT
- AlicenseAqualityBmaintenanceEnables Claude to read and review your own Garmin training and recovery data through Garmin's official Connect Personal API, with tools for activities, daily summaries, sleep, HRV, and period analytics.71MIT