WHOOP MCP
Gives LLM agents read-only access to your WHOOP data — recovery, sleep, strain, workouts, and profile.
README
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://calm-forge-de2rt.run.mcp-use.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 |
|---|---|
whoop_overview |
Start here. One-call snapshot: latest recovery, last sleep, current day strain, profile + body. |
whoop_recovery |
Recovery history (recovery %, HRV ms, resting HR, SpO2, skin temp). Default last 7 days. |
whoop_sleep |
Sleep history (performance/efficiency/consistency %, hours slept, stage minutes, respiratory rate, sleep need). Default last 7 days. |
whoop_strain |
Daily strain history (strain 0-21, avg/max HR, kcal). Default last 7 days. |
whoop_workouts |
Workout history (sport, strain, avg/max HR, kcal, duration, distance, HR-zone minutes). Default last 14 days. |
whoop_profile |
Profile + body measurements (name, email, height, weight, max HR). |
whoop_get_cycle |
One cycle by id, with its recovery and sleep for full day context. |
whoop_get_sleep |
One sleep activity by UUID. |
whoop_get_workout |
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.
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://calm-forge-de2rt.run.mcp-use.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://calm-forge-de2rt.run.mcp-use.com # local: http://localhost:3000
MCP_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 .env
Manufact assigns a *.run.mcp-use.com URL (this server is at https://calm-forge-de2rt.run.mcp-use.com). Set MCP_URL to that URL so the OAuth redirect_uri matches. To use your own domain instead, add it under Manufact → Domains (CNAME → deploy.run.mcp-use.com) and point MCP_URL at it.
Connect from a client
Add the server URL https://calm-forge-de2rt.run.mcp-use.com/mcp as a custom MCP server, complete the WHOOP OAuth consent, then ask the agent for your WHOOP status.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。