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 分