WHOOP MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
WHOOP MCP
A Model Context Protocol server that gives AI assistants (Claude, ChatGPT and other MCP clients) read access to your own WHOOP data: recovery, HRV, sleep, strain and workouts.
Single file, zero dependencies, runs on Cloudflare Workers. Tool descriptions are in Slovenian.
Tools
Tool | What it returns |
| Profile, latest recovery, sleep, cycle and workouts for the last N days (default 3, max 14) |
| Basic profile and body measurements (cached for 6 h) |
| Recovery score, HRV (rMSSD), resting heart rate, SpO2, skin temperature |
| Sleep performance, stages (light, SWS, REM), disturbances, respiratory rate, sleep need |
| Sport, strain, average and max heart rate, kilojoules, heart rate zones |
| Daily strain, kilojoules, average and max heart rate |
All list tools accept limit (1 to 25), start, end (ISO 8601) and nextToken for paging.
Related MCP server: apple-health-shortcuts-mcp
How it works
WHOOP OAuth 2.0 with
offlinescope; tokens live in a Cloudflare KV namespace and refresh automaticallyAccess token cached in memory per isolate, refresh is single flight so parallel calls never invalidate each other's rotating refresh token
OAuth
stateis verified, the refresh token is never shown in HTMLOptional endpoint protection with a secret path (
/mcp/<MCP_PATH_TOKEN>) or an API keyHard timeouts and retries on every WHOOP request
Setup
Create an app in the WHOOP Developer Dashboard and note the client ID and secret.
Install and create the KV namespace:
npm install npx wrangler kv namespace create WHOOP_KVPut the returned id into
wrangler.toml.Add the secrets (never commit them):
npx wrangler secret put WHOOP_CLIENT_ID npx wrangler secret put WHOOP_CLIENT_SECRET npx wrangler secret put MCP_PATH_TOKENDeploy:
npm run deployIn the WHOOP dashboard set the redirect URI to
https://<your-worker>.workers.dev/callback.Open
https://<your-worker>.workers.dev/and click Poveži Whoop račun to connect your account.Add the MCP endpoint to your client:
https://<your-worker>.workers.dev/mcp/<MCP_PATH_TOKEN>
For local development copy dev.vars.example to .dev.vars and run npm run dev.
Without
MCP_PATH_TOKENorMCP_API_KEYthe endpoint is public and anyone with the URL can read your health data. Always set one of them.
License
MIT, see LICENSE. Made by Nik Bogataj.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Your Garmin, Oura, WHOOP, Hevy and 35 more fitness apps, queryable from your own AI.
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Your WHOOP data in the assistant, read-only: recovery, sleep, strain, workouts, cycles and body meas
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to read-only access Apple Health data through three tools: current status and sleep, detailed metrics, and 7/14/30-day trends, deployed via one-click on Cloudflare with private-key authentication.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to read Apple Health data through three tools: current stats, detailed metrics, and trends. Deployable to Cloudflare with a one-click phone setup, exposing only read-only access.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants such as Claude, ChatGPT and Gemini to read wearable health data — daily activity, sleep stages, heart rate, SpO2, HRV, workouts, weight and nutrition — through a self-hosted, OAuth-protected Cloudflare Worker endpoint. It also lets users log weight, body fat, water, food, exercises, mood and symptoms by voice or chat, while leaving sensor-recorded data read-only.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to query a user's WHOOP recovery, sleep, HRV, strain, workouts and body measurements through 16 read-only tools, including today's status, personal baselines, sleep debt, trends and period comparisons. Runs locally, requires no data exports, and supports aggregate mode that limits responses to high-level summaries.14 npm-