garmin-mcp-gt

v0.1.7
garmin-mcp-gt Checked 2 days ago Published 5 months ago

Garmin Connect MCP server — exposes health and activity data as tools for Claude

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

get_today_stats

Return today's step count, distance, calories, active time, and resting heart rate.

get_weather

Get current weather and cycling forecast using OpenMeteo (free, no API key needed). Returns current conditions and a daily forecast with cycling-relevant metrics: temperature, wind speed/direction, precipitation, and a 'rideable' flag. Args: latitude: Location latitude (e.g. 51.45 for Reading, UK). longitude: Location longitude (e.g. -0.97 for Reading, UK). days: Forecast days (1-7, default 3).

ParameterTypeDescription
latitude *number
longitude *number
daysinteger

get_activity_weather

Get weather conditions recorded by Garmin during a specific activity. Args: activity_id: Garmin activity ID (from get_recent_activities).

ParameterTypeDescription
activity_id *string

get_recent_activities

Return the most recent cycling/running activities, de-duplicated. Args: limit: Number of activities to return (default 10, max 50).

ParameterTypeDescription
limitinteger

compare_dual_recordings

Compare HR and power metrics between two recordings of the same ride on different devices. Useful when the same ride is recorded on both a head unit (with chest-strap HRM) and a watch (with optical HR), to assess how closely the optical sensor tracks the chest strap. Returns side-by-side metrics and a difference summary. Args: date: Date to compare (YYYY-MM-DD, default today).

ParameterTypeDescription
date

get_courses

Return saved courses from Garmin Connect. Args: limit: Number of courses to return (default 20, max 100).

ParameterTypeDescription
limitinteger

get_activity_detail

Return detailed metrics for a specific activity including HR zones, power zones, and bike fit indicators. Bike fit interpretation guide (flag concerns when pattern is consistent across rides): - left_right_balance: >5% asymmetry sustained = saddle position, cleat, or leg length issue. 3-5% is borderline; <3% is normal. - power_phase (start/end degrees, 0=top dead centre, 180=bottom): Normal effective zone is roughly 330-170 deg. A short arc (<160 deg) means dead spots. Left/right arc length difference >15 deg suggests asymmetric hip/knee mechanics. - platform…

ParameterTypeDescription
activity_id *string

get_bike_fit_analysis

Aggregate bike fit metrics across recent rides and surface actionable fit signals. Fetches the last N cycling activities, extracts fit indicators from each, and returns averaged metrics and flagged signals. One call replaces manually interpreting multiple get_activity_detail results. When `since` is provided, splits rides into before/after that date and returns a side-by-side comparison with a `changes` list showing what improved or worsened. Use this to measure the effect of a saddle adjustment, cleat change, or shim. Signals and what triggers them: - cadenc…

ParameterTypeDescription
ridesinteger
since

get_ride_fatigue_analysis

Analyse how bike position and performance degrade across a ride using per-lap FIT data. Downloads the raw FIT file and examines per-lap trends in platform centre offset (PCO), cadence, power, and HR to identify fatigue-related position breakdown. Compares the first and last thirds of the ride. Signals: - pco_drift_left/right: PCO shifts >3 mm first-to-last third → position breaking down under fatigue - cadence_drop: cadence falls >5 rpm first-to-last third - power_fade_severe: power drops >20% first-to-last third (more than typical aerobic fade) Args:…

ParameterTypeDescription
activity_id *string

get_activity_fit

Download the raw FIT file for an activity and return metrics not available via the API. Extracts: Training Stress Score (TSS), Intensity Factor (IF), total work (kJ), device-configured threshold power (FTP), and a per-lap breakdown with power, normalised power, HR, cadence, platform centre offset, and temperature. TSS and IF require FTP to be configured on the device. PCO per lap shows whether position degrades with fatigue — useful for bike fit analysis across a ride. Args: activity_id: Garmin activity ID (from get_recent_activities).

ParameterTypeDescription
activity_id *string

get_sedentary_analysis

Analyse how sedentary a day was based on heart rate patterns. Classifies the day into sedentary, light, moderate, and active time using resting HR as the baseline. Also reports longest sedentary streak and an hourly average HR breakdown. Args: offset_days: 0 = today, 1 = yesterday, etc. (max 30).

ParameterTypeDescription
offset_daysinteger

get_sleep

Return sleep data for a given night. Args: offset_days: 0 = last night, 1 = night before, etc. (max 365).

ParameterTypeDescription
offset_daysinteger

get_hrv

Return overnight HRV readings for the last N days. Args: days: Number of days to look back (default 7, max 30).

ParameterTypeDescription
daysinteger

get_vo2max

Return VO2max and lactate threshold history from Garmin. Args: days: Number of days to look back (default 30, max 365).

ParameterTypeDescription
daysinteger

get_cycling_ftp

Return the user's current cycling Functional Threshold Power (FTP) and W/kg. FTP is the highest average power a cyclist can sustain for one hour. W/kg (watts per kilogram) is the key cycling performance metric.

get_weight

Return weigh-in history from Garmin Index scale for the last N days. Includes weight, body fat % (primary body composition metric), muscle mass, body water %, and BMI (included for reference, but less meaningful than body fat % when scale data is available). Args: days: Number of days to look back (default 30, max 365).

ParameterTypeDescription
daysinteger

get_weight_trend

Return weekly weight trend using 7-day rolling averages to smooth daily fluctuations. Useful for tracking fat loss progress without being misled by hydration noise. Args: weeks: Number of weeks to look back (default 12, max 52).

ParameterTypeDescription
weeksinteger