Garmin Connect Personal API MCP Server
Read-only Garmin Connect data on Garmin's official Personal API: training, sleep, HRV, recovery.
Garmin Connect Personal API scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 27 tools. Filed under Cloud. GitHub shows 0 stars. Package registries report about 67 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
94/100 for listing completeness. Lost points: 1 of 27 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "hannta-garmin-connect-personal-api-mcp": { "command": "npx", "args": [ "-y", "@hannta/garmin-connect-personal-api-mcp@1.1.1" ], "env": { "GARMIN_PERSONAL_API_KEY": "YOUR_GARMIN_PERSONAL_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GARMIN_PERSONAL_API_KEYSecret | Optional | Garmin Connect Personal API key (optional: the auth command saves one instead) |
Tools27Tool docs quality grade D
All capabilitiesOne activity in depth: pace, HR zones, running dynamics, power, training effect, interval totals, strength sets per exercise
One row per lap and interval rep, from the activity's FIT file
One activity's time series (HR, pace, grade-adjusted pace, cadence, power, elevation, …)
The structured workout an activity followed: steps, targets (HR, pace, power) and repeats
Body Battery per day: charged, drained and the sleep / activity events behind it
Resting HR, Body Battery, stress, intensity minutes, steps per day over a date range
garmin_get_daytoolOne day at a glance: sleep, HRV, Body Battery, stress, resting HR, intensity minutes, activities
garmin_get_daystoolThe same over a date range, one row per day, with daily activity totals and training load
Fitness age and its components (resting HR, BMI, vigorous days / minutes)
One day's food log: calories and macros eaten vs. goals, per meal and food
One day's resting / min / max heart rate, optionally averaged per 15 minutes
Heart-rate zones per sport
About
Garmin Connect Personal API MCP
Not affiliated with or endorsed by Garmin. Garmin and Garmin Connect are trademarks of Garmin Ltd.
A read-only MCP server that gives AI assistants your own Garmin Connect training, recovery and health data through the official Garmin Connect Personal API. Run it on your own computer, or host it on your own Cloudflare account to use it from anywhere.
AI agents: to set this up for a user, follow docs/AGENT-SETUP.md.
Setup
You need a Garmin Connect Personal API key, which you create in Garmin Connect on the web.
Run locally
The quickest way, for Claude Code, Claude Desktop, Cursor, VS Code and other clients that run local servers. Needs Node.js 22+.
Paste this into your coding agent:
Connect @hannta/garmin-connect-personal-api-mcp
Or do it yourself: docs/LOCAL.md.
Host on Cloudflare
For Claude on the web and on mobile, and any other client that connects to remote servers with OAuth. The free plan is enough, apart from one known limitation.
-
One click:
-
Manual: follow docs/DEPLOY.md.
Then connect your MCP client, such as Claude, ChatGPT, Cursor or VS Code.
Tools
| Tool | What it returns |
|---|---|
garmin_get_day | One day at a glance: sleep, HRV, Body Battery, stress, resting HR, intensity minutes, activities |
garmin_get_days | The same over a date range, one row per day, with daily activity totals and training load |
garmin_search_activities | Activities in a date range with Garmin IDs and fastest splits, or totals per week |
garmin_get_activity | One activity in depth: pace, HR zones, running dynamics, power, training effect, interval totals, strength sets per exercise |
garmin_get_activity_streams | One activity's time series (HR, pace, grade-adjusted pace, cadence, power, elevation, …) |
garmin_get_activity_laps | One row per lap and interval rep, from the activity's FIT file |
garmin_get_sleep | One night's sleep in detail: score components with optimal ranges, sleep need and why it changed, naps |
garmin_get_sleep_summaries | Sleep per night over a date range |
garmin_get_hrv | One night's HRV with baseline, status and overnight readings |
garmin_get_hrv_summaries | HRV per night over a date range |
garmin_get_daily_summaries | Resting HR, Body Battery, stress, intensity minutes, steps per day over a date range |
garmin_get_weight | Weigh-ins and body composition over a date range |
garmin_get_profile | Profile settings and heart-rate zones |
garmin_get_body_battery | Body Battery per day: charged, drained and the sleep / activity events behind it |
garmin_get_stress | Stress per day: average level and minutes at rest / low / medium / high |
garmin_get_steps | Steps per day with goal and distance |
garmin_get_heart_rate | One day's resting / min / max heart rate, optionally averaged per 15 minutes |
garmin_get_spo2 | One day's blood oxygen (Pulse Ox), optionally hourly with altitude |
garmin_get_fitness_age | Fitness age and its components (resting HR, BMI, vigorous days / minutes) |
garmin_get_heart_rate_zones | Heart-rate zones per sport |
garmin_get_weight_goals | Weight goals in effect (target kg) |
garmin_get_activity_workouts | The structured workout an activity followed: steps, targets (HR, pace, power) and repeats |
garmin_get_hydration | Hydration per day: intake, goal, sweat loss (ml) |
garmin_get_food_log | One day's food log: calories and macros eaten vs. goals, per meal and food |
garmin_get_wellness_activities | Wellness sessions (e.g. Health Snapshot, breathwork) with HR, stress, HRV, SpO2 |
garmin_get_menstrual_cycle | Cycle day, period and fertile window, predictions and cycle analysis |
garmin_get_menstrual_day | One day's logged flow, symptoms and moods, with that day's cycle summary |
Good to know
- Range tools default to the last 7 days. If a range is too long for one Garmin request, the error says the maximum and the assistant splits it into several calls.
- Output is metric, with the unit in every field name. Dates are
YYYY-MM-DDin your time zone; sleep and HRV are keyed by the wake-up date. - Location, sexual activity and sex drive data are never returned.
- Known limitation:
garmin_get_activity_lapscan fail on long activities on the Cloudflare free plan. See Known limitations.
Development
Requires Node.js 24+.
npm install
cp .dev.vars.example .dev.vars # then add GARMIN_API_KEY and OWNER_PASSPHRASE
npm run check # typecheck, lint, format check, tests
npm run today # print today's recovery data using your key
npm run dev # MCP server at http://localhost:8787/mcp
npm run build # local server in dist/cli.mjs
To try the local server, connect the
MCP Inspector to it and sign in with
OWNER_PASSPHRASE.
Architecture and conventions: docs/DEVELOPMENT.md.
License
Frequently asked questions
What is Garmin Connect Personal API MCP Server?
Read-only Garmin Connect data on Garmin's official Personal API: training, sleep, HRV, recovery.
How do I install Garmin Connect Personal API MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Garmin Connect Personal API MCP Server runs locally from the npm package @hannta/garmin-connect-personal-api-mcp with the command npx -y @hannta/garmin-connect-personal-api-mcp@1.1.1.
Is Garmin Connect Personal API MCP Server free and open source?
Yes. Garmin Connect Personal API MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Garmin Connect Personal API MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Garmin Connect Personal API MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Garmin Connect Personal API MCP Server provide?
Garmin Connect Personal API MCP Server provides 27 tools, including garmin_get_activity, garmin_get_activity_laps, garmin_get_activity_streams, and garmin_get_activity_workouts. See the full tool list for descriptions and parameters.
How is Garmin Connect Personal API MCP Server's trust score calculated?
Garmin Connect Personal API MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.