Changelog
What changed in each release. All garmin-mcp-* packages share one version; the Claude Desktop extension of every version is attached to its GitHub release.
Unreleased
Dependencies
- fit-file-parser 6.2.10. The FIT reader now needs fit-file-parser 6.2.10 or later. Version 6.2.8 fixed a prototype pollution issue: a crafted FIT file could use developer field metadata to change
Array.prototypefor the whole process (GHSA-gjg8-qvmp-pvp2, medium). The server reads only FIT files downloaded from your own Garmin account. Installs from npm already got 6.2.10 through the^6.2.7range; the minimum version and the repository’s lockfile now match it.
0.8.0 (2026-11-22)
Tools
-
create_workoutchecks strength exercises against Garmin’s catalogue. Every exercise of a workout (typed steps, a preset orgarmin_json) is checked before anything is previewed or saved, asupdate_activityalready did forexercise_sets: an unknown category, or an exercise that is not in its category, fails with the step path and the categories or the similar exercises of that category, so “15 kettlebell swings” with a made-up key never reaches the watch as an unknown exercise. The preview ofdry_runandget_workoutnow prints the catalogue keys next to the name, e.g.Kettlebell swing [HIP_RAISE/KETTLEBELL_SWING] 16 kg, so a key in the wrong category shows before you agree. -
Days per HRV status in
query_healthandget_period_summary. With thehrvmetric,summary.hrv.status_daysofquery_healthcounts the days of the range per Garmin HRV status (balanced,unbalanced,low,poor, only those that occur), with stored days without a status inno_status; a weekly table counts them from its days, not from each week’s last status.get_period_summaryhas the samehealth.hrv.status_days. The assistant no longer counts the statuses row by row. -
Change against the period before in
get_period_summary. The answer hasvs_previous: the week before, the calendar month before, or as many days just before a range, with the change in sessions, hours, km and Garmin training load and in average resting heart rate, HRV and sleep hours (this period minus the one before, rounded like the values), and the values of the period before next to them inprevious. Nothing is downloaded for the period before: when it is not fully synced,vs_previousis left out and the note gives thegarmin synccommand that fills it. The assistant no longer subtracts two summaries itself. -
Laps per intensity and shares per split type in
get_activity. Withdetail: "splits"(and"full"),lap_summarysums the laps per intensity (warmup,active,interval,recovery,rest,cooldown, in the order they first appear): the number of laps, time, distance, pace or speed by sport from the total time and distance, and heart rate, grade adjusted pace and power averaged over time, with the highest heart rate; all from the raw seconds and metres of the laps.split_summariesgives each split typetime_pctanddistance_pct, its share of the types that split the activity between them (run, walk and stand; the interval types), so a type alone in its group, such as a climb, has none. The assistant no longer adds up the intervals and rests lap by lap. -
Pace per 100 m for swims. Wherever a swim has its speed (
avg_speed_kmh), it now also has the same speed as a pace per 100 m,avg_pace_100m(m:ss /100m), the unit swimmers count in: inget_activities, inget_activity(the summary,splits,lap_summary,typed_splits,split_summariesand the buckets ofstream_summary) and in the rows ofcompare_activities. It comes from the same time and distance as the speed, so for a whole pool swim it includes the rests, whilelap_summarygives the active laps apart. The assistant no longer converts km/h into a pace itself. -
Times in the data are local, not UTC. Times in answers are now in your time zone (
GARMIN_TIMEZONE) asYYYY-MM-DDTHH:MM:SS, likestart_localof the activities inget_load, and the UTC fields are gone, so each record has one time zone. Renamed fields:get_sleepfor one night hasstart_localandend_localinstead ofstart_utcandend_utc;get_body_compositionhasmeasurements[].time_localinstead oftime_utc(only the date for a weigh-in Garmin sent without a time);get_deviceshaslast_sync_localinstead oflast_sync_utc. Changed values:weather.observed_atofget_activityis local instead of Garmin’s UTC string, andrecovery.as_ofofget_training_statusis local also when Garmin sent only its UTC timestamp.meta.fetched_at,resume_atandpaused_untilofgarmin_syncandraw_summarystay as they were. A client that reads the old fields has to rename them. The assistant no longer passes a UTC time on as a local one.
Training analytics
-
Week and range totals in
get_load. Next toweeks(one row per ISO week and sport), the answer hasweek_totals: one row per ISO week of the range, also a week without sessions, with sessions, hours, km, elevation gain, TSS and hrTSS of all sports together andtss_change_pctagainst the week before (only between two whole weeks, after a week with at least 20 TSS); andtotalsfor the whole range: days, sessions, days with and without a session and the same volume. The assistant no longer adds up the weeks itself.garmin loadprints the week sum as anallrow under each week and the range total below the table. How it works: Training analytics. -
Breaks and the CTL peak in
get_load.totalsalso has the longest run of days without a session in the range with its first and last day (longest_gap_days,longest_gap_from,longest_gap_to) anddays_since_last_sessionup toto, counted from the whole history; next to itctl_peakgives the highest CTL of the range and its date, also withoutinclude_series. The assistant no longer scans the series for them. How it works: Training analytics. -
Differences from the reference in
compare_activities. Every row but the reference (the first ofids, or thesimilar_toactivity) hasvs_reference: the row minus the reference, signed, for the fields both rows have: duration and pace or grade adjusted pace in seconds, distance, speed, average heart rate and power, TSS, elevation gain, EF, decoupling and best 5 and 20 min power, each rounded like the row. EF is compared only between sessions of the same sport and decoupling only with the same basis (Pa:Hr or Pw:Hr). The assistant no longer subtracts the rows itself. How it works: Training analytics. -
Grade adjusted pace in
get_loadactivities. Withinclude_activities, running, walking and hiking rows havegap_pace(m:ss /km) right after Garmin’s grade adjusted speedgap_mps, so the assistant no longer converts metres per second into a pace. How it works: Training analytics.
0.7.1 (2026-11-22)
Training analytics
- The morning readiness check leaves out the load of the day itself. The
loadsignal ofget_readinesstook ACWR of the day it was asked about, and ACWR counts that day’s sessions, so asked after a race or a morning warm-up it rated the morning on load that came later, and on a race day the race itself could turn the load signal red. It now takes TSB of the day (computed before the day’s sessions, as before) and ACWR of the day before, which is what a check at 5 a.m. sees. How it works: Training analytics. - Triathlons count in the load model, leg by leg. Garmin lists a triathlon or duathlon as one multisport activity without average heart rate, power or pace, so
get_loadgave it no TSS: a middle-distance race added nothing to fitness and fatigue. A sync now downloads the summary of each leg once (one request for the multisport activity and one per leg, within the daily request limit), and the swim, the transitions, the bike and the run each count as an activity of their own sport with their own load source (power, pace or heart rate), soinclude_by_sportputs the bike hours on the bike and the run on the run. Each leg hasparent_id, the id of the multisport activity. Garmin gives every leg the load accumulated since the start, so a leg’s Garmin load is its increase over the leg before, and withsource: "garmin_load"a race day adds up to Garmin’s load of the whole activity. Multisport activities synced before this release are scored by their legs aftergarmin sync --scope activitiesfor their dates; until then the answer’s note names them. How it works: Training analytics. - A second recording of a leg is counted once. An activity recorded inside a multisport activity’s time window by another device, such as a bike computer next to the watch, is the same effort as the leg and is left out of the load in
get_load, of the sessions, hours and Garmin load inget_period_summaryand ofgarmin_load_model(get_training_status,get_period_summary), so the bike leg of a race no longer counts twice.get_activitiesstill lists it. - The
acwr_highflag reads as a warning. Its text is now “a sudden jump in load against the last 4 weeks (a warning, not an injury prediction)” instead of “high-risk zone for a load spike”, in line with the limits of ACWR. - One Garmin load model on a date.
garmin_load_modelstarted its averages 120 days before the asked range, which differs betweenget_training_status(28 days beforeto) andget_period_summary(the start of the week or month), so the two gave different CTL and TSB for the same day. It now runs over the whole stored history, asget_loaddoes, and both tools agree. The 120 days are still what the tools download by themselves.
Documentation
- How long a first sync takes. The README, the FAQ and Getting started said a 90-day sync of 433 requests takes about an hour. That was measured with the 5-minute pause between chunks used before the first release; with the 1-11 s pause, 433 requests take under 4 minutes.
0.7.0 (2026-11-18)
Tools
- Solar input in
get_devices. A device that charges from the sun, such as a Solar watch, now hassolar: one row per day of the last 7 days with the date,time_gained_ms(the battery time Garmin says the sun added that day, in milliseconds as Garmin reports it),solar_minutes(the minutes with any solar input) andpeak_solar_utilization(the day’s highest reading, under Garmin’s name, as Garmin does not say its unit). In autumn the time gained is often 0 even on a sunny day, so the minutes and the peak show what the day brought. The days are downloaded with the device settings when the device list is first fetched, and after thatget_devicesrefreshes them by itself once they are older than an hour, with auto fetch on (GARMIN_AUTO_FETCH): one request per solar device within the daily request limit, without downloading the device list and settings again. Garmin’s minute-by-minute readings are summed up and not kept. When the daily limit is used up, syncing is paused or the request fails, the days already downloaded stay, and the answer’s note says when they were downloaded; a device whose days were never downloaded is listed withoutsolar. With auto fetch off the days change only with agarmin_syncof the reference scope. Other devices have nosolar. - The training plan and Garmin’s threshold history follow auto fetch.
list_workoutsdownloads the active training plan and the analytics tools download Garmin’s threshold history whenever auto fetch is on (GARMIN_AUTO_FETCH, on by default), as courses and hydration do; before, they were downloaded only in a mode the server never runs in, so theplanblock, the plan’s line for each workout and thegarmin-autothresholds from Garmin’s history stayed empty. With auto fetch off neither is downloaded, andgarmin_syncdoes not fetch them. - The course of a race in
list_workouts. An event inupcoming_eventsthat has a course assigned in Garmin Connect now carriescourse: its id, name, distance and elevation gain. The figures come from your course list, downloaded bylist_workoutsitself when an event has a course (one request within the daily request limit, kept for an hour); a course that is not in your list, such as one the organiser shared, is read from its own details. When the course cannot be downloaded, the event keeps the course id and name from the calendar. The course of a calendar event follows the shape of the recorded calendar items and is not confirmed on a race with a course yet. - Hydration in
query_health. The new metrichydrationgives the water you logged per day in ml, your daily goal and the sweat loss Garmin estimates from your activities, so “did I drink enough this week” has an answer; per week, the averages. A day without a water entry is left out rather than shown as 0, and when nothing is logged in the range the answer says so. Hydration is downloaded by the question itself, one request per day within the daily request limit, and kept: today’s after 15 minutes again, a past day for good;garmin_syncdoes not fetch it.garmin health hydrationshows what is cached. - Threshold history from Garmin.
get_thresholdsnow has Garmin’s own history of your running lactate threshold, heart rate and pace, and the date Garmin set your cycling FTP: the analytics tools download it once a day (three requests within the daily request limit, the last 365 days;garmin_syncdoes not) and record each change as agarmin-autorow with Garmin’s date, sorun_threshold_pace_s_per_kmandftp_wappear withsource: garmin-autoandhistory: trueshows when your threshold moved. A value Garmin repeats is recorded once, your owntest,manualandimportrows are never changed, and a test on the same day as a Garmin change keeps precedence. Backdated rows recomputeget_loadfor the activities from their date on, as a backdatedset_thresholddoes. How it works: Training analytics. - Typed splits of an activity.
get_activitywithdetail: "splits"(and"full") now addstyped_splitsnext to the laps: the stretches Garmin marks as running, walking or standing, ClimbPro climbs and the other split types it records, in start order, each with the local start time, time, distance, gain and loss, average and steepest grade (climbs), pace and grade adjusted pace (speed for other sports) and heart rate, so “how long did I walk and how long did I run on Saturday’s trail” has an answer.split_summariesadds the totals per type: how many, time, distance, gain and loss, pace, GAP and heart rate. ClimbPro also cuts every climb into sections; a long trail run has hundreds of them, so they are left out of the list. The run, walk and stand stretches are often only seconds long, so one shorter than two minutes is merged into the run, walk or stand stretch before it (at the start, into the next one): times, distances, gain and loss add up, heart rate and GAP are averaged over time, and the merged stretch takes the type of the longer part. The answer’s note says how many were merged;split_summarieskeep Garmin’s exact totals and counts. The typed splits are one more request per activity, made once with the laps and kept for good; the totals come with the activity itself, so they cost a request only when it lacks them. An activity without typed splits leaves both lists out. - Training plan workouts in
list_workouts. Workouts of a Garmin Coach plan (or another training plan) were left out of the calendar;upcoming_schedulenow lists them next to the ones scheduled from your library, each row withsource(libraryorplan) and, for a plan workout, the plan’s name, the sport and, for the current week, one line from the plan such as “50 min, 9.7 km, tempo, key workout” (Garmin lists the tasks of one week ahead only). A newplanblock describes the active plan: name, adaptive or phased, sport, start and end, the current phase (base, build, peak, taper) and the target event, with the goal race’s title and distance when it is on your calendar. The plan is downloaded bylist_workoutsitself when the calendar has its workouts, one request within the daily request limit, and kept for an hour. Plan workouts have no steps in your library, soget_workoutcannot show them, andschedule_workoutsrefuses to unschedule them with an error that says so: the plan is changed in Garmin Connect or on the watch, not here. Garmin Coach plans follow a recording; phased plans are not confirmed yet. - Add a manual activity.
update_activitywithout an activityidadds one by hand, for the yoga class or swim the watch did not record:type(an activity type key such asyoga),startas a local time (2026-11-16T18:30),duration_min, and optionallydistance_km,name(else the type, e.g. “Yoga”),description,rpe,feelandprivacy. The activity is private unless you choose otherwise. Calories are left for Garmin to work out from the type, the duration and your profile. It is in the local cache at once, soget_activitieslists it without a sync. The assistant shows you the values first and adds the activity only after you agree; as every call adds another activity, the tool is no longer marked idempotent. Fields of the other kind are refused before anything is written:start,duration_minanddistance_kmwith anid, gear, event type and strength sets without one; a start in the future is refused too. The tool’s title is now “Edit or add an activity”; its name staysupdate_activity, so tool allow lists and client permissions keep working. - Activity privacy and strength sets.
update_activitytakesprivacy(public,followersfor your connections,groupsfor your connections and groups, orprivate;groupsis often the visibility Garmin Connect gives new activities, so a change can be put back) andexercise_sets, the strength sets of the activity: per set the exercise as Garmin’s category and exercise keys (e.g.SQUAT/BARBELL_BACK_SQUAT), reps, weight in kg, duration and the rest after it. The sets replace all sets of the activity, so the assistant shows you the new sets and saves them only after you agree; the answer has the sets before the change inprevious_exercise_sets, in the same shape, so they can be written back. Withkeep_timing: truethe times the watch recorded stay and only the exercise, reps and weight change (one entry per recorded set, a field left out keeps its value): the usual fix when the watch recognised the wrong exercise. An exercise key that is not in Garmin’s catalogue is refused before anything is written, naming the set and the field. Replacing the sets drops the ones the watch recorded, soexercise_setsandkeep_timingare there only withGARMIN_ENABLE_DESTRUCTIVE=true, like overwriting a saved workout, and the tool is then marked destructive; without it sending them is an error that names the setting.privacyand the other edits work without it. - Power curve of an activity.
get_activitywithdetail: "power_curve"gives the best average power for 1, 5, 15 and 30 seconds and 1, 2, 5, 10, 20, 30 and 60 minutes, in watts and W/kg (weight from your latest weigh-in up to 30 days before the activity, else from your Garmin profile; the note says which), with the time from the start where each best effort began. Running power counts the same way. It is computed from the activity’s FIT file: the file is downloaded once (one request within the daily request limit), the curve is kept in the local cache and the file is not. Seconds without power, such as stops, count as 0 W, so the best hour is not joined across a café stop. An activity without power answerspower_curve: nullwithout downloading anything, anddetail: "full"does not download the file. How it is computed: Training analytics. - Best power in comparisons and an FTP estimate.
compare_activitiesaddsbest_5min_wandbest_20min_wto each activity whose power curve is already stored (byget_activitywithdetail: "power_curve"); comparing never downloads FIT files, so a ride with power but no stored curve leaves them out and one note says so.get_thresholdsaddsestimates.ftp_w: 95 % of the best 20 minute power of your rides in the 90 days up todatewith a stored curve, with the ride’s date and id. It is an estimate the server shows and never records: your FTP threshold andget_loadstay as they are until you agree to record it withset_threshold. How it is computed: Training analytics. - A FIT file with a broken clock cannot stall the server. When
garmin-mcp-fitreads an activity file, a record or gear shift whose timestamp lies far outside the activity (a device clock reset to 1989, a jump years ahead) is left out instead of stretching the second-by-second series over decades: the activity is the span of the file’s session, or, without a usable one, the largest run of records less than 12 hours apart. A file whose records still span more than 7 days is refused with a clear message;get_activitywithdetail: "power_curve"then says the file could not be read and keeps nothing, so the next question tries again. - Climbs of an activity.
get_activitywithdetail: "stream_summary"andbucket: "climbs"gives one row per climb: where it starts, length, gain, average and steepest grade, pace and grade adjusted pace (speed for other sports), heart rate and power, VAM (metres climbed per hour) and, with power, W/kg from your latest weigh-in up to 30 days before the activity or the weight in your Garmin profile. A climb is at least 500 m long, 3 % steep on average and 30 m high; flatter bits up to 200 m long do not split it. It is computed from the streamstream_summaryalready downloads, with no extra request; an activity without climbs gives an empty list and says so. How climbs are found: Training analytics. query_healthanswers per hour. Withgranularity: "hour"(up to 3 days) it gives a row per hour: heart rate (average, lowest, highest), stress (average, highest), Body Battery at the start and end of the hour, steps, respiration and SpO2, and per metric the average, the peak and the lowest hour, so “when was I most stressed yesterday” has an answer. Asked about stress or Body Battery, it also lists the Body Battery events (sleep, nap, activity, stress) with start, duration and impact, for “what drained my Body Battery”. Sleep, HRV, calories, intensity minutes and floors have no hourly values and come per day next to the hours. These series are downloaded only by an hourly question, one request per series and day within the daily request limit, and need auto fetch (GARMIN_AUTO_FETCH, on by default);garmin_syncdoes not download them. A past day is kept for good, today’s is refreshed after 15 minutes.get_sleepshows how one night went. For a single night (date) the answer has atimeline: the sleep stages as segments with start and end (at most 60, short ones merged into their neighbours), awakenings (how many, the longest and when each began), restless moments, the lowest heart rate, the lowest and highest HRV reading and the lowest SpO2 with their times, and Body Battery at the start and end of the night. Clock times are in your time zone. It is read from the sleep and HRV data already downloaded for that night, so it costs no extra requests to Garmin; ranges of nights are unchanged.
Resources and prompts
- Badges and challenges as a resource.
garmin://challengesgives how many badges you earned and the 10 latest (name, date, points and, for a badge earned more than once, how many times), and the badge challenges you joined that are still in progress, each with its start and end date and progress in %, so “how far am I in this month’s challenge” has an answer. The value and target of a challenge stay in Garmin’s unit (unit_id), as Garmin does not name it. Both lists are downloaded when read, one request each within the daily request limit and only with auto fetch on, and kept for an hour;garmin_syncdoes not fetch them. Ad-hoc challenges between connections, challenges you could still join and virtual challenges are not included. The tool list is unchanged. - Courses as resources.
garmin://courseslists the courses saved in Garmin Connect, newest first: id, name, sport, distance and elevation gain.garmin://course/{id}(with id completion from the list) describes one course: distance, elevation gain and loss, the lowest and highest point, the profile in 20 stretches of equal length (elevation, gain, loss and grade of each) and the climbs found the same way asbucket: "climbs"of an activity (at least 500 m long, 3 % steep on average and 30 m high), so “how hilly is this course and where are the climbs” has an answer before the race. Positions (the start and the start of each stretch) are there only withGARMIN_REDACT=false. Courses are downloaded when read, one request each within the daily request limit and only with auto fetch on, and kept for an hour;garmin_syncdoes not fetch them. garmin://today, the morning at a glance. A new resource with today’s GO / MODIFY / REST decision fromget_readiness(default rules) with the rating of each signal and the advice, last night in one line (start and end in your time zone, duration, score, deep, REM and awake time, awakenings, HRV and resting heart rate) and the workouts on today’s calendar. It is read from the local cache only and never downloads anything, not even with auto fetch on, so a client can attach it to every conversation; when days are missing, its note names the tool that downloads them (get_readiness,get_sleep,list_workouts).- Three new prompts.
sleep_reportreads a range of nights (default the last 7), then the worst night hour by hour from its timeline.activity_reviewreviews one activity (default the most recent) with its laps and sets it against your similar sessions withcompare_activities.race_checkfinds the next race on your calendar and checks your form (get_load) and Garmin’s race predictions (get_training_status) against the days left. The Claude Desktop extension lists all five prompts. Resources and prompts are not part of the tool list, so it stays the same size.
CLI
garmin coursedownloads and uploads courses.garmin course download <id>saves a course as a GPX file, in the current directory or at--out(a file, or a directory for the name Garmin gives).garmin course upload <file.gpx>adds a GPX file as a new course and prints its id, name, distance and gain; without a name in the file the course is named after it. Both take--json. They follow the known shape of the Garmin Connect API and are not confirmed on a real account yet. Deleting a course is not offered.garmin uploadandgarmin logwrite to Garmin Connect.garmin upload <file...>sends FIT, GPX or TCX files as new activities and prints each new activity’s id; the activity goes into the local database at once, so it is there without a sync. A file Garmin already has is reported as a duplicate, with the existing activity’s id when Garmin gives it, and does not fail the command; a file Garmin refuses is reported and the other files are still sent.garmin log weight 72.4,garmin log bp 120/80 --pulse 62andgarmin log water 500add a weigh-in, a blood pressure reading or water to Garmin Connect, now or at--date(YYYY-MM-DDor"YYYY-MM-DD HH:MM"in your time zone; a past day without a time is 12:00; nothing in the future). After a weigh-in that day’s weigh-ins are downloaded again, soget_body_compositionshows it. All of them take--json. The upload and the blood pressure and water writes follow the known shape of the Garmin Connect API and are not confirmed on a real account yet. The MCP tools still do not write measurements.garmin log weight --fatwrites body fat.garmin log weight 72.4 --fat 18.5adds the weigh-in with body fat in %. Garmin Connect takes body composition only as a file from a scale, so the command writes a small weight scale FIT file and sends it through the upload service; without--fatthe weight goes as a plain weigh-in, as before. That day’s weigh-ins are downloaded again afterwards, soget_body_compositionshows the value; when Garmin answers that it is still processing the file, the command says so and how to download the day again later. A file Garmin refuses fails the command and adds nothing. Body fat from 1 to 75 %. Not confirmed on a real account yet.garmin recordhides ids, gear names and body measurements. The ids of your activities, workouts, devices, gear, courses, calendar entries, badges, plans, records and weigh-ins become fake ones of the same format (same number of digits, same UUID shape). The same real id gets the same fake in every recording, so recorded files still refer to each other: the fakes come from a random secret that the first recording saves asrecord-saltin the data directory (readable only by you, never part of a recording), and without it the real ids cannot be worked out. Ids that are the same for everyone, such as activity types, categories and units, stay. Gear names you gave are replaced, and weight, height, body fat and water, bone and muscle mass, BMI, metabolic age and the profile’s FTP, lactate threshold, VO2max, maximum and resting heart rate, your age and fitness age become neutral values in the same unit, also the body fat and resting heart rate your fitness age is computed from; the floors of your power and heart rate zones are scaled to that neutral FTP and maximum heart rate, the power zone boundaries of an activity so that the lowest one is 100 W, and Garmin’s lactate threshold history so that its latest value is the neutral one (the dates and the ups and downs stay), so your real FTP, maximum heart rate and lactate threshold cannot be worked out from them; heart rate, sleep, HRV and stress series stay.garmin recordknows 20 more endpoints, the ones the next features read: typed splits and split summaries of an activity, training plans (list, phased, adaptive), lactate threshold history (heart rate and speed), cycling FTP, hydration, blood pressure, the day’s events, goals, courses, a device’s solar gain, nutrition, the menstrual cycle day, earned badges, badge challenges in progress and virtual challenges in progress (virtual-challenges).garmin record listshows them. Their paths follow the known shape of the Garmin Connect API and are not confirmed by a recording yet. Recordings of training plans, courses, goals and daily events replace every name, as plan, race, course point and goal names name places; course coordinates are shifted like activity tracks, and encoded polylines are replaced. As nobody has seen these responses yet, their recordings replace every text value except enum-like constants (RUNNING), dates, timestamps and type and unit names, so notes, foods or symptoms under unknown keys stay out of fixtures. Notes, comments and food, meal and brand names are replaced in every recording. After writing the file,garmin recordlists the keys where text is left, to review before committing.
Local cache
- Solar days are kept. The local database moves to schema version 13 so that the daily solar sums of a device can be stored with it. The upgrade keeps everything you have; the device list is downloaded again on the next refresh, this time with the solar days.
- Hydration is kept. The local database moves to schema version 12 so that the day’s hydration can be stored in the
intradaytable next to the intraday series. The upgrade keeps everything you have. - Typed splits are kept. The local database moves to schema version 11 so that the typed splits of an activity and their totals per type can be stored next to its laps. The upgrade keeps everything you have.
- Training plan workouts are kept. The local database moves to schema version 10: calendar workouts carry their source, the library or a training plan. The upgrade marks the workouts you have as library ones and drops the list of cached calendar months, so the next
list_workoutsfetches them again with the plan workouts. - Power curves are kept. The local database moves to schema version 9 so that the power curve of an activity can be stored next to its other details. The upgrade keeps everything you have.
- Room for intraday data. The local database (schema version 8) gets an
intradaytable for one day’s heart rate, stress with the Body Battery curve, respiration, SpO2, steps, Body Battery events and the day’s events. Hourlyquery_healthfills it: these series are downloaded only by the question that needs them, never bygarmin_sync. Today’s series are refreshed after 15 minutes and a past day is kept for good; every request counts against the daily request limit (GARMIN_SYNC_MAX_REQUESTS_PER_DAY) shared with syncing, and no download starts while syncing is paused after Garmin refused requests. The upgrade only adds the table; the data you have stays.
0.6.3 (2026-11-17)
Tools
- Clearer
list_workouts,download_activity_fileandget_sleep. Each now names the tool to use instead:get_workoutfor the steps of one workout,schedule_workoutsfor the calendar andget_activitiesfor sessions already done;get_activitywhen the assistant should read an activity rather than save it as a file.list_workoutssays thatsportandlimitnarrow only the library andfrom/toonly the calendar.download_activity_filesays how the file is named and that it replaces an earlier download of the same activity and format.get_sleepsays that a night is named by the date of the morning it ended on, that a range can span up to 3 years, and that missing nights are downloaded within the daily request limit.
0.6.2 (2026-11-17)
Tools
- Shorter tool descriptions, same guidance. Text that said the same thing twice (in a tool’s description and again on its parameter), implementation details that do not change which tool fits, and example calls for tools with flat inputs are gone; “when to use it” and “which tool instead” stay. The tool list the assistant reads with every request is about 4 % smaller.
- Tool input schemas no longer carry
$schema. MCP reads a schema that names no dialect as JSON Schema 2020-12, which is what the server emits, so the key only took up context in every tool definition. With the shorter descriptions the tool list is now 36,371 bytes (about 9,100 tokens), 7 % less than in 0.6.1.
0.6.1 (2026-11-17)
Tools
- Fuller descriptions of
get_workout,get_gearandget_thresholds. Each now says what it returns, when to use it and which tool it pairs with (get_workouttakes the id fromlist_workoutsor theworkout_idofget_activity; the name or uuid fromget_gearis whatupdate_activitytakes asadd_gear/remove_gear;get_thresholdsshows whatget_loadandget_readinesscompute with,set_thresholdrecords a new test). All their parameters have descriptions, so the assistant picks the right tool and arguments more often. - Clearer descriptions for the other tools too.
get_sleep,get_body_composition,get_training_status,get_devicesandcompare_activitiesnow say when to use them and which tool to use instead (e.g.get_sleepfor the stages of particular nights,query_healthfor sleep hours next to other metrics;get_readinessfor a go/no-go today,get_training_statusfor VO2max and race predictions). They also say the default range, that ranges include both ends, and what comes back when there is no data. Parameters without a description inget_activities,list_workouts,update_activity,download_activity_file,compare_activitiesandset_thresholdhave one now, e.g. theduration_pctandpace_s_per_kmtolerances ofsimilar_toand thetest/manualsources ofset_threshold.get_loadis split up: its description says what the model is and when to use it, and eachinclude_*option describes what it adds. The tool list the assistant reads with every request is about 8 % larger.
0.6.0 (2026-11-17)
Signing in
- Sign in from the assistant, without the terminal. When a tool needs Garmin and nobody is signed in, the MCP server now opens Garmin’s own sign-in page in your browser by itself: the same window
garmin loginopens, so the password still never passes through the tool. The tool call waits up to 30 s for you. When you need longer it answersAUTH_SIGN_IN_PENDING, the window stays open, and the next call goes on once you are signed in. The window also comes back when Garmin no longer accepts the stored tokens. This works where the server runs on your own computer (stdio) with Chrome, Edge, Brave or Chromium installed; a server in Docker or reached over HTTP reportsAUTH_NOT_LOGGED_INwith thegarmin loginhint, as before.GARMIN_AUTO_LOGIN=false(in the Claude Desktop extension: Open Garmin’s sign-in page automatically) turns it off. - A sign-in that Garmin refuses says so. When Garmin’s sign-in API answers its own page with 403 or 429, the page shows an error whatever the password, and when the page itself is blocked it never gets past “Just a moment…”. The failed sign-in now names that status and says to wait or to change the network, instead of only “the browser window was closed”.
- Syncing goes on right after a new sign-in. A sync that found nobody signed in pauses all syncing for an hour, and signing in again did not end that pause.
garmin login,garmin import-tokensand the sign-in from the assistant now end it; a pause for a rate limit or a Cloudflare block stays.
Activities
- Tag an activity as a race.
update_activitytakesevent_type:race,training,recreation,special_event,fitness,touring,transportation,geocachingoruncategorized.get_activitiesandget_activityshowevent_typewhen an activity has one other thanuncategorized, andget_activitiesfilters by it, so “show all my races this year” is one call. (#3) - Gear on activities.
update_activitytakesadd_gearandremove_gear: the uuid of a gear item or (part of) its name fromget_gear, both in one call to swap shoes. A name that fits several active items is refused before anything is changed. The distance and activity count of the gear are read again afterwards, soget_gearshows the change at once. Adding, editing and retiring gear is not there yet. (#2)
0.5.0 (2026-10-30)
Activities
- Running dynamics without the raw stream.
get_activitywith the defaultdetail: "summary"now returns the grade adjusted pace (avg_gap_pace),running_dynamics(cadence, ground contact time and its left/right balance, vertical oscillation, vertical ratio, stride length),respiration(average, min and max breaths per minute),stamina(start, end, lowest available), the Training Effectlabeland messages intraining_effect, run/walk/stand time from Garmin’s run-walk detection (motion) and where the heart rate came from (hr_source:external_sensorwith the sensor’s connection and battery inhr_sensor, orwatch_optical; Garmin does not say whether a sensor is a chest strap or an arm band). Before, these were only inraw_summaryofdetail: "full", next to the second-by-second stream. Fields the activity has no data for are left out. - Laps with running dynamics. Each lap of
detail: "splits"adds moving time, grade adjusted pace, normalized power, ground contact time and balance, vertical oscillation and ratio, stride length, breathing rate and elevation loss, so the first and last kilometres can be compared. - No personal data or GPS in the raw output by default.
raw_summaryofdetail: "full"leaves out your name, profile id and photo links, activity photos, device and sensor serial numbers, install ids, the start and end position and the activity’s time zone, and the stream leaves out latitude and longitude.GARMIN_REDACT=falsereturns Garmin’s data as sent. The data in the local cache is unchanged. - The stream aggregated on the server.
get_activitywithdetail: "stream_summary"andbucket(kmby default,5min,halves,quarters) returns one row per bucket: distance, pace and grade adjusted pace (speed for other sports), average and max heart rate, power, cadence, ground contact time and balance, vertical oscillation and ratio, stride length, breathing rate, Performance Condition, elevation change and stamina at the end, with means weighted by time.performance_conditionadds the first value (Garmin shows it after 6-20 minutes of running) with its time, the last one and the range. Halves or kilometres can be compared in one call of a few kilobytes instead of paging through the raw stream; the stream is downloaded once, like forfull. - A thinner raw stream.
detail: "full"takesmetrics(stream keys to keep, e.g.["directHeartRate","directPower"]; timestamp and timer time always stay) anddownsample_s(at most one sample per that many seconds).meta.notenames asked metrics the stream does not have. - Laps with workout steps. Each lap of
detail: "splits"has itsintensity(warmup,active,rest,cooldown…; Garmin marks laps of a run without a workout asintervaloractive) and, for a workout, the step it was run in asget_workoutlists it (wkt_step, e.g."3.1. Interval 100 m - Hill") with Garmin’s score of how well the lap kept to the step’s target (compliance_pct, 0-100; none for a step without a target or ending on the lap button). The overview hasworkout_idof the workout the activity followed and the score of the whole activity (workout_compliance_pct). Garmin numbers the steps of a lap (wkt_step_index, kept) as a FIT file does, with a repeat block counted after its steps, so the raw index does not match the step numbers;wkt_stepdoes. The workout’s steps are downloaded once and stored;meta.notesays when the workout was changed after the activity or no longer exists. - Denser activity lists with filters.
get_activitiesadds the grade adjusted pace, run or bike cadence, normalized power, the Training Effect label and, when the activity’s weather was downloaded, the air temperature and dew point (the list’s own temperature is the watch’s sensor, warmed by the wrist, and is not used). New filters:min_duration_min,max_duration_min, apacerange per km ("4:45-5:30") andname(part of the name, any case, e.g. a reference route). meta.fetched_atis when the oldest record in an answer was downloaded; the server instructions now say so. A list with a session from today can still show an older time when other sessions on the page were fetched earlier.
Training analytics
- Compare sessions in one call. New tool
compare_activities:idsputs 2 to 10 activities side by side;similar_tofinds the stored sessions like one activity (same type, duration within ±20 %, pace or GAP within ±20 s/km, optionallysame_routeandeasy_only), newest first, each with how it differs (match). Every row has pace, GAP, heart rate, power, EF, decoupling, IF, TSS, the share in zones 4-5, cadence and running dynamics, and the weather when downloaded. - Running dynamics in
get_load.include_activitiesrows carry ground contact time and balance, vertical oscillation and ratio, stride length and breathing rate.include_dynamicsadds the monthly running dynamics of road runs, also at a reference pace (_at_ref), from a regression on speed within months, so that a month of faster runs does not look like better form. - Pw:Hr for running. In
get_loadwithinclude_activities, runs with running power getef_power(normalized power, else average power, per beat) and, when they qualify for decoupling,decoupling_pw_pctnext to the Pa:Hrdecoupling_pct. Everydecoupling_pctnames its basis indecoupling_basis(pa_hrorpw_hr); a run whose laps have power but no grade adjusted speed reports Pw:Hr there instead of nothing.include_efficiencyaddsef_power_avgfor running.
0.4.2 (2026-10-28)
Activities
- An activity deleted in Garmin Connect disappears from the local cache too. Before, a sync only added and updated activities, so one deleted in Connect stayed in
get_activitiesand the analytics until it was removed by hand. Now, once a sync has the whole activity list of a range, a stored activity of that range missing from the list is checked with Garmin and removed when Garmin answers 404 for it; any other answer keeps it, and a list that fails part way removes nothing. More than 20 such activities in one list are taken for a bad list and none is removed. The list of today and yesterday is fetched again when it is older than 15 minutes, so a recent deletion goes with the next read or sync; for an older one rungarmin sync --scope activities --from <date> --to <date> --force.garmin syncandgarmin_syncreport the removals (removed). This mirrors your account and needs noGARMIN_ENABLE_DESTRUCTIVE: nothing is deleted in Garmin Connect. get_activityon an activity deleted in Garmin Connect removes it from the cache and says so, instead of a bare 404, when it has to ask Garmin for a section it has not stored yet.
Races in the calendar
- Calendar months that are not over yet go stale after 15 minutes instead of an hour, like today’s health data. A race added or moved in Garmin Connect shows up in
list_workoutsat most 15 minutes later, through the automatic sync; months fetched after they ended stay final.
0.4.1 (2026-10-16)
Races in the calendar
- Races from Garmin’s event catalogue show up in
list_workouts. Garmin sends a race added from its event search with no calendar id, only an event uuid; such races were skipped, soupcoming_eventsmissed them. Calendar events are now keyed by the calendar id or, without one, by the event uuid (database schema 7). The upgrade drops the list of cached calendar months, so the nextlist_workoutsfetches them again. - A race added to a future month appears without a manual sync. A calendar month that is not over yet goes stale after an hour, as before, but a read now treats it as missing too, so
list_workoutsrefreshes it through the automatic sync (GARMIN_AUTO_FETCH). Before, a month fetched once was never fetched again by a read, and a race added later stayed invisible untilgarmin sync --scope reference --force.
0.4.0 (2026-10-15)
Health metrics
- Calories eaten.
query_healthwithmetrics: ["calories"]andgarmin health caloriesreturncalories_consumed_kcalnext to the calories burned: the day’s total from a food log linked to Garmin Connect (e.g. MyFitnessPal), averaged over the days with entries in a weekly table. Days without food entries leave the field out, never 0. Garmin already sent the value with the daily summary, so days synced before this version have it without downloading them again; food logged after a past day was stored (it is not refreshed once the day is over) needsgarmin sync --scope health --from <date> --to <date> --force.
0.3.1 (2026-10-14)
Morning readiness
- The
loadsignal names its source:source: "hrtss"in its value and “Own load (hrtss)” in its detail. It sums heart-rate stress only, so its TSB and ACWR differ from the defaultget_load(power, then pace, then heart rate) after sessions where pace understates the effort, such as mountain races with long walking climbs.
0.3.0 (2026-10-13)
Claude Desktop extension
- The extension is called Garmin MCP in Claude Desktop, not “Garmin Connect”, which is Garmin’s own service. Its description says it is an unofficial, open-source server, not affiliated with Garmin.
- Every release also carries the extension as
garmin-mcp.mcpb, soreleases/latest/download/garmin-mcp.mcpbalways downloads the newest one.
Morning readiness
- REST needs two signals that agree. By default (
decision_rule: "pairs") the decision is REST only when both signals of a pair are red: HRV with resting heart rate, HRV with sleep, or load with HRV, resting heart rate or sleep. A single red signal gives MODIFY. One short night lowers HRV, raises resting heart rate and shortens sleep together, so the old counting rule could cancel a key session on one event.rules: {"decision_rule": "count"}restores it. - The decision uses HRV, resting heart rate, sleep hours and load only. Sleep is rated by hours; the sleep score stays in the answer. Body Battery and stress are shown for reference (
info), like Garmin’s Training Readiness, and do not vote. The rulessleep_score_red,sleep_score_yellow,bb_red,bb_yellowandstress_yelloware gone and are ignored with a note.
Training load
- Aerobic decoupling (Pa:Hr for running, Pw:Hr for power) per session in
get_loadactivities, and its monthly mean in the efficiency trend: the efficiency of the first and second half of a steady session of at least an hour, from the laps of the activity. flags.intensity_sportschooses which sport groups the intensity distribution counts (default run, bike, nordic, row). Addhiketo include mountain walking; it then also gets an efficiency trend from grade adjusted speed.
Documentation
- New pages: Methods and evidence (what fitness, fatigue, form and HRV readiness mean and where the methods come from) and an FAQ.
- Every npm package has its own README;
SECURITY.md,CONTRIBUTING.mdand issue and pull request templates in the repository.
0.2.0 (2026-10-12)
Training analytics
A new package, garmin-mcp-analytics, computes training metrics on your machine from the data already in the local database. Every formula, default and limit is described on the Training analytics page.
get_load: an own load model. Each activity gets one training stress from the first source available: power (cycling, TSS), pace (running, rTSS), swim pace against CSS (sTSS), heart rate (hrTSS from the time in HR zones, else from average heart rate) or session RPE. From it: fitness, fatigue and form (CTL, ATL, TSB), ACWR, monotony and strain, weekly volume per sport, a three-zone intensity split against LT1 and LTHR, load flags, an optional form per sport and a monthly efficiency factor trend over aerobic sessions.get_readiness: a morning GO, MODIFY or REST decision from overnight HRV, resting heart rate, sleep, Body Battery, stress and load, each compared with your own recent baseline. Garmin’s Training Readiness is shown next to it for reference and does not vote.get_thresholds: LTHR, LT1, HRmax, FTP, resting heart rate and the other thresholds in effect on a date, with their history, per-sport values, and the heart rate and power zones of every sport in the Garmin profile.set_threshold: record a field test result. Every metric is computed with the thresholds that applied on the activity’s own date, so a new test changes the numbers from its date on.- Thresholds start from the Garmin profile, which is downloaded before an analytics read when it is not stored yet. Without a tested value, documented approximations are used and the answer says so.
- Every flag and readiness rule can be overridden per call (
flags,rules), and every answer returns the values it used.
CLI
garmin load,garmin readinessandgarmin thresholds(list,add,export,import) give the same results in the terminal, as Markdown or--json. They never download; a missing range is reported with thegarmin synccommand to run.garmin import-activities <file.csv...>reads the Activities CSV export of Garmin Connect (English or Polish headers), so load history older than the synced range counts too. Imported activities count only on dates the synced activities do not cover.garmin statusshows the number of stored thresholds and imported activities.
Changed
preview_workoutis merged intocreate_workout. Callcreate_workoutwithdry_run: trueto see the readable steps and the estimated duration without saving anything; the same input withoutdry_runsaves the workout. The tool count stays at 20.get_training_statusandget_period_summary: the CTL/ATL/TSB computed from Garmin’s per-activity training load is now one field,garmin_load_model(formerlycomputed_loadandload_at_end), and the descriptions say when to use it and whenget_load.- The server (
serverInfo.version) andgarmin --versionreport the version frompackage.jsoninstead of a fixed0.1.0.
Release
- The Claude Desktop extension
garmin-mcp-<version>.mcpbis attached to every GitHub release.
0.1.1 (2026-10-12)
First public release: the MCP server, the garmin CLI and the Claude Desktop extension, on npm and in the MCP registry as io.github.endurancetools/garmin-mcp.
- 20 tools over a local SQLite cache: activities and activity files, daily health, sleep, training status, body composition, period summaries, gear, devices, the workout library and calendar, structured workouts and scheduling.
- Sign-in on Garmin’s own page in your browser; only the tokens Garmin issues are stored. Missing days are downloaded on demand within a daily request limit.
- stdio and streamable HTTP transports, resources and two prompts (
weekly_review,plan_next_week). - Prebuilt
better-sqlite3binaries instead of a native build, and tests passing on Linux, macOS and Windows.