WHOOP MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WHOOP MCPwhat's my recovery score today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 MCP Server
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=...
MCP_URL=https://whoop.aryanranderiya.com # local: http://localhost:3000MCP_URL sets the OAuth redirect_uri (<MCP_URL>/oauth/callback).
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 .envThen attach the custom domain whoop.aryanranderiya.com in the Manufact dashboard (CNAME → deploy.run.mcp-use.com) and set MCP_URL=https://whoop.aryanranderiya.com.
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aryanranderiya/whoop-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server