Talk to your own fitness data. Findings computed in code against your own 28-day baselines.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Talk to your training data.
TrainBud is an open-source MCP server that connects your Garmin Connect fitness data to Claude, Cursor, and other AI assistants. Ask about workouts, sleep, heart rate, recovery, and body composition in plain English β privately, on your machine.
Disclaimer: TrainBud is an unofficial community project. It is not affiliated with, endorsed by, or sponsored by Garmin Ltd. Garmin Connect is a trademark of Garmin Ltd.
Once connected to your MCP client, ask things like:
See examples/prompts.md for more ideas.
.env; data is cached on your machine.trainbud/The setup wizard walks you through credentials, authentication, and connecting Cursor or Claude Desktop β no MCP config editing required. Then restart your MCP client and ask it what you did today.
To keep trainbud on your PATH instead of typing npx every time:
Needs Node 22.12+. Full walkthrough: QUICKSTART.md
Without npm link, every trainbud <command> in this README is
node dist/index.js <command> run from the repo root. If dist/ does not exist yet,
run npm run build first.
Install as a Claude Code plugin β skills and MCP server in one step:
Set credentials, then restart Claude Code:
| Command | What it does |
|---|---|
/trainbud:trainbud-setup | First-time setup and diagnostics |
/trainbud:trainbud | Ask about workouts, sleep, recovery, HR, stress, VO2 max |
Plugin files live in plugin/. See plugin/README.md.
This repo also ships project skills in .claude/skills/ for development without installing the plugin:
| Command | What it does |
|---|---|
/trainbud-setup | Install, authenticate, configure MCP, run live check |
/trainbud | Ask about workouts, sleep, recovery, HR, stress, VO2 max |
Open the repo in Claude Code (claude in this directory) β skills load automatically.
To use skills in every project without the plugin, copy them to ~/.claude/skills/.
After setup, restart your MCP client and try /trainbud with "What did I do today?"
trainbud serve hosts a dashboard at /dashboard. It is phone-first, because the
pairing flow is: you are standing next to the watch holding a phone when you approve a
code.
It shows what stands out today against your own baselines, this week against last week, and resting heart rate and sleep plotted against your own 30-day median β all read from the local history store, so it paints instantly and works even when your Connect session has expired. A break in a line is a day with no measurement, not a zero.
It is also where you tell TrainBud who it is talking to:
| Setting | What it changes |
|---|---|
| Name, units, primary sport, weekly goal | Every renderer, and what the AI is told about you |
| Thresholds | Where green becomes amber and amber becomes red β on the watch too |
| Watch cards | Which cards appear on the wrist and in what order, live on the next sync |
| AI model, tone, answer length | How the Ask card and the daily insight sound |
| Your own Ask questions | Up to five, 32 characters each. They lead the watch's Ask menu; the rest of the slots stay generated from what fired |
| Monthly spending cap | Optional. Refuses an Ask past the cap instead of spending past it |
| Privacy | Local feature counters, on by default, with a delete button |
Usage. TrainBud runs on your own AI provider key, so every question and every daily insight is charged to you. The dashboard shows the tokens and cost per call, the month to date, and a 30-day chart. A model this build has no published price for is recorded with its cost left unknown rather than as zero β a call priced at zero would make a cap that can never trip.
Nothing on this page leaves your machine. There is no endpoint to send it to.
View recovery, sleep, activity, stress, and VO2 max on your Garmin watch via a Connect IQ widget in ciq/.
Requires: trainbud serve running + HTTPS tunnel (same setup as web AI).
https://abc.trycloudflare.com)/dashboard?token=YOUR_API_KEY) to complete setup. The dashboard swaps that token for a session cookie and drops it from the URL, so the address bar is safe to screenshot afterwards.The glance shows recovery and sleep, or the top finding in a few characters ("RHR +4 bpm"),
from the last cached summary, so it renders without waiting on the network; once that is more
than two hours old it says so. Open it and tap or swipe to cycle through the cards you left
switched on in the dashboard. The watch calls GET /api/watch β a compact JSON summary, not
the full MCP protocol.
On the Today card, START (or tap) opens a finding to the rule it fired on β "Each of the
last 3 days was at least 3 bpm and 2 deviations above your 28-day median of 48 bpm" β and from
there it can be muted for three days (POST /api/mute). The Sleep card names what moved
last night against your own nights ("Deep 40m (1h24m)"). On the Forerunner 55, whose widget has
64 KB, those two are compiled out so the rest still fits.
Every finding fires on a rule you can see and move. The dashboard's Detector rules section holds the bars β resting HR days/bpm/deviations, sleep-debt hours, HRV drop, the training-load ratios, and "several signals together" (resting HR up, HRV down and sleep stress up at once) β bounded so no setting makes every day, or no day, a finding. Every surface shows the rule a finding fired on, with the numbers that were in force.
/voice)Hold a button on your phone, ask a question out loud, hear the answer read back.
Open https://YOUR-HOST/voice?token=YOUR_API_KEY once; it trades the key for a cookie
and redirects to a clean URL.
whisper-large-v3-turbo, about $0.04 per hour of audio). Add the key on the dashboard.Not a watch feature and it cannot be one: Connect IQ exposes no microphone or speaker to a widget. Not hands-free either β mobile browsers suspend the microphone when the tab is backgrounded, so the phone has to be awake with the page in front of you.
Full detail: docs/VOICE.md
/voice and the watch, without babysitting a terminal)trainbud serve in a terminal lasts until the terminal closes. To have the server and the
tunnel come back by themselves after a reboot:
That registers a scheduled task for the server and a watchdog that checks both halves every
five minutes β because a tunnel that answers is not a server that answers: a tunnel with
nothing behind it serves its own error page under a 200, so the link looks alive while the
watch reports HTTP -400. systemd, launchd and Docker Compose recipes are in the guide.
Full detail, including Cloudflare named tunnels: docs/ALWAYS-ON.md
Edit claude_desktop_config.json:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/trainbud)<a href="https://allmcps.com/mcp/trainbud"><img src="https://allmcps.com/api/badge/trainbud?style=directory" alt="TrainBud on AllMCPs" /></a>