原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

WHOOP Health Signals

作者:Yadheedhya06版本 0.2.2i★ –i在你的电脑上运行
注册名称io.github.Yadheedhya06/mcp-server-whoop

安装

概览

作者提供的说明(英文原文)

Local-first, read-only WHOOP MCP server for recovery, sleep, strain, workouts, and body signals

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 诊所与健康

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "whoop": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-whoop"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add whoop -- npx -y mcp-server-whoop

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "whoop": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-whoop"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "whoop": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-whoop"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Yadheedhya06 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“诊所与健康”中的其他服务器比较i

  • 星标数多于此分类中其他 1027 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1027 个服务器的 22% 更新
  • 基础检查结果等于或优于此分类中其他 1027 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

WHOOP Health Signals 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.2)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Mirobody, FHIR MCP Server, Google Health MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Mirobody

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

作者:thetahealth正在增长↓ 290/周★ 1408昨天更新

在你的电脑上运行✓ thetahealth.ai

FHIR MCP Server

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

作者:wso2正在增长↓ 823/周★ 13710天前更新

在你的电脑上运行

Google Health MCP

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

作者:davidmosiah正在增长↓ 1024/周★ 794个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

mcp-server-whoop

A local-first, read-only Model Context Protocol server for WHOOP. It gives MCP-compatible AI clients compact recovery, sleep, strain, HRV, heart-rate, workout, and body-measurement signals without sending your WHOOP credentials through a hosted third party.

Why this server

  • Standard MCP over stdio, usable by any client that supports local MCP servers
  • Local WHOOP OAuth flow with each user's own WHOOP developer application
  • Access and rotating refresh tokens remain on the user's machine
  • Five focused read-only tools instead of a noisy API dump
  • Per-record local timestamps, so travel does not shift sleep or workout dates
  • Explicit processing status, with no older recovery substituted while a new sleep is pending
  • Score-derived metrics appear only for SCORED records; live current-cycle strain is labeled provisional_strain
  • Human-scale hours, minutes, calories, and heart-rate-zone minutes
  • No raw identifiers, OAuth secrets, or raw continuous heart-rate claims in tool output
  • No hosted relay, telemetry, database, generic HTTP tool, raw SQL, or install lifecycle scripts
  • Reproducible tarball security audit, CycloneDX SBOM, CodeQL, Gitleaks, dependency review, and OpenSSF Scorecard

This is an independent community project. It is not affiliated with or endorsed by WHOOP. WHOOP data is useful coaching context, not medical advice.

Requirements

Quick start

  1. Create a WHOOP developer application and register http://127.0.0.1:8765/callback.
  2. Enable the five read scopes and offline listed below.
  3. Run npx -y mcp-server-whoop@0.2.2 auth in a terminal and approve WHOOP access.
  4. Run npx -y mcp-server-whoop@0.2.2 status to confirm the local grant exists.
  5. Add the stdio command npx -y mcp-server-whoop@0.2.2 to your AI client's MCP configuration.
  6. Restart or reload the client, then ask: Use WHOOP to summarize my recovery and sleep from the last 7 days.

The authorization command and the AI client must run as the same operating-system user, or both must set WHOOP_CREDENTIALS_FILE to the same private file. The package never asks you to paste WHOOP tokens into an AI conversation.

The documentation pins an exact reviewed version by default. Use @latest only if you explicitly want your client to follow future releases without reviewing them first.

1. Create your WHOOP application

Create an application in the WHOOP Developer Dashboard and register this exact redirect URL:

http://127.0.0.1:8765/callback

Enable these scopes:

offline

read:recovery read:cycles read:sleep read:workout read:body_measurement

offline is required because WHOOP access tokens expire and WHOOP rotates refresh tokens.

2. Authorize locally

Run:

npx -y mcp-server-whoop@0.2.2 auth

The command prompts for your WHOOP client ID and masks the client secret, opens WHOOP consent in your browser, validates the OAuth state, and saves the resulting grant locally.

Credentials are stored at:

~/.config/mcp-server-whoop/credentials.json

On Linux and macOS, every path ancestor is checked before use, the direct directory is current-user-owned with mode 0700, and the file is a single-link current-user-owned regular file with mode 0600. Override the path with WHOOP_CREDENTIALS_FILE only when every ancestor is trusted and is not a symlink.

Persistent OAuth credentials intentionally fail closed on native Windows. Node.js file modes do not enforce private Windows ACLs, and its standard file APIs cannot guarantee reparse-safe credential writes. Native Windows users can provide a short-lived WHOOP_ACCESS_TOKEN through the MCP process environment, but automatic authorization and refresh-token persistence require WSL, Linux, or macOS until a native credential backend is available.

For headless environments, provide WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET, and optionally WHOOP_REDIRECT_URI as environment variables before running auth.

The OAuth callback still needs to reach the machine running auth. When authorizing over SSH, create a loopback tunnel from your workstation first:

ssh -L 8765:127.0.0.1:8765 user@your-server

Then run auth in that SSH session and open its printed WHOOP URL in your workstation browser. Do not pass the client secret as a command-line argument because shell history and process listings may expose it.

Check setup without displaying secrets:

npx -y mcp-server-whoop@0.2.2 status

Remove the local grant:

npx -y mcp-server-whoop@0.2.2 logout

Revoking access in WHOOP account settings is also recommended when you no longer use an integration.

3. Add it to an AI client

Claude Desktop

Add this under mcpServers in Claude Desktop's configuration, then fully restart Claude Desktop:

{

"mcpServers": { "whoop": { "command": "npx", "args": ["-y", "mcp-server-whoop@0.2.2"] } } }

Claude Code
claude mcp add --transport stdio whoop -- npx -y mcp-server-whoop@0.2.2
Cursor, Windsurf, Gemini Code Assist, and other mcpServers clients

Add the server to the client's MCP JSON. Gemini Code Assist uses ~/.gemini/settings.json; other clients choose their own settings path.

{

"mcpServers": { "whoop": { "command": "npx", "args": ["-y", "mcp-server-whoop@0.2.2"] } } }

VS Code

Create .vscode/mcp.json for a project, or use VS Code's MCP: Add Server command:

{

"servers": { "whoop": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-server-whoop@0.2.2"] } } }

Codex

Either run:

codex mcp add whoop -- npx -y mcp-server-whoop@0.2.2

Or add this to ~/.codex/config.toml:

[mcp_servers.whoop]

command = "npx" args = ["-y", "mcp-server-whoop@0.2.2"]

ChatGPT

Local Codex and ChatGPT desktop clients that support stdio can use the Codex configuration above. ChatGPT web does not launch a command on your computer; it requires a separately secured remote bridge or tunnel and a workspace plugin. This repository intentionally does not ship or operate a public health-data relay.

Client menus and configuration paths change over time. If a client supports standard local stdio MCP, the portable values are always:

command: npx

arguments: -y mcp-server-whoop@0.2.2

Confirm the connection

After restarting the client, confirm that it discovers exactly these five tools:

whoop_latest_overview

whoop_recovery_history whoop_sleep_history whoop_cycle_strain_history whoop_workout_history

Useful prompts:

  • Use WHOOP to review today's recovery, latest sleep, current strain, and latest workout.
  • Compare my recovery, HRV, and resting heart rate over the last 14 days.
  • Show my last 7 days of sleep, including naps, and flag anything still processing.
  • Summarize my workout strain and heart-rate zones for the last 30 days.
  • Use WHOOP as context for today's training, but do not treat it as medical advice.

The model decides when to call tools, so explicitly say Use WHOOP when you want live data rather than a general answer.

Tools

ToolPurpose
whoop_latest_overviewCurrent coaching snapshot with pending-data safeguards
whoop_recovery_historyRecovery, HRV, resting HR, SpO2, and skin-temperature trends
whoop_sleep_historyPrimary sleep and optional naps, stages, need, quality, and timing
whoop_cycle_strain_historyDaily strain, calories, and average/max heart rate
whoop_workout_historySport, duration, strain, HR, calories, distance, and zone minutes

All tools are marked read-only, non-destructive, and idempotent.

Why deliberately only five tools?

For a health-data MCP, a larger tool count also means a larger capability surface. This server keeps authentication outside the agent and gives the model only the five health-reading capabilities it needs.

It intentionally has:

  • no WHOOP write, revoke, token-management, or authorization-code tools
  • no profile/email/name scope
  • no raw-record, raw-ID, arbitrary endpoint, SQL, file, or shell tool
  • no hosted OAuth relay, telemetry service, health-data cache, or database
  • no stale-recovery fallback when the newest sleep is still processing

The goal is not maximum WHOOP API coverage. It is the smallest practical authority boundary for recovery-aware AI.

Data semantics

WHOOP returns absolute timestamps plus a timezone_offset on sleep, cycle, and workout records. This server applies each record's own offset and returns only already-converted local timestamps such as:

2026-07-07 18:02:22 +04:00

It does not apply the machine's current timezone to historical records.

WHOOP exposes activity type and workout sport, but its public API does not indicate whether a workout was auto-detected or manually started. This server does not guess.

When the newest primary sleep is still PENDING_SCORE, the latest overview returns:

{

"status": { "state": "waiting_for_whoop", "current_recovery_available": false }, "recovery": null }

An older recovery is never presented as current.

Environment variables

VariablePurpose
WHOOP_CLIENT_IDWHOOP OAuth client ID
WHOOP_CLIENT_SECRETWHOOP OAuth client secret
WHOOP_REDIRECT_URIOAuth callback, defaults to http://127.0.0.1:8765/callback
WHOOP_CREDENTIALS_FILEOverride local credential-file path
WHOOP_ACCESS_TOKENOptional short-lived access-token override
WHOOP_REFRESH_TOKENOptional refresh-token override
WHOOP_TOKEN_EXPIRES_ATOptional ISO token-expiry override

Client configuration from WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET, and WHOOP_REDIRECT_URI overrides file values. Token environment variables can bootstrap a headless setup, but once a refresh token rotates, the newer token persisted in the credential file takes precedence. Do not put secrets directly in command-line arguments or commit them to source control.

Troubleshooting

Missing WHOOP ...

Run npx -y mcp-server-whoop@0.2.2 status as the same OS user that launches the AI client. If the credentials are elsewhere, set WHOOP_CREDENTIALS_FILE in the client's MCP environment.

WHOOP reports a redirect mismatch

The redirect in the Developer Dashboard and the value used by this package must match exactly. The default is http://127.0.0.1:8765/callback, including scheme, host, port, and path.

The browser does not open

Copy the authorization URL printed in the terminal and open it manually. The callback listener expires after five minutes; rerun auth if needed.

Port 8765 is already in use

Register another loopback URL such as http://127.0.0.1:9876/callback, set WHOOP_REDIRECT_URI to that exact value, and rerun auth.

Recovery is null

Check the returned status.state. If it is waiting_for_whoop or waiting_for_recovery, WHOOP has not finished sc

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx