Garmin MCP Server
Click on "Deploy 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 MCP ServerCheck my Garmin connection and summarize my recent running and recovery context."
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 server
A local, read-only MCP server that lets Claude Desktop retrieve data from an approved Garmin Connect Developer Program project. Claude can use the returned activities and recovery metrics to create or adjust a running plan.
What it exposes
garmin_connection_status— authorized user and granted permissionsgarmin_get_data— one Garmin summary category for a recent upload windowgarmin_get_training_context— activities, daily health, sleep, HRV, stress, and fitness metrics in one call
The server does not generate a plan itself. It gives Claude the source data; Claude performs the analysis and plan customization.
Related MCP server: garmin-connect-mcp-server
Prerequisites
Node.js 20 or newer
An approved Garmin Connect Developer Program application
OAuth 2.0 + PKCE enabled for that application
Ping/Pull access and the summary feeds you want enabled in Garmin's portal
Garmin's Health API is a partner API, not a public personal-account API. A normal Garmin username and password are not API credentials.
Install and authorize
npm install
cp .env.example .envPut the client ID and client secret from Garmin in .env. Register this exact
redirect URI in Garmin's developer portal:
http://127.0.0.1:8787/callbackThen authorize your Garmin account and build the server:
npm run auth
npm run buildAuthorization writes .garmin-tokens.json with owner-only file permissions.
Both that file and .env are excluded from Git.
Garmin may assign environment-specific URLs to an evaluation project. If its
portal documentation gives you different authorization, token, or API URLs,
set the corresponding overrides in .env.
Add it to Claude Desktop
Open Claude Desktop → Settings → Developer → Edit Config, then add:
{
"mcpServers": {
"garmin": {
"command": "node",
"args": [
"/Users/abhilashaarohi/Projects/garmin-mcp-server/dist/index.js"
],
"cwd": "/Users/abhilashaarohi/Projects/garmin-mcp-server"
}
}
}If your config already contains other servers, add only the garmin entry
inside its existing mcpServers object. Fully restart Claude Desktop, then ask:
Check my Garmin connection and summarize my recent running and recovery context. Before creating a plan, ask for my race distance, race date, weekly availability, current weekly mileage, injury history, and preferred long-run day. Use conservative progression and explain any recovery concerns.
Test without Claude
npm run inspectThe MCP Inspector lets you call each tool and view its raw result.
Garmin data limitations
Garmin's Health API query windows are based on upload time, not activity date. Each API request can cover at most 24 hours, so this server splits larger requests automatically.
Garmin retains uploaded summaries for only seven days. This local version can retrieve recent uploads but cannot provide reliable long-term history unless it is run regularly. A production version should:
expose a public HTTPS webhook for Garmin Ping or Push notifications;
fetch each notification immediately;
upsert updates into a database by Garmin summary ID and start time; and
have MCP tools query that database.
Garmin's developer portal can initiate backfills for older history. Backfill results are asynchronous and must also be captured through Ping or Push.
Privacy and safety
Keep
.envand.garmin-tokens.jsonprivate.The tools are read-only and do not upload workouts to Garmin.
Treat an AI-generated running plan as general training guidance, not medical advice. Pain, illness, abnormal cardiovascular symptoms, or injury requires appropriate professional advice.
This server cannot be deployed
Maintenance
Related MCP Connectors
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Garmin data in Claude: 135 tools — activities, sleep, HRV, training, workouts. Free, open source.
Pace is a remote MCP server that exposes wearable and fitness data to Claude via the Model Context Protocol. It connects to Garmin, Oura, Whoop, Polar, Fitbit and 20+ devices and provides 15 tools for querying sleep, activity, recovery, and training data. Hosted on Google Cloud Run, OAuth 2.1 authentication, Streamable HTTP transport. Instructions: First you need to create an account at: https://pacetraining.co and connect your wearables. After that you can connect the remote Server via Custom Connector in Claude and OAuth 2.1 Flow startet.
Connect Claude to your Intervals.icu watch data for fitness, workout review, and plan writing.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server that connects Garmin Connect data to Claude, enabling training analysis, recovery checks, and personalized plans based on real metrics like HRV, training load, and activities.18MIT
- AlicenseAqualityBmaintenanceA read-only MCP server that gives Claude Desktop access to your Garmin Connect data — daily health metrics, sleep, activities, training status, and body composition.6MIT
- AlicenseAqualityBmaintenanceLocal MCP server that connects Claude Desktop with Garmin and Apple Health data to read training and recovery, estimate heart rate and pace zones, analyze performance, and create structured workouts.22MIT
- AlicenseNot gradedqualityBmaintenanceA local, read-only MCP server that gives Claude access to your Garmin health and training data, exposing tools for health snapshots, training status, run details, body metrics, and training analysis.MIT