Skip to content
Ziya Sadigzade
← All work

Case study · Open source, MIT

TrainBud

Open-source MCP server that exposes Garmin Connect data as tools for Claude, Cursor, ChatGPT and other AI agents, plus a Connect IQ watch widget.

Unofficial community project, not affiliated with Garmin.

Tagline
Talk to your Garmin data
License
MIT
Runtime
Node 22.12 or newer
Stack
Node.js · MCP · Connect IQ

01 — Problem

Fitness data an AI agent can actually call.

TrainBud exposes Garmin Connect fitness data as tools for Claude, Cursor, ChatGPT and other AI agents, so a person can ask questions about their own training, sleep and recovery. A Connect IQ widget brings the answers to the watch.

02 — What I built

One server, two transports, and a watch widget.

  1. 01  Client

    Claude, Cursor, ChatGPT or another AI agent

  2. 02  Transport

    stdio for desktop, Streamable HTTP for web and watch

  3. 03  TrainBud

    15 MCP tools

  4. 04  Data

    Garmin Connect fitness data

Tools cover activities, sleep, heart rate, recovery, body composition, stress, VO2 max, training insights, week review and personal context.

03 — Results

Published, tested, and on the watch.

MCP tools
15
Tests
827
On npm
v0.9.0
Garmin store widget
v2.1.0

The npm package was verified by running it with npx from outside the repository.

04 — Decisions

Two transports
stdio for desktop clients, Streamable HTTP for web clients and the watch.
On the watch
The Connect IQ widget has a pairing flow and shows Claude's answers on the watch.
Checked like a user
Published to npm and verified by running it with npx from outside the repository.
Tested
827 tests, Node 22.12 or newer.