Garmin MCP App
Provides integration with Garmin Connect, enabling users to access and interact with their Garmin health and fitness data through an interactive interface.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Garmin MCP AppShow me my steps and sleep summary for today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Run Coach — Garmin MCP App
Connect your Garmin watch to Claude Desktop or ChatGPT. Explore interactive charts.
Unofficial. Not affiliated with or endorsed by Garmin. Garmin is a trademark of Garmin Ltd.
Install
Claude Desktop
Download the latest
.mcpbfile from ReleasesDrag it into Claude Desktop to install
Ask Claude anything about your Garmin data — it will prompt you to sign in on first use
ChatGPT (desktop app)
Requires Node.js 20+.
In the ChatGPT desktop app, open Settings → Plugins → Add marketplace
Source:
chenhunghan/garmin-mcp-app(leave Git ref and sparse paths empty) → Add marketplaceRestart the app, open the Plugins Directory, choose the Run Coach marketplace and install Coach
Or with the Codex CLI: codex plugin marketplace add chenhunghan/garmin-mcp-app then codex plugin add garmin@garmin-mcp.
Coach then appears in the sidebar (daily briefing and performance dashboard) and as a Training Week tab in conversations; or just ask "@Coach how am I today?". It runs on your computer, so it works in the desktop app only.
Other MCP clients (Cursor, VS Code, Claude Code, Codex CLI, …)
Requires Node.js 20+. Add the server to your client's MCP config:
{
"mcpServers": {
"garmin": { "command": "npx", "args": ["-y", "garmin-mcp-app"] }
}
}Or from the command line: claude mcp add garmin -- npx -y garmin-mcp-app (Claude Code), codex mcp add garmin -- npx -y garmin-mcp-app (Codex CLI).
Clients that support MCP Apps (e.g. VS Code) show the interactive charts and the sign-in form. Other clients still get every Garmin tool as data, but can't show the sign-in form: sign in once from an MCP Apps client — the tokens are saved in ~/.garminconnect and shared by every client on your computer.
Related MCP server: Garmin Connect MCP Server
What you can do
Ask Claude about your health, training, and fitness — it reads your Garmin data and shows interactive charts right in the conversation.
Start your day — a morning briefing: readiness, sleep, HRV, body battery and resting HR against your own baselines, with Claude's suggestions
See your trends — compare up to 4 metrics over 4 weeks to a year, and ask Claude what changed
Plan your week — Claude designs a week of training from your data, then creates and schedules the workouts on your Garmin calendar
Analyze your workouts — per-km splits (even for single-lap runs), HR zones, and training effect
Track your fitness — training readiness, training load, VO2 Max, race predictions, and 30+ more Garmin metrics
Your Garmin, coached by Claude
The app frames your data against your own baselines; Claude reads it and suggests what to do. Every view has Ask Claude questions built from your numbers, and Claude knows what you're looking at.
Daily briefing — "How am I today?"
Performance dashboard — "How has my fitness trended this year?"
Weekly training plan — "Plan my training week" (or the plan-training-week prompt)
Per-km splits — "Show the splits of my last run"
Screenshots use the built-in demo mode (npm run dev:ui:demo): a fictional runner, no real person's data. Light and dark themes follow Claude Desktop.
What you can visualize
Plot your activities
Visualize training readiness
Category | Data |
Daily health | Steps, heart rate, sleep stages, stress, body battery (+ events), HRV, respiration, SpO2, floors, hydration |
Trends | Resting heart rate, weekly steps, weekly stress, weekly intensity minutes, weigh-ins |
Activities | List / by date, details, splits, typed splits, HR time-in-zones, chart data, weather, exercise sets, gear |
Training | Training readiness, training status & load, VO2 Max, race predictions, endurance score, hill score |
Performance | Lactate threshold, cycling FTP, HR zones, fitness age, personal records, running tolerance, progress |
Devices & gear | Devices, primary training device, last used device, gear, goals, training plans, calendar |
Workouts | List, create, update, delete, and schedule workouts |
Privacy & Security
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.
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.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, OAuth tokens, or profile (name, email, location).
Your password is never sent in plain text. The login form encrypts it with a single-use key before it passes through Claude Desktop, so it can't leak into host logs.
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.You can log out anytime. Logging out clears all saved tokens from your machine.
Getting Started
git clone https://github.com/chenhunghan/garmin-mcp-app.git
cd garmin-mcp-app
npm installnpm install automatically sets up git hooks via prek:
commit-msg — enforces Conventional Commits via commitlint
pre-push — runs lint, format check, typecheck, and tests (same as CI)
Troubleshooting: core.hooksPath
If npm install warns about core.hooksPath, prek cannot install git hooks. Fix it by unsetting the local config:
git config --unset-all --local core.hooksPath
npm run prepareDevelopment
npm run dev # watch-build server + UI
npm run dev:ui # standalone UI dev at localhost:5173
npm run test:lib # run garmin-connect tests
npm run pack # build + package .mcpb bundlenpm 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.
Testing in Claude Desktop
Run 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:
{
"mcpServers": {
"garmin-mcp": {
"command": "node",
"args": ["/absolute/path/to/garmin-mcp-app/dist/index.js"]
}
}
}Restart 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.
Architecture
MCP Server (
src/server.ts) — Node.js server over stdio, registers tools + UI resourceReact UI (
src/app.tsx) — Rendered in host's sandboxed iframe, communicates viapostMessagegarmin-connect (
packages/garmin-connect/) — TypeScript client library for Garmin Connect OAuth + API
Commit Convention
Commits must follow the Conventional Commits format:
type(optional-scope): descriptionAllowed types: feat, fix, chore, docs, ci, refactor, test
Disclaimer
Run Coach is an independent, open-source project. It is not affiliated with, endorsed by, or sponsored by Garmin Ltd. or its subsidiaries. Garmin and Garmin Connect are trademarks of Garmin Ltd. or its subsidiaries; they are used here only to describe compatibility. The app uses the unofficial Garmin Connect API with your own account.
This server cannot be deployed
Maintenance
Related MCP Connectors
Adaptive running coach MCP server — training data, plans, and recovery for AI assistants.
Remote MCP server for training, nutrition, wellness, and performance data with OAuth 2.0.
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Hosted MCP server with managed OAuth for 15+ toolkits: Google Workspace, Fitbit, Oura, Kalshi, etc.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that integrates Garmin Connect data with LLMs to provide personalized running analysis and training plans. It enables users to monitor performance metrics, manage training loads, and receive data-driven workout suggestions based on health indicators like VO2 Max and recovery status.435-
- AlicenseAqualityBmaintenanceA Model Context Protocol (MCP) server for Garmin Connect integration. Access your activities, health data, training metrics, and more through Claude and other LLMs.2264MIT
- AlicenseNot gradedqualityCmaintenanceMCP server to interact with Garmin Connect, enabling retrieval of health, activity, and device data through natural language.64MIT
- AlicenseAqualityBmaintenanceMCP server for reading and querying Garmin Connect data, including activities, strength history, recovery, trends, and optionally creating workouts.12MIT