Whoop MCP Server
Enables users to access Whoop biometrics including recovery, sleep, and strain scores while facilitating activity logging and device management. It allows for seamless interaction with health data to set alarms, update weight, and track activities through natural language commands.
README
whoop-write-mcp
MCP server for Whoop — read biometrics, log activities, and manage your Whoop band from Claude.
Built on whoop-write-api and the Model Context Protocol.
Tools
Read
| Tool | Description |
|---|---|
get_recovery |
Recovery score, HRV, resting HR (supports date range) |
get_sleep |
Sleep score, hours, respiratory rate |
get_strain |
Daily strain and heart rate from cycles |
get_body_measurement |
Height, weight, max HR |
get_sport_types |
List all Whoop sport/activity type IDs |
search_exercises |
Search exercise catalog by name, equipment, muscle group |
get_journal_behaviors |
Available journal questions for a date |
Write
| Tool | Description |
|---|---|
create_activity |
Log sauna, meditation, yoga, running, etc. |
delete_activity |
Remove an activity by ID |
list_activities |
List recent activities with IDs |
update_weight |
Update body weight (lbs, converted to kg) |
set_alarm |
Set or disable Whoop alarm |
log_workout |
Full workout with optional exercise detail |
link_exercises |
Attach per-set exercise data to an activity |
log_journal |
Log caffeine, alcohol, supplements, notes |
Connect to Claude Code
Step 1: Add the server
claude mcp add -s user whoop -- uvx whoop-write-mcp
Step 2: Authenticate
whoop-write-mcp login
Enter your Whoop email and password when prompted. Credentials are used once to get tokens, then discarded. Tokens are cached at ~/.whoop/tokens.json and auto-refresh — you shouldn't need to login again.
Step 3: Use it
Ask Claude things like:
- "What's my recovery today?"
- "Log a 20-minute sauna session"
- "Set my alarm for 7:30 AM"
- "How did I sleep last night?"
- "Update my weight to 255 lbs"
- "Delete my last activity"
Alternative: env vars (skip the login step)
claude mcp add -e WHOOP_EMAIL=you@example.com -e WHOOP_PASSWORD=yourpass -s user whoop -- uvx whoop-write-mcp
Server auto-authenticates on first tool call. Useful for automation.
From source
git clone https://github.com/jd1207/whoop-write-mcp.git
cd whoop-write-mcp && pip install -e .
claude mcp add -s user whoop -- whoop-write-mcp
whoop-write-mcp login
Managing
claude mcp list # see registered servers
claude mcp remove whoop # unregister
whoop-write-mcp status # check auth state
whoop-write-mcp logout # remove cached tokens
Or type /mcp inside Claude Code to manage connected servers.
How Auth Works
- First tool call checks for cached tokens at
~/.whoop/tokens.json - No tokens? Auto-authenticates from
WHOOP_EMAIL/WHOOP_PASSWORDenv vars if set - No env vars? Returns a clear error: "Run
whoop-write-mcp loginin your terminal" - Tokens cached (
0600permissions), auto-refresh on expiry - Password never stored on disk — only refresh tokens
Architecture
Claude Code <--stdio--> whoop-write-mcp <--https--> Whoop API
|
~/.whoop/tokens.json
Claude Code Skill
The skill/ directory contains a coaching intelligence skill that teaches Claude how to interpret Whoop data and make training decisions — not just call tools, but use them like a coach.
Install it to make any Claude Code agent smarter with Whoop data:
cp -r skill/ ~/.claude/skills/whoop-mcp/
What the skill provides:
- Decision frameworks — when to train heavy, when to deload, when to stay quiet
- Signal priority — sleep > HRV trend > recovery score > strain
- Verbosity rules — only surface data when it changes the recommendation
- Multi-step workflows — morning check-in, pre-workout assessment, post-workout sync
- Biometric interpretation — recovery zones, HRV trends, sleep thresholds, strain budgets
Related Projects
- whoop-write-api — the underlying Python library for Whoop's reverse-engineered API
- SpotMe — self-hosted AI workout coach PWA that uses this MCP server
Development
git clone https://github.com/jd1207/whoop-write-mcp.git
cd whoop-write-mcp
pip install -e ".[dev]"
pytest
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 模型以安全和受控的方式获取实时的网络信息。