garmin-mcp

v1.6.0
io.github.colincooperio/garmin-mcp Checked 21 hours ago Published 3 days ago

Ask your AI assistant about your Garmin training, sleep and recovery data

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_readiness Readiness snapshot

Best first call for 'how recovered am I', 'should I train hard today', 'how did I sleep last night'. One compact object: that night's sleep (score, stages, HR, respiration), HRV vs baseline and status, resting HR, Body Battery, each compared with the user's previous 7 days; training load (last 7 days vs 28-day weekly average); and activities from the last 3 days. Sleep is filed under the date the user woke up, so use 'today' for last night.

ParameterTypeDescription
dateYYYY-MM-DD, or 'today' / 'yesterday' (resolved in the user's Garmin time zone).

summarize_wellness Summarize wellness trends

Best tool for wellness trends over weeks or months ('has my sleep improved', 'resting HR trend this year', 'stress lately'). Returns per-period averages only: steps, resting HR, stress, Body Battery high/low, intensity minutes (totals), respiration, sleep hours/deep/REM/score, overnight HRV, with min-max ranges for key metrics and day counts where data is missing. group_by='weekday' answers 'which days do I sleep worst / most stressed'. Range up to 366 days; fetches and aggregates in the server.

ParameterTypeDescription
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to today.
group_bystring
includearrayData sources to include. Drop ones the question doesn't need for a faster answer.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_daily_summaries Daily summaries

One flat row per day: steps, distance, floors, calories, resting/min/max HR, intensity minutes, stress, Body Battery, respiration, SpO2, hydration. For trends over more than a few weeks use summarize_wellness instead.

ParameterTypeDescription
detailstringcompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_profile Profile and HR zones

User profile settings (units, measurement system, birth year, etc.) and heart-rate zones. Useful context before interpreting training data.

get_sleep_summaries Sleep summaries

Night-by-night sleep over a range, one compact row per night filed under the date the user woke up: start_local/end_local as local 'YYYY-MM-DD HH:MM'; hours of sleep, deep, light, REM and awake (and naps); sleep score with its quality and factor ratings; average HR, stress and respiration (avg/low/high); SpO2 average/lowest; sleep need vs baseline in minutes with what drove it (training load, e.g. HIGH_ACWR_AND_CHRONIC, HRV, sleep history, naps) and next night's need; Garmin's insights. For last night alone use get_readiness or get_sleep; for trends over weeks or months use summarize_wellness.…

ParameterTypeDescription
detailstringcompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_sleep Sleep (one night)

One night's sleep, same compact shape as get_sleep_summaries. Use detail='full' for Garmin's complete record.

ParameterTypeDescription
date *YYYY-MM-DD, or 'today' / 'yesterday' (resolved in the user's Garmin time zone).
detailstringcompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.

get_hrv_summaries HRV summaries

Daily heart rate variability over a range: overnight average, 5-minute high, 7-day average, baseline band, status.

ParameterTypeDescription
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_hrv HRV detail (one night)

HRV summary plus individual readings for one night, times in local 'YYYY-MM-DD HH:MM'. Use get_hrv_summaries unless the readings themselves matter.

ParameterTypeDescription
date *YYYY-MM-DD, or 'today' / 'yesterday' (resolved in the user's Garmin time zone).

get_body_battery Body Battery

Daily Body Battery (Garmin's 0-100 energy estimate) over a range, one compact row per day: charged, drained, highest and lowest; the key readings the Personal API provides, in local time (about 6 a day: midnight, overnight peak, morning, afternoon, last); the events that moved it (sleep, activities, stress); and Garmin's end-of-day feedback. Event and feedback times are local too. For today's state use get_readiness; for trends over weeks or months use summarize_wellness (Body Battery high/low per period). Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or st…

ParameterTypeDescription
detailstringcompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_stress Stress

Day-by-day all-day stress over a range, one row per day as Garmin returns it: calendarDate, then values with overallStressLevel (Garmin's 0-100 score) and highStressDuration, mediumStressDuration, lowStressDuration and restStressDuration in seconds. For trends over weeks or months, or 'which weekday am I most stressed', use summarize_wellness (stress per period, group_by='weekday'); stress during sleep is avg_stress in get_sleep_summaries. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date.

ParameterTypeDescription
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_heart_rate Heart rate (one day)

Heart rate for one day: resting, min, max, 7-day resting average, and hourly min/avg/max in local time. Give from/to (local HH:MM) to also get every ~2-minute reading in that window, e.g. overnight or around a workout. detail='full' returns Garmin's raw payload (every reading, large).

ParameterTypeDescription
date *YYYY-MM-DD, or 'today' / 'yesterday' (resolved in the user's Garmin time zone).
detailstringcompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.
fromstringStart of a full-resolution window, local HH:MM. Defaults to 00:00 when only 'to' is given.
tostringEnd of the window, local HH:MM, inclusive. Defaults to 23:59 when only 'from' is given.

get_steps Steps

Day-by-day steps over a range, one row per day as Garmin returns it: calendarDate, totalSteps, totalDistance (metres) and stepGoal. get_daily_summaries has the same steps alongside floors, calories, HR and stress; for weekly or monthly averages over longer spans use summarize_wellness. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date.

ParameterTypeDescription
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_wellness_activity_summaries Wellness activity summaries

Garmin's wellness activity summaries over a range: all-day movement records kept apart from recorded workouts, returned as Garmin sends them. Often empty; for daily movement use get_daily_summaries or get_steps, and for workouts search_activities or summarize_activities. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date.

ParameterTypeDescription
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_spo2 Pulse Ox (one day)

SpO2 for one day: average, lowest, sleep average, 7-day average and hourly averages, times in local 'YYYY-MM-DD HH:MM'. detail='full' adds every reading and altitude data.

ParameterTypeDescription
date *YYYY-MM-DD, or 'today' / 'yesterday' (resolved in the user's Garmin time zone).
detailstringcompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.

get_fitness_age Fitness age

Garmin's fitness age as of a date: chronologicalAge, fitnessAge (a decimal; round it) and previousFitnessAge, plus the components behind it, each with a value and a stale flag: rhr (resting HR), vigorousDaysAvg and vigorousMinutesAvg (weekly averages over numOfWeeksForIm recent weeks), and bmi with its lastMeasurementDate. BMI comes from the last weight entry, so it is often old. It changes slowly, so date='today' is usually all you need. This is not VO2 max, which the Personal API doesn't provide.

ParameterTypeDescription
date *YYYY-MM-DD, or 'today' / 'yesterday' (resolved in the user's Garmin time zone).

get_weight Weight

Weight and body composition measurements over a range, from a Garmin smart scale or entered manually in Garmin Connect, returned as Garmin sends them: weights are in grams (74000 = 74 kg); date is the local measurement time, 'YYYY-MM-DD HH:MM'. Often empty, since it needs a smart scale or manual entries. When nothing was recorded in the range, the result holds only previousDateWeight, the last measurement before it: check its calendarDate before treating it as current. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date. For longer historie…

ParameterTypeDescription
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_hydration Hydration

Water intake the user logged in Garmin Connect, day by day over a range, as Garmin returns it. Usually empty: Garmin only records hydration that is logged, so an empty result means nothing was logged, not that the user drank nothing. get_daily_summaries also carries hydration_ml per day. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date.

ParameterTypeDescription
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

search_activities Search activities

List individual recorded activities (runs, rides, swims, strength, etc.) with the activity_id needed for get_activity and get_activity_analysis. Filter by date, type, race, distance, duration, elevation gain, name text or a lat/long box. For totals, averages or trends over weeks/months, use summarize_activities instead: it is far smaller. Default detail='compact' returns key stats only (startTimeLocal as local 'YYYY-MM-DD HH:MM', distance m, duration/movingDuration s, averageSpeed/maxSpeed m/s, HR, elevation, calories, cadence, power, training effect). Use detail='full' only when a field you n…

ParameterTypeDescription
activity_subtypestringSubtype key, e.g. trail_running, treadmill_running, road_biking, strength_training. Works without activity_type.
activity_typestringParent type key, e.g. running, cycling, swimming, walking, hiking, fitness_equipment. For anything narrower use activity_subtype.
areaobjectOnly activities that started inside this latitude/longitude box (decimal degrees).
detailstring
end_datestringOnly activities on/before this date.
event_typestringOnly activities tagged with this event type, e.g. race.
exclude_childrenbooleanHide the legs of multisport activities (e.g. a triathlon's swim/bike/run), keeping the parent.
limitintegerMax results (1-100).
max_distance_mintegerMaximum distance in metres.
max_duration_minnumberMaximum duration in minutes.
max_elevation_gain_mnumberMaximum elevation gain in metres.
min_distance_mintegerMinimum distance in metres.
min_duration_minnumberMinimum duration in minutes.
min_elevation_gain_mnumberMinimum elevation gain in metres.
name_containsstringText the activity name contains (case-insensitive), e.g. 'parkrun' or 'tempo'.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
sort_bystringSort field. Use distance or averageSpeed to find longest or fastest.
sort_orderstring
startintegerOffset for paging.
start_datestringOnly activities on/after this date.

summarize_activities Summarize activities

Best tool for activity totals and trends (e.g. 'how far did I run each month', 'has my pace improved'). Fetches every matching activity in the range and returns only aggregates per period and type: count, distance (km and mi), moving time, elevation, longest, average speed and pace (distance-weighted), fastest average pace, average HR, training load, and time in HR zones 1-5 (minutes and %, for zone 2 / 80-20 questions). With group_by 'week' or 'month' it also returns load_trend: load per period, % change vs the previous period, and the acute:chronic ratio at the end of each, with flags for a…

ParameterTypeDescription
activity_subtypestringSubtype key, e.g. trail_running, treadmill_running, road_biking, strength_training. Works without activity_type.
activity_typestringParent type key, e.g. running, cycling, swimming, walking, hiking, fitness_equipment. For anything narrower use activity_subtype.
areaobjectOnly activities that started inside this latitude/longitude box (decimal degrees).
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to today.
event_typestringOnly activities tagged with this event type, e.g. race.
exclude_childrenbooleanHide the legs of multisport activities (e.g. a triathlon's swim/bike/run), keeping the parent.
group_bystring
max_distance_mintegerMaximum distance in metres.
max_duration_minnumberMaximum duration in minutes.
max_elevation_gain_mnumberMaximum elevation gain in metres.
min_distance_mintegerMinimum distance in metres.
min_duration_minnumberMinimum duration in minutes.
min_elevation_gain_mnumberMinimum elevation gain in metres.
name_containsstringText the activity name contains (case-insensitive), e.g. 'parkrun' or 'tempo'.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_personal_bests Personal bests and race estimates

Fastest 1 km, 1 mile, 5 km, 10 km, half and marathon across many activities, each with date, activity, pace, avg HR and the next two best efforts; plus race time estimates for 5 km to marathon from the last 90 days of the range: your actual time where you ran the distance, otherwise Riegel from the effort closest in distance. Use for 'what's my 5k PB', 'fastest half this year', 'what could I run a 10k in'. These are computed from the user's activity files (fastest continuous stretch within each run), NOT Garmin's official personal records, which the Personal API doesn't provide; estimates are…

ParameterTypeDescription
activity_typestringParent type key, e.g. running (includes trail and treadmill), walking, hiking.
distancesarrayDistances to report. Defaults to all six.
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to today.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Defaults to 365 days ago.
unitstringPace unit. Defaults to the user's Garmin unit setting.

analyze_recovery_impact Recovery vs running performance

Does sleep, HRV or Body Battery relate to how the user runs? Pairs each run with the night before it (sleep score, hours slept, overnight HRV) and that morning's Body Battery, then compares runs after the best third of nights with runs after the worst third at the same heart rate: it fits the user's own speed-for-HR line across the runs and scores each run by how much faster or slower it was than expected for its HR, so easy and hard runs compare fairly. Returns each group's average HR and pace, the difference in s/km (or s/mi) at the same HR, and a correlation, called meaningful only at |r| >…

ParameterTypeDescription
activity_typestringParent type key, e.g. running, cycling, walking.
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to today.
measurestringRecovery measure to compare by; 'all' does each. Pick one for a faster answer.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Defaults to 180 days ago.
unitstringPace unit. Defaults to the user's Garmin unit setting.

analyze_cycle_impact Menstrual cycle vs wellness and training

How does the user's menstrual cycle relate to their sleep, HRV, resting HR, stress, Body Battery, training or performance? One call: finds each cycle from Garmin's cycle tracking, puts every day in a phase (menstrual, follicular, ovulatory = Garmin's fertile window, luteal), and for each factor returns per-phase mean, median and day count against the user's own overall average. consistency says in how many complete cycles luteal was higher or lower than follicular (the main signal of a real pattern); confidence is low under 3 cycles or 5 days in a phase, moderate for 3-5 cycles, good for 6+. F…

ParameterTypeDescription
activity_typestringFor performance: parent type key, e.g. running, cycling, walking.
detailstringcompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to today.
factorsarrayWhat to compare across phases. Defaults to all except performance. Pick only what's asked for a faster answer.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Defaults to 180 days ago.

get_activity Activity detail

One activity in detail: distance, times, pace (per km and mile), speed, HR, cadence, running dynamics, power, training effect and load, temperature, RPE/feel, and split summaries (warm-up/active/cool-down totals, not per-km; use get_activity_analysis for km/mile splits and laps). detail='full' returns Garmin's raw record (200+ fields).

ParameterTypeDescription
activity_id *stringGarmin activity ID, from search_activities.
detailstringcompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.

compare_activities Compare activities

Side-by-side compact detail for 2-5 activities (same fields as get_activity), fetched in parallel. Use for 'compare my last two long runs' or 'how did this race compare with last year's'; get the IDs from search_activities.

ParameterTypeDescription
activity_ids *array2-5 Garmin activity IDs.

get_activity_workouts Activity workouts

The planned workout linked to one recorded activity, if any: workoutName, sport and steps, each with intensity, durationType/durationValue (metres for DISTANCE) and a target (e.g. targetType SPEED with targetValueLow/High in m/s). An activity started from one of Garmin's daily suggested workouts may carry only a workoutPhrase (e.g. EASY_WEEK_LOAD_BASE); an empty result means no workout was linked. This is the plan; for how each rep actually went use get_activity_analysis (laps). Get the ID from search_activities.

ParameterTypeDescription
activity_id *stringGarmin activity ID, from search_activities.

get_activity_analysis Activity analysis (splits, laps, best efforts, power)

Per-km or per-mile splits, the watch's laps / workout reps, best efforts, time in HR zones and first-vs-second-half drift and power for ONE recorded activity, computed from Garmin's original FIT file. Use for 'my km splits', 'did I negative split', 'fastest 5 km', 'how long in zone 2', 'did my HR drift', 'my 20 min power', 'what was my NP'. splits: one row per km/mile (time, pace or speed, HR, cadence, power, elevation), timer time so pauses don't count, final partial split labelled. laps: the watch's own laps with intensity (warmup/active/cooldown/rest) and trigger (manual, distance, ...). be…

ParameterTypeDescription
activity_id *stringGarmin activity ID, from search_activities.
ftp_wattsintegerThe user's cycling FTP, for IF and TSS. Only if they've given it; Garmin's API doesn't have it.
includearraySections to return. Drop ones the question doesn't need for a shorter answer.
unitstringSplit length and pace unit. Defaults to the user's Garmin unit setting.

get_strength_progress Strength progress

Strength training progress per exercise: sets, reps, max weight, volume and average load for each session, and the first-vs-last trend. Use for 'am I getting stronger', 'is my bench going up', 'top set over the last 8 weeks', 'how has my deadlift changed'. Pass detail='sets' for top sets, reps at a weight or estimated 1RM: it reads each session's file (slow the first time, then cached); if set_detail_complete is false, call again. Only sets logged on the watch or in Garmin Connect count. Planned workout targets are never included.

ParameterTypeDescription
detailstring'sets' adds individual sets, top set and estimated 1RM.
exercisestringExercise in English, e.g. 'dumbbell bench press'; 'bench press' matches every variant. Omit for all: the top 5 are detailed.
unitstringDefaults to the user's Garmin unit setting.
weeksintegerWeeks back from today.

get_nutrition Nutrition (one day)

Food log for one day: nutrition goals, calories and nutrients consumed, and per-meal breakdown.

ParameterTypeDescription
date *YYYY-MM-DD, or 'today' / 'yesterday' (resolved in the user's Garmin time zone).

get_weight_goals Weight goals

The weight goal the user set in Garmin Connect that was in effect over a range, with its goal range, returned as Garmin sends it. Empty ({}) when no weight goal is set, which is common. Pair with get_weight to track progress. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date.

ParameterTypeDescription
end_datestringLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
periodstringNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
start_datestringFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

get_menstrual_cycle Menstrual cycle (one day)

Menstrual cycle tracking as of one date, in two parts returned as Garmin sends them: summary (Garmin's cycle summary for that date) and dayView (Garmin's day view for that date, with anything logged). Empty unless the user tracks their cycle in Garmin Connect. date accepts YYYY-MM-DD, 'today' or 'yesterday'; call once per date.

ParameterTypeDescription
date *YYYY-MM-DD, or 'today' / 'yesterday' (resolved in the user's Garmin time zone).