Garmin Connect MCP
Exposes personal Garmin Connect data, providing tools for retrieving profile, daily stats, heart rate, sleep, HRV, body battery, stress, activities, and workouts.
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 Connect MCPshow my daily stats 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 Connect MCP
An MCP server that exposes your personal Garmin Connect data to MCP-capable clients — Claude Desktop, Claude Code, Codex, and Gemini CLI.
The Garmin work is done by the python-garminconnect library; this repo is the thin MCP layer on top: tool definitions, a stdio server, and privacy guardrails that keep raw health payloads out of durable text. Because python-garminconnect relies on Garmin Connect's unofficial client behavior, it can break if Garmin changes login or endpoint behavior.
Setup
cd /path/to/garminconnect-mcp
python3 -m venv .venv
.venv/bin/python -m pip install -e .
cp .env.example .envEdit .env with GARMIN_EMAIL and GARMIN_PASSWORD.
Run once from a terminal to create or refresh saved Garmin tokens:
.venv/bin/garminconnect-mcp loginIf Garmin asks for MFA, the login command prompts for the code in the terminal.
For non-interactive use, set GARMIN_MFA_CODE temporarily.
The MCP server runs over stdio. Configure Codex with this command:
{
"mcpServers": {
"garmin": {
"command": "/path/to/garminconnect-mcp/.venv/bin/garminconnect-mcp"
}
}
}Claude config files are included too:
.mcp.jsonfor project-scoped Claude Code use.docs/claude_desktop_config.jsonfor Claude Desktop.docs/claude.mdfor setup and verification steps.
Gemini CLI config files are included too:
.gemini/settings.jsonfor project-scoped Gemini CLI use.docs/gemini_settings.jsonfor user-scoped Gemini CLI config.docs/gemini.mdfor setup and verification steps.
Related MCP server: Garmin Connect MCP Server
Tools
Connection-only tools:
garmin_connection_statusgarmin_ping
Raw private Garmin data tools:
garmin_profilegarmin_daily_statsgarmin_heart_rategarmin_sleepgarmin_hrvgarmin_body_batterygarmin_stressgarmin_recent_activitiesgarmin_activity
Summarized workout tools:
garmin_workoutsgarmin_scheduled_workoutsgarmin_schedule_workoutgarmin_create_scheduled_workoutgarmin_unschedule_workout
Dates use YYYY-MM-DD. If omitted, tools default to today.
Use garmin_connection_status or garmin_ping for smoke tests. They validate
login without returning profile, health, or account data.
This is a personal local MCP server, and the raw tools intentionally return full Garmin payloads. Avoid pasting those raw responses into docs, examples, issues, or other durable text unless you have sanitized them.
Workout tools return summarized fields instead of raw Garmin payloads. To create
and schedule a new workout, pass Garmin Connect workout JSON to
garmin_create_scheduled_workout; to schedule an existing template, use
garmin_schedule_workout with its workout ID.
Development
scripts/check-private-output.sh
.venv/bin/python -m pytest
.venv/bin/python -m ruff check .
.venv/bin/python -m ruff format --check .
.venv/bin/python -m compileall srcMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/LePomas/garminconnect-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server