Whoop

io.github.shashankswe2020-ux由 GitHub 帳號 shashankswe2020-ux 發布v0.5.2更新於 Oct 24, 2026

MCP server for WHOOP health data — recovery, sleep, workouts, cycles, and trends.

已驗證STDIO僅桌面位置與生活資料與分析

概覽

AI 產生的概覽

唯讀的 WHOOP MCP 伺服器,讓助理查詢你的恢復、睡眠、訓練、週期與趨勢資料,並提供 HYROX 與鐵人三項分析。

可以做什麼
  • 查詢今日恢復、睡眠、負荷與最近一次訓練,並標示資料缺口
  • 查看個人基準、睡眠負債、趨勢、期間比較與每週摘要
  • 讀取恢復、睡眠、訓練與週期紀錄,以及個人資料和身體測量
  • 分析 HYROX 與鐵人三項訓練、比賽準備度,並稽核或複核助理提供的數字
  • 在本機記錄比賽成績、標註訓練,並開啟本機效能儀表板
適用情境
適合擁有 WHOOP 會員、希望讓助理彙整健康與訓練資料、與自身基準比較不同期間,或檢視 HYROX 與鐵人三項表現而不必自行匯出資料的使用者。
執行需求
透過 npm 套件 whoop-ai-mcp 以 stdio 在本機執行,需要 Node.js 20 以上版本(或使用需 Rust 1.88+ 的 Rust 版本)。需要有效的 WHOOP 會員資格,以及在 WHOOP 開發者平台建立、回呼網址為 的開發者應用程式,並設定 WHOOP_CLIENT_ID 與 WHOOP_CLIENT_SECRET。首次啟動會在瀏覽器開啟 WHOOP 授權頁面。僅支援桌面版助理。
安裝前請注意
需要提供 WHOOP 開發者應用程式的用戶端 ID 與密鑰(WHOOP_CLIENT_ID、WHOOP_CLIENT_SECRET)。健康資料會傳送給你所使用的助理服務供應商,與在該對話中分享的其他內容相同;彙總模式可減少但無法匿名化資料。比賽紀錄、訓練修正與儀表板僅在本機執行,寫入本機檔案並保留稽核紀錄。選用遙測預設關閉。統計結果不構成醫療診斷。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Whoop,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[WHOOP MCP. Your WHOOP data, a conversation away. Asking 'How am I doing today?' calls the get_today, get_baselines and get_sleep_debt tools.]

[Latest npm version] [Monthly npm downloads] [Total npm downloads] [GitHub stars] [MIT license] [Buy me a coffee to support whoop-ai-mcp]

whoop-ai-mcp is a read-only WHOOP MCP server for Claude, Gemini CLI, Cursor, VS Code, OpenClaw, Perplexity on macOS, and other MCP clients. Ask about your recovery, compare weeks of sleep, or check today against your own baseline, without exporting the data yourself. ChatGPT, Claude web/mobile, and the Grok xAI API require a remote deployment; see the client setup guide.

bash
npx -y whoop-ai-mcp@latest setup --client=claude-desktop

Quickstart | Watch the walkthrough | Website | Tool reference

[Report an issue] [Request a feature]

[WHOOP MCP in Claude Desktop: a weekly health review with recovery, HRV, sleep and workout summaries]
Claude Desktop builds the review; whoop-ai-mcp supplies the data. Your results and layout will differ.

Ask your WHOOP data anything

AskYou get
"How am I doing today?"Recovery, primary sleep, strain and your latest workout, with gaps flagged where data is missing
"Is my HRV unusual for me?"Your personal baseline: distribution, percentiles and how many days it's based on
"How did my sleep change this month?"Trends, period-to-period comparisons, sleep debt and consistency
"Give me my weekly health review."Recovery, sleep and training in one summary

Statistics describe your recorded history. They aren't medical diagnoses or predictions.

Quickstart

You need: Node.js 20 or later, an active WHOOP membership, and a WHOOP Developer App with the redirect URL http://localhost:3000/callback.

  1. Set up. Run the command for your assistant and enter your developer app's client ID and secret when asked.

    AssistantCommand
    Claude Desktopnpx -y whoop-ai-mcp@latest setup --client=claude-desktop
    Claude Codenpx -y whoop-ai-mcp@latest setup --client=claude-code
    Codexnpx -y whoop-ai-mcp@latest setup --client=codex
    GitHub Copilotnpx -y whoop-ai-mcp@latest setup --client=copilot
    Gemini CLInpx -y whoop-ai-mcp@latest setup --client=gemini-cli
    Cursornpx -y whoop-ai-mcp@latest setup --client=cursor
    VS Codenpx -y whoop-ai-mcp@latest setup --client=vscode
    OpenClawnpx -y whoop-ai-mcp@latest setup --client=openclaw
    Perplexity (macOS app + helper)npx -y whoop-ai-mcp@latest setup --client=perplexity

    For Claude Code, Codex and VS Code/Copilot, run the registration command that setup prints. For Gemini CLI, Cursor and OpenClaw, merge the printed config; for Perplexity, paste the printed launch command into its local connector. Nothing is installed globally, and optional usage telemetry defaults to No.

    These targets, including the claude alias for Desktop, require 1.1.0 or later. For a source build, use node dist/index.js setup --client=<target>.

  2. Authorize. Fully quit and reopen your assistant. The first time the server starts, WHOOP opens in your browser so you can approve access.

  3. Ask. Try "Summarize my sleep and recovery this week."

Need manual configuration, environment variables or a remote deployment? See the full setup guide.

Claude web/mobile and ChatGPT quick setup

Run setup --client=claude-web or setup --client=chatgpt with either implementation to print remote deployment and connector instructions. These are guidance-only targets, not one-click hosting: provide a public HTTPS /mcp endpoint, complete WHOOP authorization on the host, and configure compatible connector OAuth. Availability depends on the client account/workspace. setup --client=grok prints an xAI API MCP tool example; consumer Grok chat integration is not verified. No remote credentials are collected and no client connection is tested.

Prefer a native binary?

The Rust implementation offers the same client targets and limitations without a Node.js runtime for the server. It needs Rust 1.88 or later:

bash
cargo install whoop-mcpwhoop-mcp setup --client=claude-desktop

The additional Rust targets require 0.2.0 or later. For a source build, use cargo run -- setup --client=<target> in the Rust checkout.

How it works

[Your WHOOP account grants read-only access to whoop-ai-mcp, which runs on your computer with 16 read-only tools and no hosted relay. It sends tool results to your AI assistant: Claude Desktop, Claude Code, Codex or GitHub Copilot.]
  • Read-only. The server has no tools that create, change or delete anything in your WHOOP account. Race results and workout corrections are saved only to local files, with an audit log.
  • Local by default. The server runs on your machine. No hosted relay is involved.
  • Your assistant sees the results. Health data reaches the assistant provider you use, the same as anything else you share in that chat.
  • Aggregate mode limits the server to five summary tools and hides per-record data. It reduces what's shared, but it isn't anonymization.
  • Telemetry is off unless you opt in. It never includes health data or chat text.

Details: data handling and telemetry controls.

What's included

In standard mode, the server provides 16 read-only tools, 4 resources and 5 prompt templates, plus 9 HYROX and triathlon tools. Support for resources, prompts and remote connections depends on your assistant.

HYROX and triathlon tracking

Ask "How did yesterday's HYROX sim go?" or "Am I ready for my triathlon in two weeks?" The race tools:

  • Rebuild a HYROX session from WHOOP's back-to-back workouts: segment timeline, transition time, time in zone and rule-based insights.
  • Track weekly running and HYROX load, swim/bike/run balance and bricks, plus logged races with station and leg splits and PRs.
  • Give a readiness band from recovery, training form, specificity, sleep debt and taper. Every component shows its evidence; there's no opaque score.
  • Let you audit the numbers: suspect workouts are flagged, you can relabel or exclude workouts, every change is logged, and verify_claim recomputes a number your assistant told you.
  • Open a chart-first local dashboard (open_performance_dashboard) on 127.0.0.1 with Today, Session, Training, HYROX, Triathlon, Readiness and Audit views. Dark/light themes, local fonts, and review-before-save controls are included.

[Chart-first Session view: nine recorded run and erg segments, an average and peak heart-rate profile, run-by-run build and recorded-segment ring. Synthetic sample data.]

Screenshots use synthetic sample data.

New in 1.0.2: the chart-first dashboard

Ask your assistant to "Open my performance dashboard" to launch it locally. The design from the latest main-branch redesign is now part of the working dashboard, not just a prototype. Dark is the default, with a Light/Dark toggle that preserves unsaved forms. Session remains the default view.

  • Today: recovery ring and five weeks of recovery, HRV, resting HR and sleep stages on one timeline with a shared crosshair. Missing days remain gaps; historical bands describe your visible data, not medical norms.
  • Training: WHOOP zone minutes by UTC week, including empty weeks, workout strain/duration bubbles and fitness/fatigue/form charts. Local corrections apply.
  • Session and Readiness: recorded-segment and five-component rings, summary HR charts and evidence. No invented continuous HR traces or HYROX station splits.
  • Review before saving. Inspect workout corrections and race results, then edit, cancel or confirm. Failed saves preserve your entries.
  • Keep your context. Filters survive switching views; last-7-day and last-28-day presets use completed UTC days.
  • Refresh honestly. Refresh and retry controls report when a view loaded, not when WHOOP synced. Reads may use cached data.

[Dark chart-first Today dashboard: recovery ring and shared-timeline recovery, HRV, resting heart rate and sleep-stage charts, with gaps and historical bands. Synthetic sample data.]
Today view with synthetic sample data. WHOOP recovery is not a race-readiness verdict; local workout corrections apply to race views, not this overview.

[Training dashboard showing weekly recorded WHOOP zone minutes, strain and duration workout bubbles, and fitness, fatigue and form. Synthetic sample data.]

The race log, workout corrections and dashboard are available only when the server runs locally (stdio). Details: race performance tools and local data.

See all tools and prompts
GroupTools
Today and baselinesget_today, get_baselines, get_sleep_debt
Trends and reviewsget_weekly_summary, get_trend, compare_periods, get_calendar
Recordsget_recovery_collection, get_sleep_collection, get_workout_collection, get_cycle_collection, get_sleep_by_id, get_workout_by_id, get_cycle_by_id
Profileget_profile, get_body_measurement
HYROX and triathlonget_hyrox_session_report, get_hyrox_performance, get_triathlon_performance, get_race_readiness, audit_performance_data, verify_claim
Local only: race log, corrections, dashboardlog_race_result, annotate_workout, open_performance_dashboard

Prompt templates: weekly_health_review, sleep_analysis, recovery_trend, workout_recap, health_check

Parameters, date expressions, resources and caching are in the tool reference.

Documentation

GuideWhat's in it
InstallationAssistants, manual configuration, environment variables and WHOOP authorization
Tool referenceEvery tool and its parameters, date expressions, resources, prompts and caching
PrivacyStructured results, aggregate mode and what your assistant provider receives
TelemetryConsent, opting out, what's collected and how long it's kept
TroubleshootingLocal diagnostics, common errors and MCP Inspector
DeploymentDocker, cloud hosting and remote connector OAuth
DevelopmentTests, project structure and release workflow
BackgroundEcosystem research and the video walkthrough

What changed recently? See the changelog or the latest release.

Feedback and contributing

[Report a bug]  [Request a feature]

Something not working, or a question you wish you could ask? Use the buttons above. Each opens a short form that asks for the details needed to help. Issues are public, so never include credentials or health records; security problems go through the security policy instead.

Want to contribute code? Read the contributing guide. Everyone taking part follows the Code of Conduct.

If whoop-ai-mcp is useful to you, a GitHub star helps other people find it, and you can buy me a coffee to support development.

Project growth

[WHOOP MCP GitHub star history chart]

[WHOOP MCP cumulative npm downloads since April 11, 2026]
Downloads include automated installs and may not represent unique users.

License

MIT. This is an unofficial project and isn't affiliated with WHOOP. A WHOOP membership and API access are separate from this package.

來源:README.md,提交 00210f0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分