Garmin MCP Server
Provides access to Garmin Connect data including daily health metrics, activity tracking, real-time GPS via LiveTrack, and training readiness through 12 tools.
README
๐ 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.py
Server 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).
๐ ๏ธ Tools (12 total)
| # | Tool | Description |
|---|---|---|
| 1 | garmin_get_daily_summary |
Steps, HR, stress, calories, sleep, distance |
| 2 | garmin_get_heart_rate |
Resting/max HR + time-series timeline |
| 3 | garmin_get_steps |
15-min interval step breakdown |
| 4 | garmin_get_sleep |
Deep/light/REM/awake stages + score |
| 5 | garmin_get_stress |
Avg/max stress + ASCII chart |
| 6 | garmin_get_body_battery |
Energy levels over 1โ7 day range |
| 7 | garmin_list_activities |
Recent activities with IDs for drill-down |
| 8 | garmin_get_activity_details |
Full activity stats + lap splits |
| 9 | garmin_get_gps_track |
GPS coordinates from recorded activity |
| 10 | garmin_get_livetrack |
Real-time position via LiveTrack polling |
| 11 | garmin_get_hrv |
HRV last-night + weekly average |
| 12 | garmin_get_training_readiness |
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:8422
Or 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-login - Garmin 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.