Talk to your own fitness data. Findings computed in code against your own 28-day baselines.
registry version 0.9.0
npm
npx -y trainbudnpm
npx -y trainbud@0.9.0Docker
docker run -i --rm ghcr.io/zsadigzade/trainbud:0.9.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud"
],
"env": {
"GARMIN_EMAIL": "<YOUR_GARMIN_EMAIL>",
"GARMIN_PASSWORD": "<YOUR_GARMIN_PASSWORD>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
}
}
}
}{
"mcpServers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud@0.9.0"
],
"env": {
"GARMIN_EMAIL": "<YOUR_GARMIN_EMAIL>",
"GARMIN_PASSWORD": "<YOUR_GARMIN_PASSWORD>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env GARMIN_EMAIL=<YOUR_GARMIN_EMAIL> --env GARMIN_PASSWORD=<YOUR_GARMIN_PASSWORD> --env ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY> trainbud -- npx -y trainbud
claude mcp add --env GARMIN_EMAIL=<YOUR_GARMIN_EMAIL> --env GARMIN_PASSWORD=<YOUR_GARMIN_PASSWORD> --env ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY> trainbud -- npx -y trainbud@0.9.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud"
],
"env": {
"GARMIN_EMAIL": "<YOUR_GARMIN_EMAIL>",
"GARMIN_PASSWORD": "<YOUR_GARMIN_PASSWORD>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
}
}
}
}{
"mcpServers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud@0.9.0"
],
"env": {
"GARMIN_EMAIL": "<YOUR_GARMIN_EMAIL>",
"GARMIN_PASSWORD": "<YOUR_GARMIN_PASSWORD>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud"
],
"env": {
"GARMIN_EMAIL": "<YOUR_GARMIN_EMAIL>",
"GARMIN_PASSWORD": "<YOUR_GARMIN_PASSWORD>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
}
}
}
}{
"servers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud@0.9.0"
],
"env": {
"GARMIN_EMAIL": "<YOUR_GARMIN_EMAIL>",
"GARMIN_PASSWORD": "<YOUR_GARMIN_PASSWORD>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud"
],
"env": {
"GARMIN_EMAIL": "<YOUR_GARMIN_EMAIL>",
"GARMIN_PASSWORD": "<YOUR_GARMIN_PASSWORD>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
}
}
}
}{
"mcpServers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud@0.9.0"
],
"env": {
"GARMIN_EMAIL": "<YOUR_GARMIN_EMAIL>",
"GARMIN_PASSWORD": "<YOUR_GARMIN_PASSWORD>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
GARMIN_EMAIL required — The email address for your Connect account. Stored only in your local .env; `npx trainbud setup` writes it for you.GARMIN_PASSWORD required secret — Your 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_KEY secret — Optional, 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.最近更新于 15 天前 · MIT license
TrainBud 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: Tra…
Summary from the project README — github.com/Zsadigzade/trainbud
Distributed as npm, Docker, listed under Developer Tools. Review our MCP security guide before granting access to real data.
TrainBud 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: Tra
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/Zsadigzade/trainbud. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/trainbud/)
HTML
<a href="https://mcpnav.net/server/trainbud/"><img src="https://mcpnav.net/badge/trainbud.svg" alt="Listed on MCPNav" height="20"></a>