
Garminmcp
io.github.davidmosiah由 GitHub 账号 davidmosiah 发布v0.5.3更新于 Oct 24, 2026
Privacy-first unofficial Garmin Connect MCP for AI health, sleep, activity & recovery agents.
发布方自己的服务:Garmin MCP
概览
让助手通过本地服务器读取你的 Garmin Connect 健康数据,如身体电量、睡眠、HRV、压力、活动和训练准备度。
- 可以做什么
- 这是一个非官方的本地 MCP 服务器,把助手连接到你的 Garmin Connect 账户。它提供 garmin_connection_status、garmin_daily_summary、garmin_weekly_summary 等工具,以及按天的信号(睡眠、HRV、压力、身体电量、训练准备度、心率、血氧、呼吸、强度分钟、补水)、活动、个人资料、设备和体重,还包含提示词和资源。隐私模式控制返回数据的详细程度,也可选择启用本地 SQLite 缓存。
- 适用场景
- 适合让助手汇总你的 Garmin 恢复、睡眠和训练数据,生成每日或每周简报,或分析某一天的压力与准备度。面向个人健康与训练场景,不用于临床或诊断用途。
- 运行要求
- 通过 npm 包 garmin-mcp-unofficial 在本地以 stdio(或可选的本地回环 HTTP)运行,需要 Node.js。需先运行 auth 命令,按提示用 Garmin 邮箱、密码和 MFA 登录,之后令牌保存在本地。可选环境变量包括 GARMIN_TOKEN_PATH、GARMIN_PRIVACY_MODE、GARMIN_CACHE、GARMIN_CACHE_PATH、GARMIN_NO_CACHE 和 GARMIN_DOMAIN。需要访问 Garmin Connect 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Garminmcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Upgrading to 0.8.0: read the migration guide for local-only HTTP, disabled authenticated-response caching, and stricter input/profile limits.
Garmin MCP
Give your AI agent your Garmin Body Battery, training readiness, sleep, HRV and activities.
Local-first MCP server — tokens never leave your machine.
[npm version] [GitHub release] [npm downloads] [License MIT] [Site]
[GitHub stars] [Built for MCP] [Verified release index] [Hermes one-command setup] [Garmin]
⚡ One-command install with Delx Wellness for Hermes:
npx -y delx-wellness-hermes setup— preconfigures this connector and the full Delx Wellness stack in a dedicated Hermes profile.Or wire it standalone into Claude Desktop / Cursor / ChatGPT Desktop — see the install section below. Runnable examples live in the Delx Wellness hub.
Public proof: Garmin MCP is tracked in the Delx Open Source Growth Snapshot alongside downloads, stars and next-action priorities. If it saves you Garmin Connect and MCP setup time, star this repo so other training-focused agent builders can find it faster.
First useful prompt:
Use garmin_connection_status, then garmin_daily_summary, then give me a 5-line operating brief for today.
Garmin MCP
Give your AI agent your Garmin Body Battery, training readiness, sleep, HRV and activities — local-first, tokens never leave your machine.
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.
- Install one connector —
npx -y garmin-mcp-unofficial setup - Run it in Claude · Cursor · ChatGPT · Hermes · OpenClaw — runnable examples
- Local-first — your Garmin tokens never leave the machine (privacy)
- Which connector should I use? — pick one in the Delx Wellness front door
Part of Delx Wellness, a registry of local-first wellness MCP connectors.
[Garmin MCP local-first agent workflow demo]
Quickstart in 60 seconds
No Garmin developer app is required. setup only writes local MCP configuration; it does not ask for your Garmin password.
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
Env: GARMIN_MCP_HOST, GARMIN_MCP_PORT, GARMIN_MCP_TRANSPORT=http.
Or one shot: npx -y garmin-mcp-unofficial setup --auth
auth runs a self-contained Node login and 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. See the auth quickstart walkthrough for real terminal output, or docs/quickstart.md for the full flow.
If Garmin returns HTTP 429, a Cloudflare challenge, or an auth message that says Garmin SSO omitted responseStatus.type, stop retrying for a while. Repeated headless login attempts can make the private endpoint throttle harder. Use docs/auth.md for the safe recovery path.
Then add this to your MCP client config:
Try it with your agent
Tools
Start with garmin_connection_status, then garmin_daily_summary (daily readiness, sleep, load) or garmin_weekly_summary (scorecard, bottlenecks, next-week plan). The server also exposes per-day signals (sleep, HRV, stress, Body Battery, training readiness, heart rate, SpO2, respiration, intensity minutes, hydration), activities, profile/devices and weight, plus prompts and resources.
See docs/tools.md for the full tool list, prompts, resources, data-availability matrix, configuration, Hermes setup and development notes.
Privacy & what runs offline
GARMIN_PRIVACY_MODEdefaults tosummary(more conservative than other Delx Wellness connectors) because the auth model is unofficial.- In
structuredmode, normalized aliases are additive: complete upstream Garmin fields and nested DTOs remain available after secret/GPS redaction. - Activity date ranges preserve the supplied calendar date and reject invalid values before contacting Garmin Connect.
- 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 tokens persist locally. - The MCP client never sees Garmin credentials or tokens. Authenticated Garmin responses are never cached;
GARMIN_CACHEhas no effect. - This is not medical advice. The server exposes user-authorized data for personal AI workflows, not diagnosis or treatment.
See docs/privacy.md for the full privacy model.
See the full agent demo →
Want to see a connector like this drive a real end-to-end decision? The shared, reproducible proof lives in delx-living-body:
It answers the anchor question — "Should I train hard today?" — by combining recovery, sleep and training-load signals across the Delx Wellness connectors.
See also
The full Delx Wellness connector library:
One-command setup for Hermes — preconfigures every connector above plus wellness skills + onboarding: delx-wellness-hermes.
Related local-first health MCP
Peer (not a Delx package): mi-fitness-data-bridge by Kindred / @shkyyy18 — Xiaomi Mi Fitness, local-first, shares the agent-safe-series/v1 dense series envelope (duration-anchored coverage, hard max_points, full-res stats, no GPS in series tools). Design log: #19 · parity notes: docs/agent-safe-series-kindred.md.
📧 Contact & Support
- 📨 [email protected] — general questions, integration help, partnerships
- 🐛 Bug reports / feature requests — GitHub Issues
- 🐦 Updates — @delx369 on X
- 🌐 Site — wellness.delx.ai
License
MIT — see LICENSE. Code of Conduct.
Disclaimer
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.
Daily brief demo: docs/daily-brief-demo.md
Skill or MCP
Same package, two doors. MCP registers tools on stdio/HTTP. The skill can drive the same tools through the CLI when the client has no MCP:
Copy skill/SKILL.md into your agent skills dir.
来源:README.md,提交 123c5a1
工具
0版本历史
1- v0.5.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分