whoop-mcp
Read-only access to your WHOOP data — recovery, HRV, sleep, strain, workouts, trends, and profile — exposed as MCP tools you can query in natural language.
get_profile — name, email, height, weight, max heart rate.
get_daily_overview — a single day's recovery (score, HRV, resting HR, SpO2, skin temp), last night's sleep, naps, strain, calories, and workouts; defaults to the latest day.
get_trends — day-by-day table plus avg/min/max over 1–90 days for recovery, HRV, resting HR, strain, calories, sleep hours and sleep performance, plus recovery-zone counts and workouts per day.
list_cycles / get_cycle — physiological days with strain, calories, average/max heart rate and steps; a single cycle also returns its recovery and main sleep.
list_recoveries — recovery %, HRV (RMSSD), resting heart rate, SpO2, skin temperature, most recent first.
list_sleeps / get_sleep — performance, efficiency, consistency, stage breakdown (light/deep/REM/awake), disturbances, respiratory rate and sleep need, with an
include_napstoggle.list_workouts / get_workout — sport, duration, strain, heart rate, calories, distance, altitude gain and time in each heart-rate zone, filterable by sport name.
Query controls —
start/endor adaysshortcut,limitup to 200 with automatic pagination,next_token, andraw: truefor WHOOP's original API objects.Safety — every tool is read-only, non-destructive and idempotent; no way to modify or delete WHOOP data.
WHOOP MCP Server (read-only)
Ask Claude, Cursor, VS Code or any MCP client about your WHOOP recovery, HRV, sleep, strain and workouts, without giving it any way to change your data.
"How did I sleep last night, and why is my recovery only 41% today?" "Compare my HRV and resting heart rate over the last 30 days." "How many runs did I do this month, and what was my average strain?" "Do I recover worse after days with strain above 15?"
(Run the one-time auth step before or after installing.)
Why this server
Read-only, enforced. It requests only WHOOP's
read:*scopes. The HTTP client can only sendGET, a test fails the build otherwise, and every tool carriesreadOnlyHint: true.Answers whole questions in one call.
get_daily_overviewreturns a day's recovery, sleep, naps, strain and workouts together.get_trendsreturns averages, ranges and recovery zones over up to 90 days.Model-friendly output. It returns compact JSON with hours, km, kcal and local times instead of milliseconds and kilojoules, which saves tokens and avoids conversion mistakes. Pass
raw: truefor WHOOP's original objects.Your tokens stay on your machine. Your own WHOOP developer app, a
0600token file, and safe handling of WHOOP's rotating refresh tokens. No third-party servers.Current API. It's built on the WHOOP Developer API v2.
Tested. Unit, MCP integration, end-to-end and packaging tests run on Linux, macOS and Windows with Node 20, 22 and 24.
Related MCP server: whoop-ai-mcp
Quick start
You need Node.js 20.11+ and a WHOOP membership.
1. Create a WHOOP developer app (2 minutes)
Open the WHOOP Developer Dashboard and create a team if prompted.
Scopes: select all the
read:*scopes (recovery, cycles, workout, sleep, profile, body measurement).Redirect URI:
http://localhost:8787/callback
Copy the Client ID and Client Secret.
2. Connect your WHOOP account
npx -y @oryanomer/whoop-mcp authPaste your Client ID and Client Secret when asked. The secret isn't echoed, so it stays out of your screen and shell history. Your browser then opens WHOOP's consent page. When you approve, the tokens are saved to ~/.config/whoop-mcp/tokens.json and refreshed automatically from then on.
(For scripts, you can set WHOOP_CLIENT_ID and WHOOP_CLIENT_SECRET in the environment instead of answering the prompts.)
By connecting, you agree to the Terms of Use (EULA) and to WHOOP's API Terms of Use. See the Privacy Policy for how your data is handled.
3. Add it to your MCP client
As a plugin (recommended). Adds the server plus a /whoop:auth skill that walks you through connecting:
/plugin marketplace add oryanomer1/whoop-mcp
/plugin install whoop@whoop-mcpOr just the MCP server:
claude mcp add whoop --scope user -- npx -y @oryanomer/whoop-mcpUse one or the other, not both, or you'll see every tool twice.
One click: download whoop-mcp-<version>.mcpb from the latest release and double-click it (or drag it onto Claude Desktop's Settings → Extensions page).
Or by hand: open Settings → Developer → Edit Config, and add:
{
"mcpServers": {
"whoop": {
"command": "npx",
"args": ["-y", "@oryanomer/whoop-mcp"]
}
}
}Restart Claude Desktop. On Windows, if the server doesn't start, use "command": "cmd" and "args": ["/c", "npx", "-y", "@oryanomer/whoop-mcp"].
Click the Install in Cursor button above, or add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"whoop": {
"command": "npx",
"args": ["-y", "@oryanomer/whoop-mcp"]
}
}
}Click the Install in VS Code button above, or add this to .vscode/mcp.json (or your user mcp.json):
{
"servers": {
"whoop": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@oryanomer/whoop-mcp"]
}
}
}Add this to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"whoop": {
"command": "npx",
"args": ["-y", "@oryanomer/whoop-mcp"]
}
}
}Add this to ~/.codex/config.toml:
[mcp_servers.whoop]
command = "npx"
args = ["-y", "@oryanomer/whoop-mcp"]Run auth on the host first (step 2), then mount the token directory:
docker build -t whoop-mcp https://github.com/oryanomer1/whoop-mcp.git
docker run -i --rm -v ~/.config/whoop-mcp:/home/node/.config/whoop-mcp whoop-mcpUse the docker run command as the stdio command in your MCP client.
Run npx -y @oryanomer/whoop-mcp as a stdio server. No environment variables are needed: the client ID and secret are stored with your tokens during auth.
Then ask: "Give me my WHOOP overview for today."
Tools
Tool | What it returns |
| One day's recovery, sleep, naps, strain, calories and workouts (defaults to today) |
| Day-by-day table plus avg/min/max for recovery, HRV, resting HR, strain, sleep and more, over 1–90 days |
| Name, email, height, weight, max heart rate |
| Physiological days: strain, calories, average/max heart rate, steps |
| Recovery %, HRV (RMSSD), resting heart rate, SpO2, skin temperature |
| Sleep performance, efficiency, consistency, stages, disturbances, respiratory rate, sleep need |
| Sport, duration, strain, heart rate, calories, distance, time in heart-rate zones (filterable by sport) |
List tools accept start / end (YYYY-MM-DD or ISO date-time), a days shortcut, limit (up to 200, with automatic pagination) and next_token. See the tool reference for every parameter and example outputs.
Configuration
Variable | Default | Purpose |
| from token file | Your app's client ID ( |
| from token file | Your app's client secret ( |
|
| Must exactly match a redirect URI registered on your app |
|
| Where credentials are stored. Must be absolute ( |
whoop-mcp Start the MCP server on stdio (what your MCP client runs)
whoop-mcp auth Connect your WHOOP account (opens your browser)
whoop-mcp status Check the stored connection
whoop-mcp logout Delete the locally stored tokens
whoop-mcp --versionAll commands run via npx -y @oryanomer/whoop-mcp <command>, or install globally with npm install -g @oryanomer/whoop-mcp.
Privacy and security
Read the full Privacy Policy. In short:
whoop-mcp talks only to
api.prod.whoop.com. There is no telemetry and no intermediary server.Tokens and your client secret live in one file that only your user can read (
0600). They are never logged or returned by tools.Your MCP client sends tool results to its language model. Health data you ask about is shared with that model provider under its terms, so use a client and provider you trust.
To disconnect, run
whoop-mcp logoutto delete the local tokens. To revoke access completely, delete the app or rotate its secret in the WHOOP Developer Dashboard.
The full threat model is in SECURITY.md. Please report vulnerabilities privately through GitHub security advisories.
How authentication works
WHOOP access tokens last one hour. whoop-mcp refreshes them about a minute before they expire, and again if WHOOP returns a 401.
WHOOP issues a new refresh token on every refresh and rejects concurrent refreshes. whoop-mcp refreshes one request at a time, takes a lock file so several clients on one machine (e.g. Claude Desktop and Claude Code) never refresh at once, and writes new tokens atomically. If a write fails, the new tokens stay in memory, so a full disk can't log you out.
Rate limits (429), WHOOP server errors, timeouts (30s per request) and network errors are retried with backoff, honouring
Retry-After. Cancelling a request in your client stops its WHOOP calls.
Troubleshooting
Symptom | Fix |
WHOOP's sign-in page shows | Your browser has too many |
WHOOP shows an error about the redirect URI | The redirect URI on your WHOOP app must match |
| Register another URI on your app (e.g. |
Tool error | Run the |
Tool error | Run |
Tool error | Enable all |
Values missing, | WHOOP hasn't finished scoring that sleep, recovery or workout. Ask again later. |
The server doesn't appear in the client | Run |
Check the connection at any time:
npx -y @oryanomer/whoop-mcp statusUninstall
npx -y @oryanomer/whoop-mcp logoutThen remove the whoop entry from your MCP client's config, and delete the app in the WHOOP Developer Dashboard if you no longer need it.
Contributing
Issues and pull requests are welcome; see CONTRIBUTING.md. The one hard rule: whoop-mcp stays read-only. Release notes are in CHANGELOG.md.
Legal
License: MIT © Oryan Omer
Terms of use (EULA): EULA.md. By installing or using whoop-mcp you agree to these terms.
Privacy policy: PRIVACY.md
Security policy: SECURITY.md
This is an unofficial project, not affiliated with or endorsed by WHOOP, Inc. "WHOOP" is a trademark of WHOOP, Inc. Nothing here is medical advice.
Available Tools
10 toolsget_cycleGet cycleBRead-onlyIdempotent
One physiological cycle by id, together with its recovery and main sleep.
Inputs: cycle_id (required), raw.
get_daily_overviewDaily overviewARead-onlyIdempotent
Everything for one WHOOP day: recovery (score, HRV, resting HR, SpO2, skin temp), last night's sleep, naps, day strain and calories, and workouts. Omit date for the current/latest day.
Inputs: date.
get_profileGet WHOOP profileARead-onlyIdempotent
The user's WHOOP profile (name, email) and body measurements (height, weight, max heart rate).
Inputs: no named parameters.
get_sleepGet sleepCRead-onlyIdempotent
One sleep or nap by id.
Inputs: sleep_id (required), raw.
get_trendsTrendsBRead-onlyIdempotent
Day-by-day table and averages (avg/min/max) over the last N days for recovery, HRV, resting HR, strain, calories, sleep hours and sleep performance, plus recovery zone counts and workouts per day.
Inputs: days.
get_workoutGet workoutCRead-onlyIdempotent
One workout by id.
Inputs: workout_id (required), raw.
list_cyclesList cycles (day strain)ARead-onlyIdempotent
Physiological cycles (WHOOP days) with day strain, calories, average/max heart rate and steps, most recent first.
Inputs: end, raw, days, limit, +2 more.
list_recoveriesList recoveriesARead-onlyIdempotent
Daily recovery scores with HRV (RMSSD), resting heart rate, SpO2 and skin temperature, most recent first.
Inputs: end, raw, days, limit, +2 more.
list_sleepsList sleepsARead-onlyIdempotent
Sleeps and naps with performance, efficiency, consistency, stage breakdown (light/deep/REM/awake), disturbances, respiratory rate and sleep need, most recent first.
Inputs: end, raw, days, limit, +3 more.
list_workoutsList workoutsBRead-onlyIdempotent
Workouts with sport, duration, strain, heart rate, calories, distance, altitude gain and time in each heart-rate zone, most recent first.
Inputs: end, raw, days, limit, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Tools are mostly distinct: get_daily_overview aggregates one day, get_trends aggregates N days, list_* tools retrieve by data type, and get_* tools retrieve by id. There is slight overlap between get_daily_overview and combining list_cycles/list_recoveries/list_sleeps/list_workouts, but descriptions clarify intended use.
Consistent verb_noun pattern throughout: get_profile, get_daily_overview, get_trends, list_cycles, get_cycle, list_recoveries, list_workouts, list_sleeps, get_sleep, get_workout. Singular/plural differences follow entity conventions predictably.
10 tools is well-scoped for a WHOOP data server, covering profile, daily overview, trends, cycles, recoveries, sleeps, and workouts without bloat. Each tool earns its place.
Core WHOOP domain coverage is strong: profile, daily snapshot, trends, cycles, recoveries, sleeps, and workouts are represented. Minor gaps exist, such as no direct get_recovery by id or journal/behavior data, but agents can work around these via get_cycle or list_recoveries.
Maintenance
Related MCP Connectors
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
WHOOP MCP server for ChatGPT, Claude and any AI agent: get day summary, list recoveries, list sleeps, list workouts, list cycles and get membership in your own WHOOP account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to WHOOP yourself; Cotlet does not store your password and you need no WHOOP API key. About the official WHOOP API: WHOOP has an official developer API (v2, OAuth 2.0, read-only) but no official MCP server (checked 27 Oct 2026). The API returns recovery, sleep, cycles and workouts to an app you register in the WHOOP Developer Dashboard, and an app WHOOP has not approved serves 10 members. Setup and FAQ: https://cotlet.dev/integrations/whoop-api-mcp-server
Ask Claude, ChatGPT or Cursor about your Apple Health data: workouts, sleep, food. Read-only.
Your WHOOP data in the assistant, read-only: recovery, sleep, strain, workouts, cycles and body meas
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables users to query their own WHOOP recovery, sleep, HRV, strain and workout history in natural language through read-only tools, baselines and period comparisons inside Claude, Codex and GitHub Copilot.14 npm-
- FlicenseNot gradedqualityAmaintenanceProvides read-only access to WHOOP recovery, sleep, HRV, strain, and workout data so assistants like Claude, Codex, and GitHub Copilot can answer questions about personal health trends, baselines, and period comparisons. It runs locally with no hosted relay and never modifies anything in the user's WHOOP account.14 npm-
- FlicenseNot gradedqualityAmaintenanceEnables read-only, natural-language access to WHOOP recovery, sleep, HRV, strain, workouts, and personal health analytics in Claude, Codex, and GitHub Copilot, with tools for daily status, baselines, trends, period comparisons, and summaries.14 npm-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants such as Claude, Codex, and GitHub Copilot to query your WHOOP recovery, sleep, HRV, strain, and workout history read-only, including personal baselines, trends, sleep debt, and HYROX or triathlon performance reviews. It runs locally, requires no data exports, and can limit sharing to aggregate summaries.14 npm-