Garmin MCP Server
Exposes Garmin Connect wellness and recovery metrics to MCP-compatible AI assistants for workload planning.
README
Garmin MCP Server
Garmin MCP Server exposes Garmin Connect wellness and recovery metrics to MCP-compatible AI assistants. It helps agents incorporate sleep, recovery, and training context when planning work.
Capabilities
- Fetch daily wellbeing snapshots from Garmin Connect
- Summarize sleep, Body Battery, HRV, stress, Training Readiness, and training status
- Recommend an appropriate workload level from current recovery signals
- Provide a guardrail tool for assistants before accepting heavy workloads
- Cache Garmin session tokens locally to avoid repeated logins
MCP Tools
| Tool | Description |
|---|---|
garmin_wellbeing_snapshot |
Returns a concise daily snapshot with recovery metrics and workload recommendation. |
garmin_workload_guard |
Evaluates a proposed workload against current Garmin recovery signals. |
garmin_sleep_summary |
Returns focused sleep and recovery context for a given date. |
MCP Resource
| Resource | Description |
|---|---|
garmin://wellbeing/today |
Today's wellbeing snapshot as JSON. |
MCP Prompt
| Prompt | Description |
|---|---|
garmin_workload_guardrails |
Instructions for using Garmin context during workload planning. |
Installation
npm install
npm run build
Run the interactive login:
npm run login
The login command prompts for your Garmin email and password, authenticates once, and writes reusable session tokens to .garmin-tokens. Your password is not written to disk.
Create a local environment file only if you want to customize settings:
Copy-Item .env.example .env
Example .env:
GARMIN_TOKEN_DIR=.garmin-tokens
GARMIN_IS_CN=false
You can also set GARMIN_EMAIL and GARMIN_PASSWORD in .env for non-interactive environments, but the recommended local setup is npm run login.
Claude Desktop Configuration
Add the server to your Claude Desktop MCP configuration:
{
"mcpServers": {
"garmin": {
"command": "node",
"args": ["C:\\Users\\joao.siqueira\\Documents\\garmin-mcp-server\\dist\\index.js"],
"env": {
"GARMIN_TOKEN_DIR": "C:\\Users\\joao.siqueira\\Documents\\garmin-mcp-server\\.garmin-tokens"
}
}
}
}
You can also place GARMIN_EMAIL and GARMIN_PASSWORD in the env block instead of using .env.
Recommended Agent Guidance
Use Garmin context as part of planning, especially when I propose a heavy workload, late-day push, risky refactor, production change, or many tickets in one day.
Before agreeing to heavy work, call garmin_workload_guard or garmin_wellbeing_snapshot.
If sleep, Body Battery, HRV, stress, or Training Readiness are poor, push back concretely: reduce ticket count, split the work, defer risky items, and create a stopping point.
Do not moralize or diagnose health. Treat the metrics as planning context, not medical advice.
If Garmin data is unavailable, say that plainly and fall back to normal workload planning.
Development
npm run dev
npm run login
npm run typecheck
npm run build
Security
- Do not commit
.envor token cache directories. - Prefer token reuse over repeated credential logins.
- Treat all Garmin data as private health-related context.
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.