Local-first MCP server that connects AI agents to your Garmin sleep, HRV, Body Battery, stress, training readiness and activities.
Unofficial project. Not affiliated with, endorsed by or supported by Garmin. This is not official Garmin Health API partnership access — it uses the unofficial Garmin Connect personal-token mode.
Built by David Mosiah for people who use Claude, Cursor, Hermes, OpenClaw or other MCP-compatible agents to think about training, sleep and recovery — without copy-pasting numbers from the Garmin Connect app.
Part of Delx Wellness, a registry of local-first wellness MCP connectors.
If this connector helps your agent workflow, please star the repo. Stars make the project easier for other AI builders to discover and help Delx keep shipping local-first wellness infrastructure.
Garmin produces some of the best processed wellness signals — sleep stages, HRV status, Body Battery, stress, training readiness, training status, intensity minutes — but its official Garmin Health API is partner-licensed and not self-serve for individuals.
This package gives individual Garmin users a practical bridge: it logs into Garmin Connect with your own credentials locally (never sent to any agent), keeps tokens on your machine, and exposes Garmin signals through the Model Context Protocol. Your password never reaches the MCP — only short-lived Garmin Connect tokens are stored.
No Garmin developer app is required. setup only writes local MCP configuration; it does not ask for your Garmin password.
npx -y garmin-mcp-unofficial setup # writes local config
npx -y garmin-mcp-unofficial auth --install-helper # installs Garmin login helper, prompts for credentials locally
npx -y garmin-mcp-unofficial doctor # verifies you're readyOr one shot:
npx -y garmin-mcp-unofficial setup --authThe auth helper prompts locally for Garmin email, password and MFA when needed. The MCP does not store your Garmin password — only Garmin Connect tokens, saved at ~/.garmin-mcp/garmin_tokens.json with user-only permissions.
If macOS/Homebrew Python blocks helper installs, --install-helper falls back to an isolated virtualenv under ~/.garmin-mcp/venv instead of asking you to debug Python packaging.
Then add this to your MCP client config:
{
"mcpServers": {
"garmin": {
"command": "npx",
"args": ["-y", "garmin-mcp-unofficial"]
}
}
}Three things to ask first:
Use garmin_connection_status to check setup, then run garmin_daily_summary.
Give me a 5-line operating brief for today.
Call garmin_weekly_summary with response_format=json. Identify my biggest
recovery/sleep/stress bottleneck and give me a next-week plan.
Use the garmin_intraday_investigation prompt for date=today, focus=stress.
Don't claim Garmin can prove anything it can't.
This package reads processed Garmin Connect data via the unofficial personal-token mode. When this README says raw, it means upstream Garmin Connect JSON — not raw accelerometer / gyroscope / continuous device telemetry.
| Data | Available | Notes |
|---|---|---|
| Sleep duration + stages + score | ✓ | When the device/account supports it |
| HRV status + overnight HRV | ✓ | When supported by device/account |
| Body Battery (daily + events) | ✓ | Charge/drain reports |
| Stress samples + daily summary | ✓ | Per-day stress context |
| Training readiness + training status | ✓ | When supported by device/account |
| Daily movement (steps, calories, distance, floors, intensity minutes) | ✓ | Standard wellness signals |
| Heart rate (resting + daily samples) | ✓ | Per-day samples and resting HR |
| Activities + details + splits + zones | ✓ | Recent activities and detail payloads |
| Body composition / weight + hydration | ✓ | When logged |
| Continuous device telemetry / accelerometer / gyroscope | — | Not exposed by Garmin Connect web endpoints |
Garmin can change private auth or endpoints at any time. Failures should be treated as integration drift, not user error.
Start with these:
garmin_connection_status— verify local setup before calling Garmin Connectgarmin_daily_summary— daily readiness, sleep, load, action candidatesgarmin_weekly_summary— scorecard, bottlenecks, next-week plan
Auth & diagnostics
garmin_capabilities,garmin_agent_manifest,garmin_auth_instructions,garmin_privacy_audit
Profile & devices
garmin_get_profile,garmin_get_user_settingsgarmin_list_devices,garmin_get_primary_training_device
Daily wellness signals (each takes a date)
garmin_get_daily_summary,garmin_get_steps_daygarmin_get_sleep_day,garmin_get_heart_day,garmin_get_hrv_daygarmin_get_stress_day,garmin_get_body_battery_day,garmin_get_body_battery_eventsgarmin_get_training_readiness_day,garmin_get_training_status_daygarmin_get_respiration_day,garmin_get_spo2_daygarmin_get_intensity_minutes_day,garmin_get_hydration_day
Activities
garmin_list_activities,garmin_get_activity_details
Body & weight
garmin_get_weight_range
garmin_daily_checkin— practical daily health and training check-ingarmin_weekly_review— review trends across activity, sleep, stress, Body Battery, heartgarmin_intraday_investigation— investigate one day's signals (heart, stress, Body Battery, activity)
garmin://capabilities,garmin://agent-manifestgarmin://summary/daily,garmin://summary/weekly
- Garmin Connect tokens are stored at
~/.garmin-mcp/garmin_tokens.jsonwith user-only permissions and are never returned by tools. - Your Garmin password is never stored — only short-lived Garmin Connect tokens persist locally.
GARMIN_PRIVACY_MODEdefaults tosummary(more conservative than other Delx Wellness connectors) because the auth model is unofficial.- Local cache is opt-in via
GARMIN_CACHE=sqlite. - The MCP client never sees Garmin credentials or tokens.
- This is not medical advice. The server exposes user-authorized data for personal AI workflows, not diagnosis or treatment.
GARMIN_TOKEN_PATH=~/.garmin-mcp/garmin_tokens.json
GARMIN_PRIVACY_MODE=summary # summary | structured | raw
GARMIN_CACHE=sqlite # optional read-through cache
GARMIN_CACHE_PATH=~/.garmin-mcp/cache.sqlite
GARMIN_DOMAIN=garmin.com # or garmin.cn for China accountsnpx -y garmin-mcp-unofficial setup --client hermes
npx -y garmin-mcp-unofficial auth --install-helper
npx -y garmin-mcp-unofficial doctor --client hermes
hermes mcp test garminAfter Hermes config changes, use /reload-mcp or hermes mcp test garmin. Don't restart the gateway for normal data access.
Paste this into your agent when you want it to install the bridge for you:
Install the unofficial Garmin MCP server for me.
Repository: https://github.com/davidmosiah/garminmcp
Run setup, then auth --install-helper, then doctor.
If this is Hermes, use setup --client hermes and reload MCP with /reload-mcp or hermes mcp test garmin.
Never ask me to paste Garmin passwords, tokens or raw private payloads into chat.
Start with garmin_connection_status, then garmin_daily_summary.
This is not medical advice.
- Node.js 20+
- A Garmin Connect account with active devices
- Python 3 available locally (used by the auth helper; an isolated venv is created if needed)
git clone https://github.com/davidmosiah/garminmcp.git
cd garminmcp
npm install
npm test
npm run buildTest with MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.js- npm: https://www.npmjs.com/package/garmin-mcp-unofficial
- Docs site: https://wellness.delx.ai/connectors/garmin
- Legacy docs: https://garminconnectmcp.vercel.app/
- GitHub: https://github.com/davidmosiah/garminmcp
- Delx Wellness registry: https://github.com/davidmosiah/delx-wellness
- Connector quality standard: https://github.com/davidmosiah/delx-wellness/blob/main/docs/connector-quality-standard.md
- Garmin Health API program (official, partner-licensed): https://developer.garmin.com/gc-developer-program/health-api/
MIT — see LICENSE.
This software is provided as-is. It is not a medical device, does not provide medical advice, and should not be used for diagnosis or treatment. The unofficial Garmin Connect mode can break if Garmin changes private auth or endpoints. Always consult qualified professionals for medical concerns.