garmin-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GARMIN_EMAIL | No | Garmin Connect email address for authentication. | |
| GARMIN_TOKENS | No | Path to directory for cached Garmin session token. Defaults to ~/.garminconnect. | ~/.garminconnect |
| GARMIN_PASSWORD | No | Garmin Connect password for authentication. | |
| GARMIN_MULTI_TENANT_ROOT | No | Directory containing per-user token stores for multi-tenant mode. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_recent_activitiesA | List the most recent Garmin activities, newest first. Returns a JSON array of activity summaries with: id (use with
get_activity_details), date (YYYY-MM-DDTHH:MM local time), type
(e.g. "running", "cycling"), name, distance_km, duration_min, avg_hr,
and pace_min_per_km. |
| get_activity_detailsA | Get full detail for a single activity by its id.
|
| get_activity_lapsA | Get the individual laps of an activity (intervals or auto-km splits).
|
| list_activities_by_dateA | List activities between two dates (inclusive).
|
| get_daily_statsB | Get daily summary stats for one day: steps, calories, resting HR, stress, etc.
|
| get_sleepA | Get sleep summary for the night ending on the given date.
|
| get_heart_rateA | Get heart rate summary for one day.
|
| get_body_batteryA | Get Body Battery (energy reserve) summary per day over a date range.
|
| get_training_statusB | Get training status for a given day: fitness trend, load, VO2 max, acclimation.
|
| get_performance_metricsA | Get current running fitness/threshold snapshot: lactate threshold, VO2 max, race predictions. Answers "where is my fitness right now?" in one call.
Each section is fetched independently: if one Garmin endpoint is unavailable it becomes {"error": ...} while the others still return. Every section carries its own "measured_date" so stale values are visible. |
| get_personal_recordsA | Get the user's Garmin personal records (running PBs and bests). Returns a JSON array, one object per record: |
| get_threshold_historyA | Get lactate-threshold heart rate + pace over time (the threshold trend).
|
| get_running_thresholdA | Get the running threshold anchor: lactate threshold pace, LTHR, and HR zones. This is the number a threshold or interval session should be prescribed from — never an activity's average pace. Returns a JSON object with:
Each section is fetched independently, so one dead endpoint leaves the other intact. For VO2 max and race predictions use get_performance_metrics. |
| get_activity_intervalsA | Get the work reps of an interval session, with warm-up and cool-down excluded.
Returns a JSON object with "classified_by" — An unstructured run returns zero work reps rather than one rep covering the whole activity: the activity's own average pace is never a rep pace. |
| get_activity_hr_zonesA | Get the time spent in each heart-rate zone (1-5) for one activity.
"has_hr_data" is false when the activity was recorded without heart rate
(Garmin returns no zones, or every zone at zero): treat the minutes as
unknown then, never as zero. This is the per-activity breakdown behind
get_activity_details' |
| find_comparable_intervalsA | Find recent work reps of a given distance, across your last running activities. Answers "what have I been running 1000m reps at lately?" in one call, replacing list-activities → laps-per-activity → filter-by-hand. Every rep returned has been through the same classification as get_activity_intervals, so warm-ups, rests and cool-downs never appear.
Returns a JSON object with "matches" (each rep plus its activity_id, date and name, newest first), "match_count", and "activities_scanned". |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Most tools target clearly distinct resources (sleep, heart rate, body battery, daily stats, personal records), and the descriptions explicitly tell the caller when to prefer one over another (e.g. get_activity_laps vs get_activity_intervals vs get_activity_details). The main remaining overlap is lactate-threshold/VO2 data appearing in get_performance_metrics, get_running_threshold, and get_threshold_history, which an agent could still pick wrong despite the cross-references.
Nearly everything follows a predictable get_/list_ + noun snake_case pattern (get_sleep, list_recent_activities, get_activity_hr_zones), with the activity sub-resources consistently namespaced. The single deviation is find_comparable_intervals, which uses a different verb than the rest of the set.
At 16 tools the surface sits at the upper end of comfortable but each tool maps to a distinct Garmin data domain or analysis question, so none look like filler. It is slightly heavy, with three tools touching threshold/performance data, but that reflects the domain rather than padding.
The read-only analytics lifecycle is well covered: activities, laps, intervals, HR zones, daily stats, sleep, HR, body battery, training status, performance, and personal records, with sensible aggregation and history for thresholds. Gaps are minor for an analysis-focused server (no weight/body-composition, no scheduled workouts/calendar, and no write operations), which agents can work around by using Garmin Connect directly.