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

已验证STDIO仅桌面位置与生活数据与分析

概览

AI 生成的概览

让助手通过本地服务器读取你的 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 的网络连接。
安装前请注意
使用的是非官方的 Garmin Connect 个人令牌方式,并非官方 Garmin API 合作,若 Garmin 更改私有认证或接口可能失效。登录时会提示输入 Garmin 密码,但不会保存,只有令牌会持久化在 GARMIN_TOKEN_PATH。反复登录失败可能触发限流或 Cloudflare 验证,应停止重试。它不是医疗设备,也不提供医疗建议。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Garminmcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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.

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.

bash
npx -y garmin-mcp-unofficial setup            # writes local confignpx -y garmin-mcp-unofficial auth             # built-in login, prompts for credentials locally (no Python needed)npx -y garmin-mcp-unofficial doctor           # verifies you're ready

HTTP (v2 stateless)

Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:

bash
npx -y garmin-mcp-unofficial --http# GET  http://127.0.0.1:3000/health# POST http://127.0.0.1:3000/mcp   (sessionless)

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:

json
{  "mcpServers": {    "garmin": {      "command": "npx",      "args": ["-y", "garmin-mcp-unofficial"]    }  }}

Try it with your agent

text
Use garmin_connection_status to check setup, then run garmin_daily_summary.Give me a 5-line operating brief for today.
text
Call garmin_weekly_summary with response_format=json. Identify my biggestrecovery/sleep/stress bottleneck and give me a next-week plan.
text
Use the garmin_intraday_investigation prompt for date=today, focus=stress.Don't claim Garmin can prove anything it can't.

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_MODE defaults to summary (more conservative than other Delx Wellness connectors) because the auth model is unofficial.
  • In structured mode, 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.json with 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_CACHE has 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:

bash
npx -y delx-living-body demo

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

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:

bash
npx -y garmin-mcp-unofficial call garmin_connection_status --json '{}'

Copy skill/SKILL.md into your agent skills dir.

来源:README.md,提交 123c5a1

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.5.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Garminmcp 集成