# Run Coach [Health: Active]

**Category:** 🏃 Sports  
**Repository:** https://github.com/chenhunghan/garmin-mcp-app  
**GitHub Stars:** 17  
**npm Downloads (last month):** 1014  
**Views:** 9  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/run-coach

## Description
Garmin data with interactive charts: daily briefing, training trends, workout planning. Unofficial.

## Tools
Capabilities this server exposes over MCP:

- **garmin-check-auth** — Check if the user is authenticated with Garmin Connect
- **garmin-get-login-key** — Issue a single-use public key for encrypting the Garmin password
- **garmin-login** — Log in to Garmin Connect with email and an encrypted password
- **garmin-submit-mfa** — Submit MFA verification code for Garmin Connect login
- **garmin-logout** — Log out of Garmin Connect and clear saved tokens
- **get-steps** — Get step count data from Garmin Connect. Supports a single date or a date range.
- **get-heart-rates** — Get heart rate data (resting, min/max, intraday samples) for a day, or for each day from date to endDate in one call. The chart shows the days ending at the last requested date.
- **get-sleep** — Get sleep data (stages, score, HRV, breathing) for a day, or for each day from date to endDate in one call. The chart shows the days ending at the last requested date.
- **get-stress** — Get stress data (average, max, intraday levels) for a day, or for each day from date to endDate in one call. The chart shows the days ending at the last requested date.
- **get-activities** — Get recent activities from Garmin Connect
- **get-training-readiness** — Get training readiness score (0-100) and breakdown (sleep, HRV, recovery, stress) for a given date
- **get-training-status** — Get training status including acute/chronic load, ACWR, and load status for a given date
- **get-hrv** — Get heart rate variability data (nightly avg, weekly avg, baseline, status) for a date range
- **get-body-battery** — Get daily body battery charged/drained values for a date range
- **get-activity-details** — Get full details for a specific Garmin activity by ID
- **get-activity-splits** — Get splits (pace, HR, cadence) for a specific activity. Returns the laps recorded by the watch (lapDTOs); when the activity was recorded as a single lap (auto-lap off), also per-km splits computed from the time series (kmSplits).
- **get-activity-hr-zones** — Get heart rate time-in-zones breakdown for a specific activity
- **get-vo2-max** — Get VO2 Max trend data for a date range
- **get-race-predictions** — Get predicted race times for 5K, 10K, half marathon, and marathon
- **get-training-context** — Collects comprehensive training context for workout planning: recent running activities, sleep, HRV, training readiness, body battery, VO2 max, and training status. Use this before planning a workout.
- **list-workouts** — List the user's saved/custom workouts (structured workouts they created, e.g. 'LT', 'Tempo 5K', '4x1km'). Use this whenever the user refers to a workout by name, then get-workout for its steps.
- **get-workout** — Get a saved workout's steps (warm-up, intervals, targets) by ID. To find a workout by name, call list-workouts first.
- **create-workout** — Create a workout from raw Garmin workout JSON. Prefer create-structured-workout, which builds this JSON from a simple step list and avoids format mistakes; use this only for something it can't express.

Workout structure:
- sportType: { sportTypeId: 1, sportTypeKey: 'running' } for running
- workoutSegments: array of segments, each with segmentOrder and workoutSteps
- Each step uses type "ExecutableStepDTO" for regular steps, "RepeatGroupDTO" for repeat groups
- Common step structure: { stepOrder, stepType, endCondition, endConditionValue, targetType, targetValueLow, targetValueHigh }

Step types: warmup, cooldown, interval, rest, recovery, repeat
End conditions: time (seconds), distance (meters), lap.button (manual lap)
Target types: heart.rate.zone (1-5), pace.zone, speed.zone, no.target

Example - 5x1000m intervals:
- Warmup: 15min easy (endCondition: time, endConditionValue: 900)
- Repeat group (numberOfIterations: 5):
  - Interval: 1000m (endCondition: distance, endConditionValue: 1000)
  - Recovery: 90s jog (endCondition: time, endConditionValue: 90)
- Cooldown: 10min easy (endCondition: time, endConditionValue: 600)
- **create-structured-workout** — Create a workout on Garmin Connect from a simple step list, and optionally put it on the calendar (scheduleDate). Use this instead of create-workout. The app shows the new workout's steps.

Example: 5x1km intervals on a Tuesday
{ "name": "5x1km @ 4:00", "sport": "running", "scheduleDate": "2026-10-06",
  "steps": [
    { "type": "warmup", "duration": { "seconds": 900 }, "target": { "hrZone": 2 } },
    { "repeat": 5, "steps": [
      { "type": "run", "duration": { "meters": 1000 }, "target": { "pace": { "fast": "3:55", "slow": "4:05" } } },
      { "type": "recovery", "duration": { "seconds": 90 } } ] },
    { "type": "cooldown", "duration": { "seconds": 600 }, "target": { "hrZone": 1 } } ] }

An easy run is a single { "type": "run", "duration": { "seconds": 2700 }, "target": { "hrZone": 2 } } step. Base targets on the user's own zones and recent paces (get-training-context).
- **update-workout** — Update an existing workout on Garmin Connect
- **delete-workout** — Delete a workout from Garmin Connect, with every calendar entry it has. To take one scheduled workout off the calendar and keep the workout, use unschedule-workout.
- **schedule-workout** — Schedule a workout on a specific calendar date in Garmin Connect
- **unschedule-workout** — Remove one scheduled workout from the Garmin calendar; the workout itself and its other dates are kept. scheduleId is the calendar entry's ID, not the workout's: workoutScheduleId from schedule-workout or create-structured-workout, or scheduleId from show-training-week. To move a workout to another day, unschedule it, then schedule-workout on the new date.
- **get-daily-summary** — Daily totals: steps, calories, distance, floors, intensity minutes, stress and body battery for a date
- **get-respiration** — Breathing rate (breaths/min) through the day and during sleep for a date
- **get-spo2** — Blood oxygen saturation (SpO2) readings for a date
- **get-intensity-minutes** — Moderate/vigorous intensity minutes for a date and the running weekly total vs goal
- **get-floors** — Floors climbed and descended through the day for a date
- **get-resting-heart-rate** — Daily resting heart rate over a date range
- **get-body-battery-events** — Events that charged or drained body battery (sleep, activities, stress) for a date
- **get-hydration** — Water intake vs goal and sweat loss for a date
- **get-body-composition** — Weight, BMI, body fat and muscle mass for a date
- **get-weigh-ins** — All weigh-ins over a date range
- **get-weekly-steps** — Weekly step totals for the weeks ending at a date
- **get-weekly-stress** — Weekly average stress for the weeks ending at a date
- **get-weekly-intensity-minutes** — Weekly intensity minutes vs goal over a date range
- **get-endurance-score** — Endurance score for a date, or weekly stats when endDate is given (a single date often has no data)
- **get-hill-score** — Hill score (strength + endurance on climbs) for a date, or weekly stats when endDate is given
- **get-running-tolerance** — Running load tolerance over a date range
- **get-lactate-threshold** — The user's latest lactate threshold measurement (heart rate and pace), a physiological metric detected by the watch. Not a saved workout: for workouts named like 'LT' use list-workouts.
- **get-cycling-ftp** — Latest cycling functional threshold power (FTP)
- **get-heart-rate-zones** — Configured heart rate zones per sport
- **get-fitness-age** — Fitness age vs chronological age and what drives it
- **get-personal-records** — Personal records (fastest 1K/5K/10K, longest run, etc.)
- **get-progress-summary** — Totals per activity type over a date range for a metric
- **get-activities-by-date** — Activities between two dates, optionally filtered by type (e.g. running, cycling)
- **get-activity-typed-splits** — Run/walk/rest splits of an activity
- **get-activity-weather** — Weather during an activity
- **get-activity-exercise-sets** — Strength-training sets, reps and weights of an activity
- **get-activity-chart-data** — Time series (HR, pace, cadence, elevation...) of an activity, downsampled
- **get-activity-gear** — Gear (e.g. shoes) used for an activity
- **get-activity-types** — All Garmin activity type keys
- **get-user-settings** — User settings: units, sleep schedule, physiological data (age, weight, height, HR zones, lactate threshold)
- **get-devices** — Registered Garmin devices
- **get-primary-training-device** — Device used as the source of training status and metrics
- **get-last-used-device** — Most recently synced device
- **get-gear** — All gear (shoes, bikes) with usage
- **get-goals** — Goals by status
- **get-training-plans** — Available and active training plans
- **get-calendar** — Calendar for a month: scheduled workouts, activities and events
- **get-daily-briefing** — Morning briefing: how the user is today, framed against their own baselines. Use for 'how am I today', 'morning briefing', 'daily check-in', 'should I train today', 'am I recovered'. Returns training readiness (with its limiting factors), last night's sleep (score, duration vs Garmin's optimal, stages), HRV (vs 7-night avg and the balanced range), body battery (vs at wake), resting HR (vs 7-day avg), stress, steps vs goal, training status, the last activity and the past 7 days' volume. Each metric has value, unit, a named baseline, delta and a neutral status (from Garmin's own status fields where it has one); missing metrics carry a reason. After calling it: give a short, warm briefing that leads with the 1–2 numbers that matter most today, then 2–3 concrete, personal suggestions grounded in the numbers (e.g. intensity or duration of today's session, bedtime, recovery), and one thing to watch. Say what you're unsure about (missing metrics, a single bad night vs a trend). Don't restate every number: the app already shows them.
- **show-training-week** — Show a Monday-Sunday training week: workouts scheduled on the Garmin calendar (with their steps and estimated duration/distance), activities completed, and a weekly summary (planned vs done, planned and completed volume). Call it after creating/scheduling a week of workouts to show the user the plan, or to review how a week went.
- **show-performance-dashboard** — Show how key health and fitness metrics trend over 4 weeks to 1 year, one small chart per metric on a shared time range. Use it for trends, progress and comparing metrics over time: "is my fitness improving?", "how has my HRV changed?", "why did my resting HR go up in March?" (pick a range/endDate that covers the period).

Metrics (max 4): restingHR, hrv (nightly avg, with Garmin's baseline band), vo2max, sleepScore, sleepDuration (h), steps (per day), stress (avg), bodyBattery (daily high), intensityMinutes (weekly, vigorous counted double), trainingLoad (acute load with Garmin's optimal range), weight (kg, only if the user weighs in). Points are daily for 4w/12w and weekly means for 26w/52w.

Each metric has a summary: end = current level (mean of the last 7 days, or the latest week), mean = the period's average, vsMean/vsMeanPct = current level vs that average (the headline comparison; % omitted when the average is near zero), min/max with dates, start = the first 7 days/week (often unrepresentative, e.g. a new watch still calibrating or load ramping up from zero, so don't quote start→end percentages), and trend (direction of a least-squares fit; "flat" = fitted change under 3% of the mean). The chart only shows the data: interpret it for the user — what changed, how the metrics relate (e.g. HRV vs resting HR vs training load vs sleep), and gaps in the data. Don't over-read small changes.

On servers that limit Garmin requests per call, metrics that didn't fit are listed in `deferred` (not fetched): call again with those metrics and the same range and endDate before interpreting them.
- **show-run-replay** — Open an interactive 3D replay of a run: a runner follows the GPS track over the terrain while pace, heart rate (zones), cadence, elevation/grade, power, running dynamics and weather play back over time, with pause, fast-forward and scrubbing. Use when the user wants to replay, relive, watch or review a run as a whole. Returns a short summary of the run; the view renders the time series.
- **garmin-get-run-replay** — Time series of an activity for the 3D replay view (GPS, elevation, HR, cadence, speed, power, running dynamics), plus laps, weather and HR zones
- **garmin-run-map-settings** — Read or change whether the run replay fetches real elevation (AWS Terrain Tiles) and map data (OpenStreetMap) for the area around a run
- **garmin-get-run-map** — Real elevation and OpenStreetMap features (roads, land cover, water, buildings) around an activity's GPS track, for the 3D replay. Only when the real map setting is on.
- **garmin-get-replay-asset** — One file of the 3D replay's asset pack (scanned materials, sky light, models, running motion; CC0), base64-encoded. Served from a local cache, downloaded once from the app's GitHub release.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "run-coach": {
    "command": "npx",
    "args": ["-y","garmin-mcp-app"]
  }
}
```

## Documentation

## What Run Coach does

Run Coach exposes Garmin Connect data and workout operations through MCP. It covers daily health measurements such as steps, heart rate, sleep, stress, HRV, body battery, respiration, SpO2, floors, and daily summaries. Training-oriented tools provide readiness scores, training status, acute and chronic load, ACWR, VO2 Max trends, race predictions, and recent activities.

Activity analysis includes full activity details, watch-recorded laps, computed per-kilometre splits for single-lap runs, and time spent in heart-rate zones. The server can also retrieve saved workouts and create, update, delete, or schedule workouts on the Garmin calendar. Its training-context operation combines recent runs with sleep, HRV, readiness, body battery, VO2 Max, and training status before workout planning.

## How it works

The server communicates with Garmin Connect from the local machine over MCP. Authentication includes checking login state, obtaining a one-use key for password encryption, signing in, submitting MFA codes, and logging out. Login and MFA actions are app-only, so the language model does not receive the credentials or verification code.

Garmin tokens are saved locally under `~/.garminconnect` with restrictive file permissions and are shared across MCP clients on the same computer. The application does not use an intermediate server for Garmin data. Compatible MCP Apps clients can render the sign-in form and interactive charts; clients without MCP Apps support can still call the data tools after authentication has been completed elsewhere.

## Setup and configuration

Claude Desktop users can install the latest `.mcpb` package from the project's releases and drag it into the application. ChatGPT desktop installation uses its Plugins marketplace and requires Node.js 20 or newer; the desktop app is required because the plugin runs on the local computer.

For clients using an MCP configuration, run the package with Node.js 20 or newer:

```json
{
  "mcpServers": {
    "garmin": {
      "command": "npx",
      "args": ["-y", "garmin-mcp-app"]
    }
  }
}
```

Claude Code and Codex CLI can add the same server from their command lines. After signing in through an MCP Apps-capable client, other clients can reuse the locally saved tokens. Logging out removes the saved tokens.

## Tools and capabilities

- Retrieve steps, heart rate, sleep, stress, HRV, body battery, respiration, SpO2, and daily totals for individual dates or ranges where supported.
- List activities and inspect activity details, splits, pace, heart rate, cadence, and heart-rate zones.
- Review training readiness, training status, load metrics, VO2 Max, race predictions, and combined training context.
- Find saved workouts and create structured running workouts with warm-ups, intervals, recoveries, targets, repeats, and optional calendar dates.
- Update, delete, or schedule Garmin workouts.
- Display daily briefings, performance trends, workout analysis, and training-week views through supported interactive clients.

## Limitations and notes

Run Coach is an unofficial Garmin Connect integration and is not affiliated with Garmin. Interactive forms and charts depend on MCP Apps support in the client. Clients without that support still receive tool data but cannot display the sign-in form. The server is intended for local use and requires a Garmin Connect account with accessible data.

_Full upstream README: https://allmcps.com/mcp/run-coach/readme_

