Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

TrainBud

MCP server by Zsadigzade Community

Connects Garmin Connect fitness data to Claude, Cursor and other MCP clients. Ask about workouts, sleep, heart rate and recovery in plain English. Findings are checked against your own 28-day baselines, and data stays on your machine.

  • Score 70
  • 0 stars
  • 58 a week
  • MIT
  • Updated

Install TrainBud

Built from the published package, never by AI.

claude mcp add trainbud -e GARMIN_EMAIL=YOUR_GARMIN_EMAIL -e GARMIN_PASSWORD=YOUR_GARMIN_PASSWORD -- npx -y trainbud

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install TrainBud in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the trainbud block.

About

TrainBud is an open-source MCP server that connects Garmin Connect fitness data to AI assistants such as Claude and Cursor. It answers questions about workouts, sleep, heart rate, recovery, stress, VO2 max and body composition. Credentials are kept in a local .env file, and data is cached in a local SQLite store.

Findings are computed in code against the user's own 28-day baselines, and each finding shows the rule it fired on. The project includes a setup wizard, a dashboard served by the CLI, and a Connect IQ widget for Garmin watches. It is aimed at people who train with a Garmin device and want to ask their own data questions in plain English. TrainBud is an unofficial community project and is not affiliated with Garmin Ltd.

Written from the project's README and checked against it.

Tools it gives your assistant

  • get_latest_activityReturns your most recent workout, with distance, pace, HR and elevation.
  • get_sleep_dataShows sleep duration, stages, score, awakenings and what was unusual last night.
  • get_recovery_statusGives a recovery score based on HRV, sleep, stress and resting heart rate.
  • get_heart_rate_trendsShows resting, max and average heart rate over time.
  • get_body_compositionShows weight, body fat and muscle mass trends.
  • get_findingsLists what stands out against your own 28-day baselines, with the rule each fired on.
  • get_week_reviewCompares this week with last, with a load forecast, sleep debt and your next race.
  • compare_workoutsCompares one workout with your earlier efforts of the same type and distance.
  • remember_contextRecords a goal, a race and its date, an injury, or a note.
  • log_subjectiveRecords how a session felt, including RPE, soreness and mood.

What you need

  • Node.js 22.12 or later
  • A Garmin Connect account
  • An MCP client such as Claude Desktop or Cursor
  • An AI provider key for dashboard Ask features (optional)
SettingNeededWhat it is
GARMIN_EMAILEnvironment variableRequiredThe email address for your Connect account. Stored only in your local .env; `npx trainbud setup` writes it for you.
GARMIN_PASSWORDEnvironment variable, secretRequiredYour Connect password. Stored only in your local .env. Accounts with MFA enabled are not supported, because the unofficial library this drives cannot complete that flow.
ANTHROPIC_API_KEYEnvironment variable, secretOptionalOptional, and only for the watch app's Ask card and daily insight. The MCP tools themselves need no model key: every finding is computed in code, and the model only phrases it.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • What did I do today?
  • How's my sleep been this week?
  • Am I recovered enough to train hard tomorrow?

Good to know

  • Unofficial community project, not affiliated with or endorsed by Garmin Ltd.
  • The watch widget needs trainbud serve running and an HTTPS tunnel.
  • Voice on iPhone uses Groq transcription, which is charged per hour of audio.
  • Voice is not hands-free, because mobile browsers suspend the microphone in background tabs.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to TrainBud

All alternatives →
Mirobody thetahealth
96

Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.

AAA Local 1.9k
Ruview ruvnet
94

RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.

AAA Local 106k
tooluniversemims-harvard
90

ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.

AAA Local 1.8k
Mirobody thetahealth
90

Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.

AAA Local 1.9k
Scansci PDF Rimagination
88

ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.

AAA Local 1.3k
Dsh Wensu hui-xu-ai
87

Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.

AAC Local 5k/wk

Compare with Mirobody, Ruview or tooluniverse

TrainBud: common questions

Where is my Garmin data stored?

Data is cached on your machine in a local SQLite store, and session tokens are kept in the .trainbud/ folder. The dashboard reads from the local history store and has no endpoint that sends data elsewhere.

Does TrainBud work with Garmin watches?

A Connect IQ widget in the ciq/ folder shows recovery, sleep, activity, stress and VO2 max on supported watches. It requires trainbud serve running and an HTTPS tunnel.

Which operating systems does TrainBud support?

The source says it works on Windows, macOS and Linux with Node.js 22.12 or later.

How do I install TrainBud?

In Claude Code run claude mcp add trainbud -e GARMIN_EMAIL=YOUR_GARMIN_EMAIL -e GARMIN_PASSWORD=YOUR_GARMIN_PASSWORD -- npx -y trainbud. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is TrainBud the official server?

TrainBud is a community project by Zsadigzade, not verified by a company domain.

Is TrainBud free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is TrainBud safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to TrainBud?

Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.

Does TrainBud work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

TrainBud Install

Add to stack

Loading.