Garmin MCP App MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/chenhunghan/garmin-mcp-app.git
cd garmin-mcp-app
npm install
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add garmin-mcp-app -- node "<FULL_PATH_TO_GARMIN_MCP_APP>/dist/index.js"

Replace <FULL_PATH_TO_GARMIN_MCP_APP>/dist/index.js with the actual folder you prepared in step 1.

README.md

Connect your Garmin watch to Claude Desktop. Explore interactive charts.

Garmin MCP App

Connect your Garmin watch to Claude Desktop. Explore interactive charts.

Install

  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

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.

  • Review your day — steps, heart rate, sleep, stress, body battery, and HRV
  • Analyze your workouts — activity details, pace splits, HR zones, and training effect
  • Track your fitness — training readiness, training load, VO2 Max trends, and race predictions
  • Plan your training — create structured workouts, schedule them on your Garmin calendar, or edit existing ones

What you can visualize

Plot your activities

Visualize training readiness

Full list of supported Garmin Connect data
Category Data
Daily health Steps, heart rate, sleep stages, stress, body battery, HRV
Activities Activity list, activity details, per-km/mile splits, HR time-in-zones
Training Training readiness, training status & load, VO2 Max, race predictions
Profile Age, weight, height, HR zones, lactate threshold
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.

Learn more
  • 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 or OAuth tokens.
  • 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.

Developer / Contributor Guide

Getting Started

git clone https://github.com/chenhunghan/garmin-mcp-app.git
cd garmin-mcp-app
npm install

npm 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 prepare

Development

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 bundle

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.

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 resource
  • React UI (src/app.tsx) — Rendered in host's sandboxed iframe, communicates via postMessage
  • garmin-connect (packages/garmin-connect/) — TypeScript client

Tools (1)

garmin_data_accessAccess and interact with Garmin fitness and health data including daily health, activities, training metrics, and workout management.

Configuration

claude_desktop_config.json
{"mcpServers": {"garmin-mcp": {"command": "node", "args": ["/absolute/path/to/garmin-mcp-app/dist/index.js"]}}}

Try it

Show me a chart of my heart rate and sleep stages from last night.
How has my VO2 Max trended over the last month?
Create a new structured workout for my run tomorrow morning.
Analyze my recent activity details and training load for this week.
What is my current training readiness score?

Frequently Asked Questions

What are the key features of Garmin MCP App?

Visualize daily health metrics like steps, heart rate, sleep, and stress.. Analyze workout performance including pace splits and HR zones.. Track long-term fitness trends like VO2 Max and training load.. Manage Garmin workouts by creating, scheduling, or editing them.. Interactive React UI rendered directly within Claude Desktop..

What can I use Garmin MCP App for?

Athletes wanting to correlate training load with recovery metrics like HRV.. Users tracking sleep quality and stress levels alongside daily activity.. Runners planning structured workouts directly from their chat interface.. Fitness enthusiasts monitoring VO2 Max and race predictions over time..

How do I install Garmin MCP App?

Install Garmin MCP App by running: Download the latest .mcpb file from Releases and drag it into Claude Desktop.

What MCP clients work with Garmin MCP App?

Garmin MCP App works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Garmin MCP App docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare