garmin-mcp-lite
v0.1.10精简版 Garmin MCP 服务器 - 专为耐力运动爱好者设计
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
garmin_status
Check whether the one-time logins are in place before using the other tools. Every other tool needs a Garmin token (one-time `garmin-mcp-lite-login`); only `garmin_sync_weight` additionally needs a Mi Fitness token (one-time `garmin-mcp-lite-xiaomi-login`, captcha + SMS, so it cannot happen from a tool call). Call this first when a tool failed with an auth error, or when you are unsure which setup steps remain: each side reports `ok`, what is wrong (`detail`), and the exact command to run next (`next`, null when nothing is needed). `ready` reflects the Garmin…
garmin_activities
List recent activities filtered by date range and type. Args: start_date: Start date in YYYY-MM-DD format. Defaults to 7 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. activity_type: Filter by sport type. One of: running, cycling, swimming, diving, all. limit: Maximum number of activities to return.
| Parameter | Type | Description |
|---|---|---|
activity_type | string | |
end_date | ||
limit | integer | |
start_date |
garmin_activity_detail
Get detailed metrics for a single activity by ID. Args: activity_id: The Garmin activity ID. fields: Optional list of extra data sections to include. Supported values: "splits", "hrZones", "laps". Omit to return the basic summary only.
| Parameter | Type | Description |
|---|---|---|
activity_id * | integer | |
fields |
garmin_training_plan
Get the scheduled training workout for a specific date. Args: date: Date in YYYY-MM-DD format. Defaults to today.
| Parameter | Type | Description |
|---|---|---|
date |
garmin_training_status
Get current training status summary. Returns training status label, VO2Max, acute training load, load focus distribution (aerobic_low / aerobic_high / anaerobic), recovery time, training readiness score, and sleep score. Cost: ~10 API requests — the readiness scan covers 7 days (in parallel) because Garmin exposes it one day at a time.
garmin_health
Get health metrics for a specific date. Args: metric: The health metric to retrieve. Options: - "sleep" : Sleep duration, stages (deep/REM/light), and quality score. - "hrv" : HRV status, weekly average, and last-night reading. - "stress" : Average and peak stress levels. - "body_battery" : Body battery charge/drain, peak, and current level. - "spo2" : Blood oxygen saturation (average, lowest, latest). - "respiration" : Respiration rate (average, min, max)…
| Parameter | Type | Description |
|---|---|---|
date | ||
metric | string |
garmin_gear
Get the gear library (shoes, bikes, etc.) with real cumulative mileage for each item.
garmin_device
Get connected device information including firmware version, update availability, primary tracker role, and registration date.
garmin_hr_trend
Get resting heart rate historical trend data. Args: period: Time window. One of: "7d" (7 days), "30d" (30 days), "90d" (90 days). Cost: one API request per day in the window (plus one more for days without a readiness entry), fetched six at a time — a 90d scan takes seconds, not minutes, but is still ~90 requests.
| Parameter | Type | Description |
|---|---|---|
period | string |
garmin_weekly_stats
Get aggregated training volume statistics for a given period. Args: period: Time period. One of: "week" (7 days), "month" (30 days), "year" (365 days).
| Parameter | Type | Description |
|---|---|---|
period | string |
garmin_coach
List active Garmin Coach training plans.
garmin_events
Get upcoming race events from the Garmin calendar, including target distance and goal finish time. Events before today are dropped and the rest are returned soonest first. An event whose date cannot be parsed is kept at the end rather than silently lost.
garmin_add_event
Add a calendar race or event to Garmin Connect. Args: name: Event name (required). date: Event date in YYYY-MM-DD format (required). distance_km: Event distance in kilometers (e.g. 21.0975 for half marathon, 42.195 for marathon). goal_time: Target finish time in H:MM:SS or MM:SS format (e.g. "1:32:05", "3:00:00"). is_race: Whether this event is a race (defaults to True). is_primary: Whether this is the primary focus event in Garmin (defaults to False). event_type: Sport type (defaults to "running"). start_time: Start time in…
| Parameter | Type | Description |
|---|---|---|
date * | string | |
name * | string | |
distance_km | ||
event_type | string | |
goal_time | ||
is_primary | boolean | |
is_race | boolean | |
location | ||
note | ||
start_time | ||
time_zone_id |
garmin_delete_event
Delete a calendar event from Garmin Connect by its event ID. Args: event_id: The numeric event ID (from garmin_events).
| Parameter | Type | Description |
|---|---|---|
event_id * |
garmin_schedule_running_workout
Create a structured running workout and schedule it to Garmin Connect calendar. Args: name: Workout name (e.g. 'W1D2-E有氧跑10K'). date: Schedule date in YYYY-MM-DD format. description: Description of the workout. steady_km: Distance in km for a simple steady run (e.g. 10.0). pace_min: Faster pace bound (e.g. '5:20'). pace_max: Slower pace bound (e.g. '5:35'). warmup_km: Warmup distance in km (optional). warmup_pace_min: Warmup faster pace bound (optional). warmup_pace_max: Warmup slower pace bound (optional).…
| Parameter | Type | Description |
|---|---|---|
date * | string | |
name * | string | |
cooldown_km | ||
cooldown_pace_max | ||
cooldown_pace_min | ||
description | string | |
intervals | ||
pace_max | ||
pace_min | ||
steady_km | ||
warmup_km | ||
warmup_pace_max | ||
warmup_pace_min |
garmin_schedule_cycling_workout
Create a structured cycling workout with power/FTP targets and schedule it to Garmin Connect calendar. Args: name: Workout name (e.g. 'FTP 75% 有氧骑行'). date: Schedule date in YYYY-MM-DD format. description: Description of the workout. steady_min: Duration in minutes for a steady state ride (e.g. 45.0). target_watts_min: Lower power target in watts (e.g. 140.0). target_watts_max: Upper power target in watts (e.g. 155.0). target_ftp_pct_min: Lower power target as % of FTP (e.g. 70 for 70% FTP). target_ftp_pct_max: Upper…
| Parameter | Type | Description |
|---|---|---|
date * | string | |
name * | string | |
cooldown_min | ||
description | string | |
intervals | ||
steady_min | ||
target_ftp_pct_max | ||
target_ftp_pct_min | ||
target_watts_max | ||
target_watts_min | ||
warmup_min | ||
warmup_watts |
garmin_cycling_power
Get cycling FTP, power load (NP, IF, TSS), cadence, and recent rides metrics. Args: activity_id: Specific cycling activity ID to inspect details for (optional). limit: Maximum number of recent cycling rides to return when activity_id is omitted (default: 5, max: 20).
| Parameter | Type | Description |
|---|---|---|
activity_id | ||
limit | integer |
garmin_strength_analysis
Get strength training analysis (active sets, reps, volume load, muscle groups, and runner fatigue advice). Args: activity_id: Specific strength training activity ID to inspect details for (optional). limit: Number of recent strength activities to summarize when activity_id is omitted (default: 5, max: 20).
| Parameter | Type | Description |
|---|---|---|
activity_id | ||
limit | integer |
garmin_challenges
Get in-progress challenges and badge completion status, including virtual challenges and monthly badges.
garmin_race_prediction
Predict finish times for the 5K, 10K, half marathon and marathon. Garmin derives these from recent running activities, so an account with no recent runs returns nothing. Args: period: "today" returns the current prediction only. "90d" or "1y" also reports how each prediction moved across that window (change_s is negative when the athlete got faster).
| Parameter | Type | Description |
|---|---|---|
period | string |
garmin_personal_records
Get personal records (PRs) with the activity each one was set in. Args: sport: Restrict to one discipline. One of: all, running, cycling, swimming, steps.
| Parameter | Type | Description |
|---|---|---|
sport | string |
garmin_zones
Get heart rate zone boundaries and threshold values for one sport. Use this to interpret the heart-rate-zone durations returned by `garmin_activity_detail` (fields=["hrZones"]), which only contain seconds per zone and no boundaries. Args: sport: Which zone configuration to return. One of: running, cycling, swimming, default (Garmin's account-wide default).
| Parameter | Type | Description |
|---|---|---|
sport | string |
garmin_body_composition
Read weight and body-composition history from Garmin Connect. Use this before `garmin_add_body_composition` to see whether a day already has an entry, and to answer trend questions ("did my body fat move"). Mass fields are converted to kilograms and null fields are omitted, so a record only carries the metrics that were actually measured. Most accounts only ever have `weight_kg`, because a scale that syncs weight alone (e.g. MyFitnessPal) never populates body fat, muscle mass or BMI. Args: days: How many days back to look. Defaults to 90, capped at 730.…
| Parameter | Type | Description |
|---|---|---|
days | integer | |
limit | integer |
garmin_add_body_composition
Write one weight / body-composition measurement to Garmin Connect. THIS WRITES TO YOUR GARMIN ACCOUNT. Garmin stores it as a FIT body-composition file, the same channel its own Index scale uses, so the entry shows up in the Garmin Connect app's weight chart. Confirm the numbers with the user before calling this: there is no undo through this tool. Garmin keeps every entry, so calling twice for the same day can leave two weigh-ins. The response includes a `warning` when the day already had one. Args: weight: Body weight in KILOGRAMS (e.g. 70.5). Values abo…
| Parameter | Type | Description |
|---|---|---|
weight * | number | |
basal_met | ||
bmi | ||
body_fat | ||
body_water | ||
bone_mass | ||
date | ||
metabolic_age | ||
muscle_mass |
garmin_sync_weight
Copy recent weigh-ins from the Xiaomi scale into Garmin Connect. Use this instead of `garmin_add_body_composition` when the measurement came from the Mi Fitness / Xiaomi body-fat scale — it reads the real values (weight, body fat, water, muscle, bone, BMI) rather than asking the user to type them. Every weighing becomes its own entry, with the time it was taken: morning fasted and evening before bed are two measurements, ten weighings make ten entries. Only the scale's double upload — a weight-only row followed by the full row seconds later — is folded i…
| Parameter | Type | Description |
|---|---|---|
days | integer | |
dry_run | boolean |
garmin_sync_healthkit
Copy weigh-ins bridged from Apple Health into Garmin Connect. Use this when the measurement came from a scale that is NOT bound to Mi Fitness but whose app writes to Apple Health. Not every app does: 蚂蚁阿福 writes nothing at all, which is what the README's Step 0 check exists for. Requires the one-time iPhone Shortcut described in the README's "Apple Health bridge" section; the file it appends to is the only input. The same guarantees as `garmin_sync_weight`: every weighing becomes its own entry with the time it was taken (a morning and an evening weighing a…
| Parameter | Type | Description |
|---|---|---|
days | integer | |
dry_run | boolean |
garmin_hrv_status
Get overnight HRV (Heart Rate Variability) status, baseline, and recovery guidance. Args: date: Date in YYYY-MM-DD format (defaults to today).
| Parameter | Type | Description |
|---|---|---|
date |
garmin_dive_logs
Get freediving and scuba diving logs and metrics (depth, bottom time, water temperature, dive reflex HR). Args: limit: Number of recent dive activities to return (default: 5, max: 20). activity_id: Specific dive activity ID to fetch details for (optional).
| Parameter | Type | Description |
|---|---|---|
activity_id | ||
limit | integer |