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 LLM agents read-only access to your WHOOP data — recovery, sleep, strain, workouts, and profile.
Built on mcp-use. Hosted at https://whoop.aryanranderiya.com/mcp.
It is not a 1:1 wrapper of the WHOOP REST API. Following "stop converting REST APIs to MCP", tools are curated for agents: one major context tool, token-efficient trimmed responses, unit-converted values (minutes/hours, kcal), and strict input/output schemas — so the model spends fewer round trips and less context.
Tools
Tool | What it returns |
| Start here. One-call snapshot: latest recovery, last sleep, current day strain, profile + body. |
| Recovery history (recovery %, HRV ms, resting HR, SpO2, skin temp). Default last 7 days. |
| Sleep history (performance/efficiency/consistency %, hours slept, stage minutes, respiratory rate, sleep need). Default last 7 days. |
| Daily strain history (strain 0-21, avg/max HR, kcal). Default last 7 days. |
| Workout history (sport, strain, avg/max HR, kcal, duration, distance, HR-zone minutes). Default last 14 days. |
| Profile + body measurements (name, email, height, weight, max HR). |
| One cycle by id, with its recovery and sleep for full day context. |
| One sleep activity by UUID. |
| One workout by UUID. |
History tools accept days (lookback window) or explicit start/end ISO-8601 dates, plus an optional limit (max 25). Internal pagination is hidden.
Related MCP server: whoop-ai-mcp
Authentication
WHOOP uses OAuth 2.0 but does not support Dynamic Client Registration, PKCE-S256 advertisement, or resource indicators — all of which spec-compliant MCP clients require. This server bridges that gap with mcp-use's oauthProxy: it advertises a compliant authorization server (DCR + S256 + protected-resource metadata) and proxies the PKCE flow through to WHOOP's real OAuth. WHOOP issues opaque tokens, so a custom verifyToken validates them against GET /v2/user/profile/basic (cached briefly).
The client connects to /mcp, completes WHOOP consent, and each tool call uses that user's WHOOP access token (ctx.auth.accessToken). The proxy is stateless — no token store required.
WHOOP app setup
In the WHOOP developer dashboard:
Redirect URI:
https://whoop.aryanranderiya.com/oauth/callback(addhttp://localhost:3000/oauth/callbacktoo for local OAuth testing).Scopes:
read:recovery read:cycles read:sleep read:workout read:profile read:body_measurement offline.Webhook URL: not used — leave blank.
Environment
Copy .env.example to .env:
WHOOP_CLIENT_ID=...
WHOOP_CLIENT_SECRET=...
PUBLIC_URL=https://whoop.aryanranderiya.com # local: http://localhost:3000PUBLIC_URL must be the origin clients actually connect to, because every URL this server advertises is derived from it: the OAuth redirect_uri (<PUBLIC_URL>/oauth/callback), the authorization-server metadata, and the protected-resource metadata. If it does not match the host clients use, OAuth discovery fails and every /mcp call stays 401.
Manufact owns MCP_URL and rewrites it per deployment. PUBLIC_URL is separate on purpose: the OAuth base URL has to follow the hostname clients actually use, which a deployment slug change must not silently move.
Develop
npm install
npm run dev # boots on http://localhost:3000, inspector at /inspector
npm test # transform-layer unit tests
npm run typecheck # tsc --noEmit (strict)Deploy (Manufact Cloud)
npx @mcp-use/cli login
npm run deploy -- --env-file .envThe custom domain whoop.aryanranderiya.com is attached under Manufact → Domains (CNAME → deploy.mcp-use.com). Set PUBLIC_URL to that domain in the server's production environment variables, and register the same host's /oauth/callback as the WHOOP redirect URI.
Connect from a client
Add the server URL https://whoop.aryanranderiya.com/mcp as a custom MCP server, complete the WHOOP OAuth consent, then ask the agent for your WHOOP status.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Your WHOOP data in the assistant, read-only: recovery, sleep, strain, workouts, cycles and body meas
Read-only health data: sleep, HRV recovery, macros, micros, workouts, lift trends, and plans.
Read WHOOP recovery, sleep, cycles, workouts and body measurements.
Your sleep, recovery, HRV, resting heart rate, activity and workouts from your watch, for any AI.
101
Related MCP Servers
- AlicenseAqualityDmaintenanceGives Claude access to your WHOOP health data including recovery, sleep, workouts, cycles, body measurements, and profile via the WHOOP Developer API.7MIT
- FlicenseNot gradedqualityAmaintenanceGives AI assistants read-only access to your WHOOP account so you can ask about recovery, sleep, HRV, strain and workouts in natural language. It provides 16 read-only tools, 4 resources and 5 prompt templates for daily check-ins, personal baselines, period comparisons and weekly health reviews.14 npm-
- FlicenseNot gradedqualityAmaintenanceEnables read-only access to your WHOOP recovery, sleep, HRV, strain, workout and body-measurement data from Claude Desktop, Claude Code, Codex or GitHub Copilot, so you can ask natural-language questions about today's status, personal baselines, trends, period comparisons and sleep debt.14 npm-
- FlicenseNot gradedqualityAmaintenanceEnables users to ask an AI assistant about their WHOOP recovery, sleep, HRV, strain, workouts, and personal health trends, including HYROX and triathlon readiness, using read-only access to their own data.14 npm-