garmin-mcp
Provides integration with Garmin Connect, enabling access to activities, health and wellness data, training and performance metrics, workouts and builders, nutrition, challenges, devices, gear, weight and body data, women's health, courses, FIT-file analysis, and user profile information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@garmin-mcpShow my latest activity summary"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
garmin-mcp
Remote MCP server for Garmin Connect on Cloudflare Workers (free tier). Full TypeScript port of
taxuspt/garmin_mcp: all 138 tools plus a garmin_get
passthrough (139 total) and the 5 workout template/reference MCP resources.
Modules: activity management (21), health & wellness (29), training & performance (15), workouts + builders (19), nutrition (14), challenges/devices/gear (18), weight/body/women's health/courses (14), FIT-file analysis (4), user profile (4), passthrough (1).
Auth: the server is an OAuth 2.1 authorization server (via @cloudflare/workers-oauth-provider).
Adding it to an MCP client opens a browser page where you enter your Garmin email and password
(and an MFA code if your account uses 2FA). The Worker runs Garmin's SSO web-widget login flow
server-side — the one login path that isn't bot-blocked from datacenter IPs — obtains a
long-lived (~1 year) OAuth1 token, discards your credentials, and stores only that token
encrypted in the grant. It then mints short-lived OAuth2 bearers on demand for
connectapi.garmin.com. A "paste a token" fallback (via the local script below) is tucked
behind a details toggle in case Garmin ever starts blocking server-side login.
Deploy
npm installnpx wrangler kv namespace create OAUTH_KV— paste the id intowrangler.jsoncnpx wrangler deploy
Related MCP server: Garmin Open MCP
Connect a client
claude mcp add garmin --transport http https://garmin-mcp.<your-subdomain>.workers.dev/mcpClaude Code opens the authorization page in your browser; follow its two steps. claude.ai web:
Settings → Connectors → Add custom connector with the same URL. Claude Desktop and other
stdio-only clients: mcp-remote handles the OAuth flow too.
Access is OAuth-only — there is no raw-header path. Every /mcp request is gated on a
provider-issued access token, and an access token is minted only by completing the login flow.
Locking to your own account
Set OWNER_GARMIN_IDS in wrangler.jsonc to your Garmin displayName (the value
get_user_profile returns) — a comma-separated allowlist. Any login for a Garmin account not on
the list is rejected at the authorize step, so strangers can't use your deployment even with
their own valid Garmin credentials. Leave it empty to allow any Garmin account.
Deviations from the original (remote/serverless adaptations)
download_activity_filereturns file content inline (fit as base64, gpx/tcx/csv as text, size-capped) instead of writing to local disk;set_fit_download_diris a documented no-op.upload_coursetakesgpx_content(GPX XML text) instead of a local file path.get_activity_fit_datacovers session/laps/records + power analysis (NP, VI, power curve, W/kg); the original's Di2 shift, climb-detection, and HRV analytics are not ported.Free-tier subrequest budget (~50/invocation):
get_training_load_trendcapped at 45 days (was 90),get_power_duration_curveat 15 activities (was 20),get_hrv_trenduses the range endpoint in one call, goal/step/menstrual pagination loops capped.Tools return JSON objects rather than pre-serialized strings; errors surface as MCP tool errors.
Notes
The Garmin token is stored encrypted inside the grant in Workers KV; when it expires (~1 year), tool calls start failing — reauthenticate the server in your client to run the flow again.
Access tokens are bearer credentials: whoever holds a valid one has your data until it expires, so the security rests on your MCP client keeping its stored token secret.
Local dev:
npm run dev, then point a client athttp://localhost:8787/mcp.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenancePersonal MCP server for interacting with your Garmin Connect data. Exposes 62 tools across 11 domains including activities, health, training, and workouts.1MIT
- AlicenseAqualityBmaintenanceUnofficial MCP server bridging Garmin Connect to MCP clients and ChatGPT, providing tools to access health data, activities, and trends via a self-hosted API.11MIT
- AlicenseAqualityBmaintenanceMCP server for reading and querying Garmin Connect data, including activities, strength history, recovery, trends, and optionally creating workouts.12MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Garmin Connect that enables users to access and manage their personal health and fitness data, including daily summaries, heart rate, sleep, HRV, stress, body composition, activities, and training readiness, with secure per-user authentication.Apache 2.0
Related MCP Connectors
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Hosted remote MCP server for YNAB on Cloudflare Workers with OAuth
Garmin data in Claude: 135 tools — activities, sleep, HRV, training, workouts. Free, open source.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rohankmr414/garmin-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server