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 整合