Connect your Garmin watch to Claude Desktop. Explore interactive charts. 1. Download the latest .mcpb file from Releases 2. Drag it into Claude Desktop to install 3. Ask Claude anything about your Garmin data — it will prompt you to sign in on first use Ask Claude about your health, training, and fitness — it reads your Garmin data and shows interactive charts right in the conversation. - Review y
Add this skill
npx mdskills install chenhunghan/garmin-mcp-appComprehensive Garmin data integration with excellent privacy design and rich visualization capabilities
1# Garmin MCP App23Connect your Garmin watch to Claude Desktop. Explore interactive charts.45<p align="center">6 <img src="https://github.com/user-attachments/assets/62b5ec61-a772-4502-b717-c32c4ea89195" alt="demo" width="600" />7</p>89## Install10111. Download the latest `.mcpb` file from [Releases](https://github.com/chenhunghan/garmin-mcp-app/releases)122. Drag it into Claude Desktop to install133. Ask Claude anything about your Garmin data — it will prompt you to sign in on first use1415## What you can do1617Ask Claude about your health, training, and fitness — it reads your Garmin data and shows interactive charts right in the conversation.1819- **Review your day** — steps, heart rate, sleep, stress, body battery, and HRV20- **Analyze your workouts** — activity details, pace splits, HR zones, and training effect21- **Track your fitness** — training readiness, training load, VO2 Max trends, and race predictions22- **Plan your training** — create structured workouts, schedule them on your Garmin calendar, or edit existing ones2324What you can visualize2526Plot your activities27<p align="center">28 <img width="600" alt="activities" src="https://github.com/user-attachments/assets/c180a8c5-6b8a-4102-aad2-d64fd98e3a85" />29</p>3031Visualize training readiness32<p align="center">33 <img width="600" alt="training readiness" src="https://github.com/user-attachments/assets/42b27fad-f425-4fe7-bd6f-e2816fbe4c12" />34</p>35<details>36<summary>Full list of supported Garmin Connect data</summary>3738| Category | Data |39| ------------ | --------------------------------------------------------------------- |40| Daily health | Steps, heart rate, sleep stages, stress, body battery, HRV |41| Activities | Activity list, activity details, per-km/mile splits, HR time-in-zones |42| Training | Training readiness, training status & load, VO2 Max, race predictions |43| Profile | Age, weight, height, HR zones, lactate threshold |44| Workouts | List, create, update, delete, and schedule workouts |4546</details>4748## Privacy & Security4950**No data is stored or collected by this app.** Your data flows directly between your machine and the Garmin Connect API — there is no intermediate server.5152<details>53<summary>Learn more</summary>5455- **Your credentials stay private.** You sign in through a secure login form rendered inside Claude Desktop. The login and MFA tools are marked as app-only (`visibility: ["app"]`), meaning Claude (the LLM) cannot call them and **never sees your email, password, or MFA code**.56- **Claude doesn't know who you are.** The LLM only receives the health/fitness data you ask for (steps, sleep, etc.) — it has no access to your Garmin account credentials or OAuth tokens.57- **Tokens are stored locally.** OAuth tokens are saved on your machine at `~/.garminconnect/` with restrictive file permissions (`0600`). They are never sent anywhere other than the Garmin Connect API.58- **You can log out anytime.** Logging out clears all saved tokens from your machine.5960</details>6162---6364<details>65<summary>Developer / Contributor Guide</summary>6667## Getting Started6869```bash70git clone https://github.com/chenhunghan/garmin-mcp-app.git71cd garmin-mcp-app72npm install73```7475`npm install` automatically sets up git hooks via [prek](https://github.com/j178/prek):7677- **commit-msg** — enforces [Conventional Commits](https://www.conventionalcommits.org/) via commitlint78- **pre-push** — runs lint, format check, typecheck, and tests (same as CI)7980### Troubleshooting: `core.hooksPath`8182If `npm install` warns about `core.hooksPath`, prek cannot install git hooks. Fix it by unsetting the local config:8384```bash85git config --unset-all --local core.hooksPath86npm run prepare87```8889## Development9091```bash92npm run dev # watch-build server + UI93npm run dev:ui # standalone UI dev at localhost:517394npm run test:lib # run garmin-connect tests95npm run pack # build + package .mcpb bundle96```9798`npm run dev:ui` opens `http://localhost:5173` with the React UI wired to the real MCP server in-process. You can test login, MFA, and logout against the actual Garmin API without deploying to Claude Desktop.99100## Testing in Claude Desktop101102Run `npm run build` (one-off) or `npm run dev` (watch mode for live rebuilds), then add to `~/Library/Application Support/Claude/claude_desktop_config.json`:103104```json105{106 "mcpServers": {107 "garmin-mcp": {108 "command": "node",109 "args": ["/absolute/path/to/garmin-mcp-app/dist/index.js"]110 }111 }112}113```114115Restart Claude Desktop. Ask Claude to check your Garmin auth — it will render the app UI in an iframe and run the real login/MFA flow.116117## Architecture118119- **MCP Server** (`src/server.ts`) — Node.js server over stdio, registers tools + UI resource120- **React UI** (`src/app.tsx`) — Rendered in host's sandboxed iframe, communicates via `postMessage`121- **garmin-connect** (`packages/garmin-connect/`) — TypeScript client library for Garmin Connect OAuth + API122123## Commit Convention124125Commits must follow the Conventional Commits format:126127```128type(optional-scope): description129```130131Allowed types: `feat`, `fix`, `chore`, `docs`, `ci`, `refactor`, `test`132133</details>134
Full transparency — inspect the skill content before installing.