Garmin Connect MCP
Exposes personal Garmin Connect data to MCP-capable clients like Claude and Gemini. Enables querying daily stats, heart rate, sleep, activities, and managing workouts.
README
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 .env
Edit .env with GARMIN_EMAIL and GARMIN_PASSWORD.
Run once from a terminal to create or refresh saved Garmin tokens:
.venv/bin/garminconnect-mcp login
If 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.
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 src
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.