whoop-mcp
Click on "Deploy 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 current recovery status?"
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 (MCP) server that connects your Whoop fitness data to Claude. Ask natural language questions about your recovery, sleep, workouts, and more — directly in Claude chat.
What You Can Ask
"What was my recovery score today?"
"How did I sleep this week?"
"Show me my HRV trend over the last 30 days"
"Which workouts had the highest strain?"
"Compare my sleep efficiency this month"
Related MCP server: whoop-mcp
Available Tools
Tool | Description |
| Your name and email |
| Height, weight, max heart rate |
| Recovery %, HRV, resting heart rate, SpO2 |
| Duration, efficiency, sleep stages, disturbances |
| Strain, calories, sport type |
| Daily strain and total calories burned |
All data tools accept optional start and end date parameters and default to the last 30 days.
Setup
1. Prerequisites
Install uv:
curl -LsSf https://astral.sh/uv/install.sh | shClone this repo to a path without spaces:
git clone https://github.com/your-username/whoop-mcp.git ~/whoop-mcp
cd ~/whoop-mcpInstall dependencies:
uv venv --python 3.12
uv pip install mcp httpx2. Get Whoop API credentials
Create a new app and fill in:
Redirect URI:
http://localhost:8888/callbackPrivacy Policy URL: your GitHub Pages URL (see Privacy Policy below)
Copy your Client ID and Client Secret
3. Authenticate (one time only)
WHOOP_CLIENT_ID=your_client_id \
WHOOP_CLIENT_SECRET=your_client_secret \
.venv/bin/python auth.pyThis opens the Whoop authorization page in your browser. After you approve:
Your browser will show an error on
localhost:8888— that's expectedCopy the full URL from the address bar and paste it into the terminal
Tokens are saved to
~/.whoop_tokens.json
You will not need to do this again. The server automatically refreshes your token.
4. Configure the Claude Desktop App
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and add:
{
"mcpServers": {
"whoop": {
"command": "/Users/your-username/whoop-mcp/.venv/bin/python",
"args": ["/Users/your-username/whoop-mcp/server.py"],
"env": {
"WHOOP_CLIENT_ID": "your_client_id",
"WHOOP_CLIENT_SECRET": "your_client_secret"
}
}
}
}Important: The path to
whoop-mcpmust not contain spaces — this is why step 1 clones to~/whoop-mcp.
5. Restart Claude
Fully quit Claude (Cmd+Q) and reopen it. The Whoop server should show as connected under Settings → Developer.
Privacy Policy
privacy.html is a ready-to-host privacy policy page required by the Whoop developer portal.
Host it on GitHub Pages:
Push this repo to GitHub
Go to Settings → Pages → Source → Deploy from a branch → main / root
Your privacy policy URL will be:
https://your-username.github.io/whoop-mcp/privacy.html
Webhooks (optional)
webhook_server.py receives real-time events from Whoop when new data is recorded.
WHOOP_CLIENT_SECRET=your_client_secret .venv/bin/python webhook_server.pyFor local development, expose it with ngrok:
ngrok http 8080
# Register the https URL in the Whoop developer portalSupported events: workout.updated, sleep.updated, recovery.updated, body_measurement.updated
Project Structure
whoop-mcp/
├── server.py # MCP server — tools Claude calls
├── whoop_client.py # Whoop API v2 client with auto token refresh
├── auth.py # One-time OAuth setup script
├── webhook_server.py # Real-time Whoop event receiver (optional)
├── privacy.html # Privacy policy page for GitHub Pages
└── requirements.txt # Python dependencies (mcp, httpx)Notes
Tokens are stored at
~/.whoop_tokens.jsonand auto-refreshed — you never need to re-runauth.pyunless you revoke access from the Whoop appUses the Whoop API v2
Tested on macOS with Python 3.12
This server cannot be deployed
Maintenance
Related MCP Connectors
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Pace is a remote MCP server that exposes wearable and fitness data to Claude via the Model Context Protocol. It connects to Garmin, Oura, Whoop, Polar, Fitbit and 20+ devices and provides 15 tools for querying sleep, activity, recovery, and training data. Hosted on Google Cloud Run, OAuth 2.1 authentication, Streamable HTTP transport. Instructions: First you need to create an account at: https://pacetraining.co and connect your wearables. After that you can connect the remote Server via Custom Connector in Claude and OAuth 2.1 Flow startet.
- SomviaOAuthapp.somvia
Apple Health training load, recovery, HRV and workout detail for Claude, ChatGPT and any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceConnects Whoop health data to Claude via an MCP server, enabling retrieval of recovery, sleep, strain, and workout metrics through natural language tools.289 npmMIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that gives Claude access to your WHOOP biometric data — recovery, sleep, strain, and workouts.30 npmMIT
- AlicenseNot gradedqualityAmaintenanceMCP server that connects AI assistants like Claude to WHOOP health data, enabling natural language queries about recovery, sleep, workouts, and more.587 npm157MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that wraps the Whoop API v2 to let Claude Code pull workouts, sleep, and recovery data.-