Garmin MCP Server
Provides tools to retrieve daily summaries, heart rate, steps, sleep, stress, body battery, activities, activity details, GPS tracks, LiveTrack real-time positions, HRV, and training readiness from Garmin Connect.
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 ServerShow my daily summary for today."
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
OpenClaw Platform ยท Port 8422
FastMCP server for Garmin Connect โ live GPS tracking, health metrics, and activity data for AI agents.
โก Quick Start
# 1. Clone / enter project
cd garmin-mcp
# 2. Install dependencies
pip install -r requirements.txt
# 3. Configure credentials
cp .env.example .env
# Edit .env โ set GARMIN_EMAIL and GARMIN_PASSWORD
# 4. Run server
python server.pyServer starts at: http://localhost:8422
First run logs into Garmin Connect and caches the session token at ~/.garmin_mcp_tokens.
Subsequent runs reuse the cached token (no re-login needed).
Related MCP server: garmin-mcp-triathlon
๐ ๏ธ Tools (12 total)
# | Tool | Description |
1 |
| Steps, HR, stress, calories, sleep, distance |
2 |
| Resting/max HR + time-series timeline |
3 |
| 15-min interval step breakdown |
4 |
| Deep/light/REM/awake stages + score |
5 |
| Avg/max stress + ASCII chart |
6 |
| Energy levels over 1โ7 day range |
7 |
| Recent activities with IDs for drill-down |
8 |
| Full activity stats + lap splits |
9 |
| GPS coordinates from recorded activity |
10 |
| Real-time position via LiveTrack polling |
11 |
| HRV last-night + weekly average |
12 |
| Today's readiness score + factors |
๐ก LiveTrack Real-time GPS
On your Garmin device โ start activity โ enable LiveTrack
Garmin sends a share URL to your contacts, e.g.:
https://livetrack.garmin.com/session/abc123.../token/xyz...Extract the session token (between
/session/and/token/)Call
garmin_get_livetrackwith that token โ positions update ~every 4 seconds
๐ OpenClaw Integration
Add to your OpenClaw config:
skills:
- name: garmin-health
transport: streamable-http
url: http://localhost:8422Or connect via MCP protocol URL in Claude Desktop:
http://localhost:8422/sse๐ Auth Notes
Uses the unofficial
garminconnectPython library (no Garmin Developer Program approval needed)Tokens cached at
~/.garmin_mcp_tokensโ delete this file to force re-loginGarmin may prompt for 2FA on first login in some regions
Rate limiting: avoid calling more than ~100 times/hour to prevent IP blocks
๐ Project Structure
garmin-mcp/
โโโ server.py # FastMCP server (12 tools)
โโโ garmin_client.py # Auth + session wrapper
โโโ models.py # Pydantic v2 input models
โโโ utils.py # Markdown/JSON formatters
โโโ requirements.txt
โโโ .env.example
โโโ README.md๐ Response Formats
All tools support response_format:
"markdown"(default) โ human-readable tables, great for chat UIs"json"โ raw Garmin API data, great for downstream processing
Built for the Dr. Arty+ Team ยท OpenClaw Platform ยท 2026
This server cannot be deployed
Maintenance
Related MCP Connectors
AI coach for Garmin: builds training plans and structured workouts, synced straight to your watch.
Garmin data in Claude: 135 tools โ activities, sleep, HRV, training, workouts. Free, open source.
- freddyOAuthcoach.freddy
Connect your wearables, rings and training apps, then ask your AI about your own health data.
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Related MCP Servers
- FlicenseBqualityDmaintenanceIntegrates with Garmin Connect to retrieve activity data, health metrics, and provide AI-powered training insights and personalized coaching recommendations based on your fitness activities and performance trends.14-
- AlicenseNot gradedqualityCmaintenanceEnables triathlon coaches and athletes to interact with Garmin Connect, including retrieving health/activity data, building and uploading structured workouts (cycling, running, swimming, brick), and accessing coaching analytics like readiness, load, and performance trends.MIT
- AlicenseBqualityBmaintenanceConnects to Garmin Connect and exposes fitness and health data via 110+ tools for activities, health metrics, workouts, training analytics, and more to MCP-compatible clients.138MIT
- AlicenseCqualityCmaintenanceEnables users to access and analyze Garmin China fitness and health data, including activities, recovery, trends, and weather heat stress, through 55 tools.55MIT