Repository avatar
Monitoring
v0.3.3
active

garmin-mcp

io.github.tomkp/garmin-mcp

Read your own Garmin Connect data (activities, sleep, HRV and more) via the official Personal API

Documentation

garmin-mcp

Ask Claude about your Garmin data. · tomkp.github.io/garmin-mcp

garmin-mcp connects Claude, and other AI assistants, to your Garmin Connect account. You ask about your runs, rides, sleep and recovery in plain English, and the answer comes from your own numbers rather than general advice.

A bar chart of a night's sleep stages, beside the assistant's answer to 'How did I sleep last night? Chart the stages.': the score, the timing, the stages and HRV, compared with the rest of the week.

Things to ask

  • "Give me my morning briefing."
  • "How did yesterday's run compare with my other long runs this month?"
  • "How have I been sleeping over the last two weeks, and what do the bad nights have in common?"
  • "Is my resting heart rate trending up? Show me the last 90 days."
  • "Summarise my training by week since January."
  • "What's happened to my weight and VO2 max this year?"
A line chart of resting heart rate over 90 days, beside the assistant's answer to 'Is my resting heart rate trending up? Chart the last 90 days.'

Redrawn with made-up figures, after what Claude Desktop produces. Claude Desktop draws charts when you ask for one; assistants that run in a terminal answer in words.

It can read your activities (with pace, heart rate, elevation and power from start to finish), sleep, HRV, heart rate, stress, Body Battery, steps, blood oxygen, VO2 max, fitness age, weight, food log and menstrual cycle. The tool reference has the full list.

Get started

You need a Garmin Connect account and Claude. Setting up takes a couple of minutes.

Claude Desktop

  1. Get a key from Garmin. Sign in to Garmin Connect, open Settings → Personal API key and choose Create Key. Copy the key: Garmin shows it only once.
  2. Download garmin-mcp.mcpb and open it. Claude Desktop offers to install it.
  3. Choose Install, paste your key when Claude asks for it, and switch the extension on.

Start a new chat and ask "How did I sleep last night?". It works on macOS and Windows.

If Claude says it can't see your Garmin data, or suggests a different connector, the extension is switched off. Open Settings → Extensions, switch Garmin Connect on and start a new chat.

Claude Code

With Homebrew, on macOS or Linux:

brew install tomkp/tap/garmin-mcp
garmin-mcp setup

setup sends you to Garmin Connect for a key, checks the key you paste in, saves it where only you can read it, and adds the server to Claude Code.

Anything else

Windows and Linux downloads, Docker, and other assistants such as Cursor are covered in Installing.

Is it safe?

  • It never sees your Garmin password. It uses Garmin's official Personal API with a key you create, and you can delete that key in Garmin Connect at any time to cut it off.
  • It can only read. Garmin's Personal API has no way to change anything, so nothing here can edit or delete what's in your account.
  • It runs on your own computer. There is no garmin-mcp service in the middle: your data goes from Garmin to your computer, and what the assistant looks up goes to the assistant, like anything else you tell it.

Security describes what protects your data, and what doesn't, in detail.

What it can't do

  • Garmin's Personal API doesn't offer everything the Garmin Connect app shows. Training Status, Training Readiness, race predictions, personal records, lap splits, gear, courses and training plans aren't available. Sleep comes as time in each stage, not the stage-by-stage night.
  • Nothing can be written: no uploading activities, logging weight or editing anything.
  • Keys expire, after a year at most. Garmin emails you beforehand; create a new one and paste it in.
  • It is for your own data. One key belongs to one person.

More

InstallingEvery way to install it, including Docker and other MCP clients
Tool referenceEvery tool and ready-made prompt
ConfigurationSettings, and how the key and token work
SecurityWhat protects your data and what doesn't
DevelopmentHow it is built, and how to add to it
Contributing · Reporting a vulnerability · Changelog

Acknowledgements

The architecture and much of the plumbing (configuration, HTTP transport, tool framework, docs generator) come from freeagent-mcp, which in turn adapted them from crunch-mcp by Matt Oddie, under the MIT licence. The endpoints follow Garmin's own Python client for the Personal API.

License

MIT

garmin-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Garmin Ltd. or its subsidiaries. "Garmin", "Garmin Connect" and "Body Battery" are trademarks of Garmin Ltd. or its subsidiaries.

MCPB
https://github.com/tomkp/garmin-mcp/releases/download/v0.3.3/garmin-mcp.mcpb
Install Command
# mcpb: https://github.com/tomkp/garmin-mcp/releases/download/v0.3.3/garmin-mcp.mcpb