Skip to main content
Glama

This is an MCP server: a small program that your AI app starts on your computer, so that the assistant can read your Garmin data. Activities, laps, strength sets, sleep, HRV and more. Ask questions in your own words, or get a training dashboard: as a page file, or inside the chat in Claude Desktop.

  • Official: it uses the Garmin Connect Personal API. Garmin does not endorse this project.

  • Read-only: it writes nothing back to Garmin.

  • Your key: the server sends the API key only to the Garmin token endpoint.

  • Tested with Claude Desktop and Claude Code. Other MCP clients that use stdio, such as Codex, can connect.

What you can ask

Ask your assistant anything about your Garmin data, in your own words and in any language. The assistant chooses the tools and can combine their data. Some examples:

  • All together: "My run on Saturday felt hard. Compare it with my sleep and HRV of the nights before."

  • Recovery: "Should I train hard today?"

  • Activities: "List my last 5 activities, with pace and heart rate."

  • Laps: "Show the laps of my last run."

  • Bike: "Compare the grit and flow of my last mountain-bike rides."

  • Strength: "Which of my lifts have stalled over the last 6 weeks?"

  • Workouts: "Did I do the reps and rests my workout planned?"

  • Body: "How has my weight changed over the last 3 months?"

  • Activities: "How much time did I spend in each HR zone on my runs this month?"

  • Activities: "How did my sessions named Tempo 5k and Long run change over the last 2 months?"

  • Bike: "How many metres per hour did I climb on my last 5 rides?"

  • Bike: "How much of my riding time was in Z1-2 and how much in Z4-5 over my last 5 rides?"

  • Strength: "Compare my sets of this week with the week before."

  • Strength: "Which muscles did I train most this week?"

  • Strength: "What was my heaviest squat set this month, and what 1RM does it suggest?"

  • Strength: "How long did I rest between sets in my last strength session?"

  • Strength: "How much weight did I lift in total in each strength session this month?"

  • Recovery: "How did I sleep this week, and how was my HRV?"

  • Recovery: "Show my steps, stress and Body Battery for the last 7 days."

  • Recovery: "Did my Body Battery recover overnight this week, and which days drained it most?"

Related MCP server: Threshold

Features

  • All of your data: laps and strength sets from the original .FIT files, with the muscles of each set; HRV, sleep, heart rate, stress and Body Battery; garminGet for the other endpoints.

  • A dashboard in less than a minute: your training load next to recovery, for you or for your coach, with your own widgets and languages. See Dashboard.

  • The dashboard in the chat: in Claude Desktop, ask "show my training dashboard" and the page opens in the reply, with new data. See Dashboard in the chat.

  • Coach prompts: a review of one run, strength session, swim or ride against its planned workout, a review of the week or of the calendar year, a readiness check before a race or a swim event, and a check of today. See Coach prompts.

Quick start

You need Node.js 22 or later (node --version shows the version) and a Garmin Connect account with access to the Personal API.

You do not use a terminal? Follow the step-by-step setup in Claude Desktop.

1. Create a personal API key

  1. Open Garmin Connect web at https://connect.garmin.com/app/settings/personalApiToken.

  2. Select Create Key, accept the terms, select the expiry (1 year at most) and select Create.

  3. Garmin shows the key only one time. Save it with the setup command. Paste the key at the prompt: it stays hidden. setup tests the key with Garmin and saves it in a file that only you can read (default ~/.config/garmin-mcp/api-key, in your user folder on Windows):

npx -y @indaco/garmin-personal-mcp@latest setup

setup runs on macOS, Linux and Windows, and CI tests it on each one.

You can also give the key in GARMIN_PERSONAL_API_KEY, in the env block of the client configuration (example). Claude Desktop does not read your shell profile. The automatic dashboard refresh reads only the key file.

2. Connect your client

Each client starts the same command: npx -y @indaco/garmin-personal-mcp@latest. Most clients use this mcpServers block in their MCP configuration:

{
  "mcpServers": {
    "garmin-personal": {
      "command": "npx",
      "args": ["-y", "@indaco/garmin-personal-mcp@latest"]
    }
  }
}

Select Settings → Developer → Edit Config. Add the top-level mcpServers key from the block above next to the keys that the file has, not in preferences (example).

Then quit Claude Desktop fully, including the tray icon, and start it again. Settings → Developer shows garmin-personal.

This command adds the server to all your projects:

claude mcp add garmin-personal --scope user -- npx -y @indaco/garmin-personal-mcp@latest
claude mcp list          # garmin-personal: ... ✔ Connected

Use --scope project to write a .mcp.json file that you can share in the current repository.

Add this table to ~/.codex/config.toml. The first npx download can take longer than the default start time, so the table sets a longer one:

[mcp_servers.garmin-personal]
command = "npx"
args = ["-y", "@indaco/garmin-personal-mcp@latest"]
startup_timeout_sec = 60

Codex does not send your shell environment to the server. Use the key file, or add env = { GARMIN_PERSONAL_API_KEY = "..." } to the table. The automatic dashboard refresh needs the key file.

In the MCP configuration of the client, set the command npx and the arguments -y @indaco/garmin-personal-mcp@latest. Some clients do not show MCP prompts. In these clients, ask for the dashboard in your own words. The tools are the same.

3. Ask your assistant

Start a new chat (Claude Desktop) or a new session (Claude Code). Ask "list my last 5 activities". The first time that a garmin-personal tool asks for permission, answer Allow always in Claude Desktop. In Claude Code, use /permissions and add mcp__garmin-personal.

Tools

Tool

What it gives

listActivities

each activity with pace, HR, load and effect, by date, type or name

getActivity

the details of one activity

getActivityLaps

the laps of an activity, from its .FIT file; for a run also the half split, HR drift, the fade of each step, and hit or miss per plan step; for a swim also metres, pace per 100 m, stroke, lengths, SWOLF, strokes and the fade of each repeated set

getActivitySets

the strength sets of an activity, with the muscles, the top set and the e1RM, and the planned workout against the done sets, with the planned rest, from its .FIT file

getActivityWorkouts

the planned workout of an activity as it is now in Garmin Connect: steps, targets and notes

downloadActivityFit

saves the .FIT file of an activity in the data folder

getHrvRange

HRV during the night

getDailyHeartRate

the heart rate of a day, with the resting HR

getSleep

the sleep of a night, or of up to 14 nights: hours, phases, score and need

getWeight

weight and body composition for a range of dates

getBodyBattery

how Body Battery charged and drained, for up to 14 days

getHeartRateZones

your HR zones

getFitnessAge

fitness age against actual age

getDailySummary

steps, stress and Body Battery, for a day or a range

getDashboardData

all the dashboard data in one call, with the server's totals and a local cache

writeDashboard

writes the dashboard page

editDashboard

changes the layout, the custom widgets and the languages of the page

showDashboard

shows the dashboard inside the chat, in Claude Desktop

scheduleDashboardRefresh

updates a dashboard page automatically, at the times you say in your own words

getYearReview

the recap of a calendar year from the cache; it asks before it fetches the missing days

garminGet

all other GET endpoints of the Personal API

Tools gives the endpoints, the details of each tool and the data that the Personal API does not have.

Dashboard

The server makes a training dashboard with these prompts. In Claude Desktop, the prompts are in the + menu of the message box, under garmin-personal. In Claude Code, they are slash commands: use the full name, /mcp__garmin-personal__<prompt>. The short form /garmin-personal:<prompt> can reach the assistant as the command name only, without the prompt.

Prompt

What it does

Claude Code example

training-dashboard

makes the page

/mcp__garmin-personal__training-dashboard 8

training-dashboard-update

adds the new data, your layout stays

/mcp__garmin-personal__training-dashboard-update

dashboard-setup

makes a page for you or for your coach, with only the sports and the data that you select

/mcp__garmin-personal__dashboard-setup

dashboard-widget

makes a new widget from your idea

/mcp__garmin-personal__dashboard-widget my longest ride

dashboard-language

adds a language to the page

/mcp__garmin-personal__dashboard-language Dutch

Prompts has the arguments and the details of each prompt.

The dashboard guide tells about the title and the headline, the boards, the themes and languages, the units and the activity-name filter, and how to change the layout. The widget catalogue lists every widget.

Presets or freeform

In many setup guides for Claude and Garmin, Claude reads the data and writes the whole dashboard page. With a preset, the server writes the page from a tested template, and the assistant writes only the coach notes. My measurements for a first build, with Claude Code and Opus on synthetic data (75 activities in 12 weeks; other clients and models give other times and costs):

First build

Time

Cost

Preset

34 s

$0.16

Claude writes the page

24 to 35 min

$6.6 to $9.2

For a design of your own, use layout = freeform: the assistant writes the page, as in those guides.

Presets or freeform gives the measurements and the limits of the presets.

Dashboard in the chat

In Claude Desktop, the dashboard can open inside the chat, with its boards, charts and themes. You do not open a file or a browser. There is no prompt to run: ask in your own words, for example:

  • "Show my training dashboard in the chat."

  • "Show my dashboard in the chat for the last 26 weeks."

  • "Show garmin-dashboard-coach.html in the chat."

The assistant calls showDashboard. The tool reads new data from Garmin and shows your saved page, with its layout, custom widgets, languages and settings. It writes no page file, and the page has no coach notes.

Client

What you get

Claude Desktop

the page in the chat (tested)

Claude Code, the Codex CLI and other terminal clients

a short text reply. Run training-dashboard to write the page as a file

Codex in the ChatGPT desktop app

not tested yet

The ChatGPT chat, Claude on the web

not available: they connect only to servers on the internet

The page in the chat is an MCP App. Other clients that show MCP Apps can also work, but they are not tested. Show the dashboard in the chat gives the limits.

Year review

Ask, for example, "give me my year in review". getYearReview gives the recap of a calendar year in the chat from the local cache, and asks before it fetches the missing days. Year review has its arguments, the answers of the form and the limits.

Coach prompts

These prompts answer in the chat. They do not change a dashboard.

Prompt

What it does

Claude Code example

run-review

reviews one run as a coach

/mcp__garmin-personal__run-review

race-readiness

tells if you are ready for a race, with a plan for its pace

/mcp__garmin-personal__race-readiness 2026-11-15 half 1:45:00

strength-review

reviews one strength session as a coach

/mcp__garmin-personal__strength-review

swim-review

reviews one swim as a coach

/mcp__garmin-personal__swim-review

swim-readiness

tells if you are ready for a swim event

/mcp__garmin-personal__swim-readiness 2026-08-01 1.9 km

ride-review

reviews one ride as a coach

/mcp__garmin-personal__ride-review

train-today

tells if you should train hard today, with fitness and form

/mcp__garmin-personal__train-today

week-review

reviews your last whole week against the weeks before

/mcp__garmin-personal__week-review

block-review

reviews your last 4 to 12 whole weeks as one training block

/mcp__garmin-personal__block-review 8

year-review

gives the recap of a calendar year

/mcp__garmin-personal__year-review 2025

A missing value shows as "n/a": the assistant does not estimate it.

Prompts has the arguments of each prompt and what each one compares.

Configuration

All the settings are environment variables, and all of them are optional. A path can start with ~ (your home folder).

Variable

Default

Meaning

GARMIN_PERSONAL_API_KEY

not set

the personal API key. It has priority over the key file. The automatic refresh needs the key file.

GARMIN_API_KEY_FILE

~/.config/garmin-mcp/api-key

the file with the API key

GARMIN_DATA_DIR

~/workspace/garmin-data

the data folder

GARMIN_BASE_URL

https://personal.connectapi.garmin.com

the Personal API host

To set a variable in Claude Desktop, add an env object next to args:

"env": { "GARMIN_DATA_DIR": "/absolute/path/to/garmin-data" }

In Claude Code, add --env GARMIN_DATA_DIR=/path/to/garmin-data to claude mcp add.

The data folder lists the files that the server keeps and its log.

Commands

The server is also a command for a terminal. A command does one task and stops: it does not start the MCP server.

Command

What it does

info

shows the version, the settings, the files, the pages and the schedule. It never shows the key.

doctor

tests the API key, folders, data files and the schedule. It never shows the key.

setup [--force]

tests the API key and saves it in a file that only you can read

refresh [page.html]

updates a dashboard page one time

schedule [daily|weekdays|weekly ...]

shows, sets or stops the automatic update of a page

--version, -v

shows the version

--help, -h

lists the commands. After a command, it shows the help of that command.

npx -y @indaco/garmin-personal-mcp@latest info

A command reads the environment variables of your terminal, not of your MCP client configuration. Commands has each command, its output and its exit codes.

Security

The server is read-only. It sends the API key only to the Garmin token endpoint, and it never logs or returns the key or the access token. It refuses a key that has spaces or line breaks in it, and it removes the key and the token from network error messages. If you saw your API key in a chat, revoke the key on the API key page and create a new one. No tool result has your Garmin user id, name or profile image, or the ids of your devices and daily records, also with raw and garminGet. Your .FIT files can have your GPS track, so keep the data folder private.

Your AI app reads the results of the tools. Your Garmin data can then go to the provider of your assistant's model, under the terms of that provider.

SECURITY.md tells how the server protects your data and how to report a vulnerability. Do not open a public issue for a vulnerability.

The Personal API is for personal use that is not commercial, under the terms of Garmin. Garmin does not endorse this project, and the project has no affiliation with Garmin.

Problems and solutions

Problem

Solution

The server does not start

Make sure that Node.js is version 22 or later: node --version.

Claude Desktop does not find npx

GUI apps do not read your shell profile. Use the absolute path of npx (which npx) as the command.

Changes have no effect

The client keeps the old server process. Restart the client: a new Claude Code session, or quit and start Claude Desktop again.

Which version runs

npx -y @indaco/garmin-personal-mcp@latest --version (or -v) prints the version and stops. --help (or -h) lists the commands.

Where the files are

npx -y @indaco/garmin-personal-mcp@latest info shows the key file, the data folder and the logs. See Commands.

Problems and solutions has more problems, the log files, and commands that test the key and the server.

Contributing

Read CONTRIBUTING.md. It tells how to run the server from source, and it has the commands, the test rules and the code map.

To build the website with its demo dashboard (a year of sample data), run pnpm build:all. The site is in dist-site/, and the demo in dist-site/demo/index.html.

Credits

The idea comes from apratico/garmin-mcp by Alessandro Praticò: a Java MCP server for the Garmin Personal API, where Claude writes the dashboard. I tested it in a fork, indaco/garmin-mcp, and then made this server as a different solution. It runs with npx, without Java, and it writes the dashboard page from a tested template.

This server uses the same key file as indaco/garmin-mcp and can share its data folder.

How this was built

AI agents in Claude Code wrote the code, tests and docs of this project. I chose the design, reviewed each change and tested the server with my own Garmin data. The rules that the agents follow are in AGENTS.md.

License

This project uses the MIT License. dist/index.js and the dashboard page include other libraries with their own licenses: THIRD-PARTY-NOTICES.md lists them.

Available Tools

21 tools
downloadActivityFitA

Download the ORIGINAL .FIT file of an activity and save it on the user's computer. Returns the absolute path of the saved .fit file (second-by-second HR, cadence, speed, laps). The file is saved once in the fit folder of the data dir; a later call does not download it again. Use it only when the user wants the file itself: getActivityLaps and getActivitySets already read it.

Inputs: activityId (required).

editDashboardA

Changes the layout, the custom widgets or the languages of the dashboard page (a page from the template; call writeDashboard first). Without arguments it only reads: the reply has the layout, the custom widgets, the missing texts of each language, the catalogue of built-in widgets and widgetApi, the guide to writing a custom widget. layout replaces the whole layout (the text of the page's 'Copy layout'); place adds widgets at the end of a board; widgets adds or replaces custom widgets by id and saves them in the widget library (/widgets.json), which every page from the template gets; removeWidgets removes them from this page and its boards, forgetWidgets also from the library. widgetTexts adds texts to custom widgets by id, language and key, e.g. {"longest-ride": {"de": {"title": "Längste Fahrt"}}}. languages adds page texts by key, e.g. {"de": {"title": "Training + Erholung"}}: keys and {placeholders} as in englishTexts: true; a text with "|" has a singular and a plural form. Missing texts show in English. removeLanguages removes languages that languages added.

Inputs: path, place, layout, widgets, +6 more.

garminGetA
Read-only

Generic read-only GET on the Garmin Connect Personal API, for endpoints not covered by the other tools or when a query parameter name has to be adjusted. 'path' is relative and starts with '/', e.g. /fitnessage-service/fitnessage/v2/2026-10-25 . 'query' is an optional URL query string without '?', e.g. date=2026-10-25&foo=bar .

Inputs: path (required), query.

getActivityA
Read-only

Garmin's full JSON for one activity: summaryDTO (start time, distance in metres, duration and movingDuration in seconds, averageSpeed in m/s, HR, calories, training effect and load, intensity minutes, Body Battery change, sets and reps of a strength session), splitSummaries (one total per split type, such as the run and walk segments), the activity type and metadataDTO (device maker, lap count, personal record flag). Private ids are left out. Use it for a field that listActivities does not give: listActivities gives the common fields in km and min/km, for many activities in one call. It has no laps, sets or samples: use getActivityLaps, getActivitySets or downloadActivityFit for them.

Inputs: activityId (required).

getActivityLapsA

Laps of an activity as recorded by the watch (manual laps, auto-lap every km, or workout steps), read from the original .FIT file. One row per lap: distance (km), timer time, pace (min/km, foot sports) or speed (km/h), average/max HR, cadence (spm for running), ascent/descent, average power, running form (gctMs, vertRatioPct, vertOscCm, strideCm), intensity (active, interval, rest, recovery, warmup, cooldown; the auto laps of a free run can be interval), lap trigger, and the step of the planned workout (step: the reps of one drill share it). A swim lap also has metres, swimPace (per 100 m), stroke, lengths, swolf and strokes. Use it for intervals and per-km splits; getActivity does not have them. For a run: split (pace of the first and second half, kind, hrDriftPct) and, for a structured workout, work (reps, pace, avgHR, and the fade of each step with more than one rep, pct). For a swim: sets, the laps in a row of one distance, stroke and intensity (reps, firstPace, lastPace, pct: above 0 is slower, firstSwolf, lastSwolf). null is n/a. For a run, plan is the planned workout that the watch ran (null without one): its name and, per lap with a step in lap order, the step's target (type, low, high, unit; or zone), done (the lap in that unit), verdict (hit inside the target, ends included, or miss) and off (how far outside, in the unit: s/km for pace, above 0 is slower). An open or zone target, a target in %max or %ftp, a target outside a plausible range, a lap under 15 m or 8 s or a lap without the value has verdict null.

Inputs: activityId (required).

getActivitySetsA

Strength training sets of an activity, read from the original .FIT file. One entry per exercise, in the order first done, with its movement category, its primary and secondary muscles (from Garmin's exercise catalogue) and its active sets: reps, weight (kg, absent when none was recorded), set time in seconds and the rest after the set (restSec). Each exercise with weight also has top (the heaviest set of 1 to 12 reps, then the most reps; without one, the heaviest set) and e1rmKg (the best estimated 1RM, Epley, of its sets of 1 to 12 reps; null when it has none). Exercise names are stable across sessions, so they can be used for per-exercise trends. Edits made later in Garmin Connect (renamed exercises, corrected reps or weights) are not in the .FIT file. Use it for strength sessions; for runs, rides and swims use getActivityLaps. plan is the planned workout that the watch ran (null without one): its name and, per planned exercise and rep plan (a pyramid gives a row per rep plan) in plan order, plannedSets, plannedReps (low to high; high null is at least low), doneSets, reps, and verdict (hit or miss, why: sets or reps; extra and over count the done sets above the plan and above the high end); a warm-up or cool-down row (part) and a notInPlan row have verdict null. In a rest-pause group (a repeat of one exercise with a rest of 20 s or less inside it and a longer rest after it), only the first set of each pass is judged on reps. Such a row has restPause true. Each planned row also has plannedRestSec: the planned rests right after its sets, in seconds and plan order (null: an open rest, ended with the lap button; empty: no rest right after it, such as the first exercise of a superset).

Inputs: activityId (required).

getActivityWorkoutsA
Read-only

The planned workout that an activity followed, as created in Garmin Connect: its steps in order, each with its intensity (warmup/active/rest/recovery/cooldown), its duration (time in seconds, reps, or open), its target (cadence, heart rate, pace, or open, with low and high values), the exercise for strength steps, and the coach's notes. A step with durationType REPEAT_UNTIL_STEPS_CMPLT repeats the steps from stepIndex durationValue up to it, targetValue times in all. Use it for the whole plan and its notes. For plan against done (hit or miss), read the plan field of getActivitySets (strength) or getActivityLaps (runs) instead; a ride or a swim has no plan field. An empty list means the activity followed no planned workout. Null fields are left out.

Inputs: activityId (required).

getBodyBatteryA
Read-only

Body Battery for up to 14 days, yyyy-MM-dd: for each day how much it charged and drained, its readings through the day as [timestamp, level] pairs, and the events that changed it (sleep, activities, stress, naps) with their start, duration and impact, and Garmin's feedback. Use it to see why Body Battery went up or down. For one number per day with steps and stress use getDailySummary; for the change of one activity, listActivities.

Inputs: toDate (required), fromDate (required).

getDailyHeartRateA
Read-only

Heart rate of one day, yyyy-MM-dd: restingHeartRate, minHeartRate and maxHeartRate (bpm), lastSevenDaysAvgRestingHeartRate, and heartRateValues, the samples of the day as [timestamp, bpm] pairs (several hundred, so the answer is about 13 KB). Use it for the HR curve of a day. For resting HR over several days use getDailySummary with fromDate and toDate; for the zone limits use getHeartRateZones.

Inputs: date (required).

getDailySummaryA
Read-only

Daily user summary (steps, calories, stress, body battery, resting HR) for one date, or for up to 14 days (fromDate and toDate; the range answer has Garmin's v2 field names), yyyy-MM-dd. Use it for the totals of each day; for sleep use getSleep, for the Body Battery events getBodyBattery, and for the HR samples getDailyHeartRate.

Inputs: date, toDate, fromDate.

getDashboardDataA

All the data of the training dashboard in one call: HR zones, fitness age, the activities of the last weeks weeks (compact summaries, with strength sets and laps where they apply; a strength session with sets also has planVerdicts: hit or miss for each exercise of the plan that the watch ran, null without a plan; a run whose laps are read, or whose .FIT file is saved, has planVerdicts too: hit or miss for each lap with a planned target), the activities of the weeks before for the period comparison, daily HRV, the last 14 days of sleep and daily summaries (with recoveryHistory, also short rows of the older days: date, sleep hours, sleep score and resting HR), and units: the measurement system of the Garmin profile (metric, statute_us or statute_uk) that the page shows; the data itself is always metric; locale: the language of the Garmin profile, e.g. it or pt-BR. Keeps a local cache and fetches from Garmin only what is new since the last call, so a rebuild or an update needs few calls. sync in the result says what was fetched: Garmin calls, .FIT files downloaded (fitDownloads) and new activities. digest, first in the result: the server's totals for the whole period and for each Monday-Sunday week (sessions, km, hours, load), the training load of the last 7 and 28 days, best efforts, races and strength top sets, the plan verdicts of the strength sessions done (strengthPlan), the long runs with their half split and HR drift, the longest run and the race predictions (Riegel), the page's readiness verdict for today with its inputs (readiness), and today's fitness, fatigue and form (fitnessFatigue); quote them instead of your own sums. For another date range, use the activities: each one is on its own line. A load is null (n/a) when the sessions have none; estimatedLoads counts the loads that are estimates from heart rate. A week with partial: true starts before the period. Without HRV and sleep data the digest has no readiness: give the verdict as n/a. The digest leaves out the sessions that no one did (a run slower than 20:00/km, or over 12 h at under 1 km/h, unless Garmin gives a load for its moving time; strength and racket sports count their total time) and counts them in unlikelyTimes; the activities still hold them, so leave them out of your own sums too. The full result is large: 12 weeks can be about 180 KB, which can be over the tool output limit of the assistant. writeDashboard with preview: true gives only the digest, the activities of each board and the settings.

Inputs: weeks, workouts, recoveryHistory.

getFitnessAgeA
Read-only

Garmin fitness age for a date, yyyy-MM-dd: fitnessAge, chronologicalAge, achievableFitnessAge and previousFitnessAge, and components: bodyFat, vigorousDaysAvg and vigorousMinutesAvg (per week) and rhr (resting HR), each with its value and, when Garmin suggests one, targetValue and potentialAge (the fitness age at the target). stale is Garmin's flag for an old value. Use it for fitness age; for the body fat trend use getWeight.

Inputs: date (required).

getHeartRateZonesA
Read-only

The heart rate zones set in Garmin Connect: a list with one entry per sport that has its own zones (sport DEFAULT for the others), each with trainingMethod (how Garmin sets the zones), zone1Floor to zone5Floor (the lowest bpm of each zone; a zone ends where the next one starts, zone 5 at maxHeartRateUsed), maxHeartRateUsed, restingHeartRateUsed and lactateThresholdHeartRateUsed. It takes no parameters. It gives the limits only: the time in each zone of an activity is hrZonesSec in listActivities.

Inputs: no named parameters.

getHrvRangeA
Read-only

Overnight HRV for a date range, yyyy-MM-dd: hrvSummaries, one row per night with HRV data (a night without data has no row), with calendarDate, lastNightAvg (ms, the average of the night), lastNight5MinHigh, weeklyAvg (the 7-night average), status (BALANCED, UNBALANCED or LOW) and baseline (balancedLow to balancedUpper: the normal range). Ask at most 28 days in one call: Garmin may refuse a longer range. Use it for the HRV trend; for the sleep of a night use getSleep, and for resting HR use getDailyHeartRate or getDailySummary.

Inputs: toDate (required), fromDate (required).

getSleepA
Read-only

Sleep for one night (date: the morning you woke up), or for up to 14 nights (fromDate and toDate), yyyy-MM-dd, as one compact row per night: bedtime and wake (local HH:mm), hours of sleep, deep, light, REM and awake, the sleep score and its quality, the sleep need (hours), average heart rate, average and lowest SpO2, average respiration, awake count, average sleep stress and Garmin's feedback. Missing values are left out, and a night without sleep data has only its date. Set raw=true for Garmin's JSON.

Inputs: raw, date, toDate, fromDate.

getWeightA
Read-only

Weight for a date range, yyyy-MM-dd: the latest weight of each day (with body fat, muscle and bone mass, BMI and body water when a scale records them), the average of the range, and the last weight before and the first after the range. Set includeAll=true for every entry of each day. Weight, muscle mass and bone mass are in grams. The range has no day cap: ask a trend of months in one call.

Inputs: toDate (required), fromDate (required), includeAll.

getYearReviewA

The recap of a calendar year from the local cache: totals (sessions, active days, km, hours, ascent in metres, calories, load), sports, months, the biggest month and week, the best 4 weeks, the most consistent month, streaks, the longest and the biggest session, the progression of the best efforts, weekdays, time of day, and HRV and resting HR by month. Use it for a year in review; for the last weeks, use getDashboardData. year.coverage.missing lists the days that the cache does not have. With a day before today in it, the tool asks the user first, in a form, and only after a yes it fetches the activity list of these days, and of other days that the cache needs (no HRV, no resting HR). fill.asked says what came of it: notNeeded (no day before today is missing), yes, no, unasked (this client has no form), or tooLarge (about estimate requests, over 20: for a year before this year, say to review a newer year first, then this one, which works only in a client with a form). Only yes fetches; fill.error says why a fetch failed. With lastDayOpen true, the last cached day, year.coverage.activities.to, can lack sessions that came after that day's update: say so. When fill.asked is notNeeded and the year is the year of today, say also that a dashboard update adds them. null is n/a, never 0.

Inputs: path, year.

listActivitiesA
Read-only

List the user's Garmin activities (most recent first) as a compact summary: id, name, type, local start time, distance (km), moving duration, average pace, average/max heart rate, cadence, ascent; when Garmin has them: elapsed time (if longer than moving time), race flag, Garmin training load, aerobic/anaerobic training effect and label, seconds in HR zones 1-5, calories, moderate/vigorous intensity minutes, body battery change, steps, swim SWOLF, pool length, lengths and strokes, power, mountain-bike grit and flow, a ride's km/h, ascent per hour and easy (zones 1-2) and hard (zones 4-5) share of the zone time, running form (stride, ground contact, vertical oscillation and ratio), grade-adjusted pace, best efforts (1k, mile, 5k, 10k, half, marathon) and run/walk segments. Dates are yyyy-MM-dd. Set raw=true for Garmin's full JSON. limit is at most 200; names filters the last 200 activities of the date window. Use it to find activity ids and to compare many activities. For the laps, sets or plan of one activity, give its id to getActivityLaps, getActivitySets or getActivityWorkouts.

Inputs: raw, limit, names, endDate, +2 more.

scheduleDashboardRefreshA

Turns on, changes or stops the automatic refresh of a dashboard page. Use it only when the user asks for it or says yes to the question of a dashboard prompt. A job in the scheduler of the computer (launchd, cron or Task Scheduler) replaces the data of the page at the given times, also with no assistant open. The refresh removes the coach notes, because old notes do not agree with new data. The computer must be on at that time. The page must exist and be a dashboard page (writeDashboard first). last is the last automatic run: its time, the pages that it could not update, with the error, and in partial the pages that it updated with gaps. A page shows a note when its update is more than 1 hour late: last tells why. lastOk is the last run that updated every page. cron: convert what the user says, in any language, into a 5-field cron expression in local time: minute hour day-of-month month weekday, numbers only (0 = Sunday), e.g. "0 7 * * 1-5" for weekdays at 7. Two runs must be at least 1 hour apart. The cron is for all scheduled pages; path adds that page (default the main page); off stops the refresh of path, or of every page when no path is given. Without arguments it only reads. The reply has next, the next runs in local time: tell them to the user in their language, so they can check the schedule.

Inputs: off, cron, path.

showDashboardA

Shows the training dashboard in the chat, in assistants that show MCP Apps: the page of path (default /garmin-dashboard.html) with its layout, custom widgets, languages and settings, or the preset page when there is none, with new data of the last weeks weeks. Writes no page file, but updates the data cache and the saved .FIT files as getDashboardData does, and has no coach notes. Returns the page path, the digest of the data and the page settings. Other assistants show only this reply: there, writeDashboard writes the page as a file.

Inputs: path, weeks.

writeDashboardA

Writes the training dashboard page (default /garmin-dashboard.html) with the data of the last weeks weeks (or, with settings.since, from the week of that day: one week more at each update, up to 52), and returns its path and a short digest of the data (totals, weekly sums, load, best efforts, races, long runs, race predictions, strength top sets, readiness, fitness and form, HRV, recovery, fitness age, sync) for the coach notes. Without HRV and sleep data the digest has no readiness: give the verdict as n/a. An existing page keeps all its code, layout and widgets: its data is replaced. A page with different page code gets the page code of the server and keeps its layout and widgets; the result then has page: "upgraded", previousServer (the server version that wrote the page, n/a when unknown) and server. Every page from the template also gets the custom widgets of the widget library (/widgets.json), not placed on a board. On a page from the template, an edited board also gets the widgets that a release adds to its preset, one time; the result lists the ones that the page shows in addedWidgets (board -> widget ids). layout writes a new page from the template: preset (the default widgets) or blank (empty boards). It keeps the languages added with editDashboard languages. page writes your own page code instead; it must contain /* garmin-data:start /null/ garmin-data:end */. A replaced page is kept as .bak. The .bak keeps the page from before the build: a write that follows within 15 minutes (the notes, a new title) does not replace it. notes: at most 5 plain-text coach notes; the server escapes them. settings replace the page's settings (title, headline, sports, data to leave out, languages, themes); without them the page keeps its own. The page holds only the data, languages and themes they keep. pageLanguages in the result lists the languages of the page's Language menu, and settings the settings that the page keeps. offers lists settings that the page has no answer for: ask the user one time, and save true or false with answers, without settings. missingProfileLanguage is the language of the Garmin profile when the page has no texts in it (it shows English); editDashboard languages adds it. missingWidgetTexts lists the custom widgets that miss texts in a language of the page, with those languages; editDashboard widgetTexts adds them. preview: true writes no page file (it updates the data cache, as getDashboardData does): it returns the digest, the activities of each board, the settings of the page and pageFrom (template, or assistant for a designed page, which has no Year tab; not there without a page).

Inputs: page, path, notes, weeks, +4 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 21 tools

    Disambiguation3/5

    The activity and health data tools are mostly distinct, but the dashboard cluster (writeDashboard, getDashboardData, showDashboard, editDashboard) overlaps heavily—all read or update dashboard data/cache and differ mainly by side effects. garminGet also acts as a catch-all, so an agent may hesitate between it and the specific tools.

    Naming Consistency4/5

    Most tools follow a predictable camelCase verb_noun pattern such as getSleep, listActivities, and writeDashboard. Exceptions like garminGet (noun_verb) and inconsistent acronym casing (getHrvRange vs getHeartRateZones) are minor deviations.

    Tool Count3/5

    21 tools is heavy for a personal data server, though many are specialized per data type. The dashboard suite adds several tools whose separate existence is questionable, making the set feel borderline over-scoped.

    Completeness4/5

    Coverage is broad: activities, laps, sets, sleep, HRV, heart rate, Body Battery, weight, fitness age, daily summary, year review, and dashboards. Generic garminGet fills endpoint gaps, though first-class tools for some Garmin metrics are absent.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables reading and analyzing Garmin Connect data—activities, health metrics, FIT files, and challenges—through natural language, for AI assistants like Claude and ChatGPT.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects Garmin Connect to AI assistants, answering questions about training, sleep, HRV and recovery with metrics computed in code rather than guessed from raw JSON. Queries daily readiness, training load, activity FIT analysis and personal records through a self-hosted Cloudflare Worker with OAuth.
      10
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to query a user's own Garmin Connect training, health, and recovery history through Garmin's official Personal API, backed by a local cache and built-in analysis tools.
      21
      74 npm
      2
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to query Garmin training and recovery data—including activities, laps, strength sets, sleep, HRV, stress, and Body Battery—through the official read-only Garmin Connect Personal API. It also enables generating training dashboards and reviewing workouts, recovery, and readiness inside the chat.
      20
      MIT