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 MCPIs today a good day for a hard run?"
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
Talk to Claude about your WHOOP data.
"How did I sleep this week?" "Is today a good day for a hard run?" "Show me my HRV trend and tell me if I'm overreaching."
This is a small, local MCP server that connects Claude (or any MCP client) to the official WHOOP Developer API v2 — recovery, sleep, strain, workouts, and body measurements.
It runs entirely on your own computer. Your data goes from WHOOP to your machine to Claude, and nowhere else. No server, no account, no telemetry.
Install (5 minutes, no coding)
Step 1 — Create your free WHOOP developer app
WHOOP requires everyone to use their own app credentials. It's free and takes about two minutes.
Go to https://developer-dashboard.whoop.com and sign in with your normal WHOOP account.
Click Create app. Name it anything (e.g.
My Claude).In Redirect URIs, enter exactly:
http://localhost:8765/callbackThis is the single most common thing people get wrong. It must match character for character — no trailing slash, no
https.Tick these scopes:
read:recovery·read:cycles·read:sleep·read:workout·read:profile·read:body_measurement·offlineSave, then copy the Client ID and Client Secret. Keep the tab open.
Step 2 — Download this project
Click the green Code button at the top of this page → Download ZIP, then unzip it somewhere you'll remember (e.g. your Documents folder).
Step 3 — Run the installer
Windows — open the unzipped folder and double-click install-windows.bat
macOS / Linux — open Terminal, then:
cd path/to/whoop-mcp
bash install.shThe installer will:
find (or offer to install) Python 3.10+
install the two dependencies
ask you to paste your Client ID and Client Secret
open your browser so you can approve WHOOP access
write the Claude Desktop config for you — no JSON editing
Step 4 — Restart Claude
Fully quit Claude Desktop (not just close the window) and reopen it. Ask:
"What's my WHOOP recovery today?"
That's it.
Related MCP server: whoop-mcp
What Claude can see
Tool | What it returns |
| Today's snapshot: recovery, HRV, RHR and sleep vs. your rolling baseline, recent strain load, plus personalised Karvonen HR training zones. Start here. |
| Daily recovery %, HRV (RMSSD), resting HR, SpO2, skin temperature |
| Sleep duration, performance %, efficiency %, consistency %, REM / deep / light / awake, disturbances, respiratory rate, sleep debt |
| Daily Strain (0–21), average and max HR, calories |
| Per-workout sport, duration, Strain, HR, distance, time in each of the 6 HR zones |
| Height, weight, WHOOP-measured max HR |
| Name, email, user id — handy to confirm you're connected to the right account |
All tools are read-only. Nothing can modify or delete your WHOOP data.
The HR zones in whoop_readiness are derived from your numbers — resting HR
from your rolling recovery baseline, max HR from WHOOP's own measurement. You can
override either (see Advanced below).
Things to try
Summarise my last 7 days of sleep and tell me what's hurting my recovery.
Compare my HRV this week against my 30-day baseline.
Based on my WHOOP readiness, what should today's run look like?
Which workouts last month had the highest strain per minute?
Plot my resting heart rate trend and flag anything unusual.
Am I showing signs of overreaching? Look at HRV, RHR and strain together.Privacy & security
Everything is local. The server runs on your machine as a subprocess of Claude. The only network calls it makes are to
api.prod.whoop.com.Credentials never touch the Claude config. Your client ID, secret and OAuth tokens are stored in
~/.whoop-mcp/with owner-only file permissions (0600on macOS/Linux). The Claude config just points at the script.Read-only scopes. The server only ever issues
GETrequests.No telemetry, no analytics, no third-party services. Read
whoop_mcp_server.py— it's one file, ~600 lines, no obfuscation.Access tokens are refreshed automatically. To cut access off entirely, delete
~/.whoop-mcp/and revoke the app in your WHOOP developer dashboard.
Found a security issue? Please open an issue (or email the maintainer for anything sensitive) rather than filing a public PR.
Troubleshooting
"Token exchange failed" during setup
Your redirect URI doesn't match. It must be exactly http://localhost:8765/callback
in the WHOOP developer dashboard.
Claude doesn't show any WHOOP tools Fully quit Claude (Windows: right-click the tray icon → Quit; macOS: ⌘Q) and reopen. Then run the built-in check:
python whoop_mcp_server.py doctorIt prints exactly which piece is missing.
"Port 8765 is already in use" Set a different port, and add the matching redirect URI in the WHOOP dashboard:
WHOOP_REDIRECT_PORT=8799 python whoop_mcp_server.py authWindows: "python is not recognized" / wrong Python version Install Python 3.10+ from python.org and tick "Add python.exe to PATH", then run the installer again. Anaconda's Python is often too old and shadows the real one — the installer tries to work around this automatically.
Recovery or readiness comes back empty
WHOOP needs a few days of wear to calibrate, and recovery only appears after a
scored sleep. Check whoop_recovery for "calibrating": true.
Everything broke after a while
Re-authorize: python whoop_mcp_server.py auth
Advanced
Manual Claude Desktop config
The installer does this for you, but if you'd rather do it by hand, add this to
claude_desktop_config.json:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"whoop": {
"command": "python",
"args": ["/full/path/to/whoop_mcp_server.py"]
}
}
}Use the full absolute path to your Python executable if python isn't on PATH.
Use with Claude Code
claude mcp add whoop -- python /full/path/to/whoop_mcp_server.pyEnvironment variable overrides
Variable | Purpose |
| Supply credentials instead of using |
| Where config and tokens live (default |
| OAuth callback port (default |
| Force a resting-HR value for zone maths |
| Force a max-HR value for zone maths |
Commands
python whoop_mcp_server.py setup # full guided setup
python whoop_mcp_server.py auth # re-run OAuth only
python whoop_mcp_server.py doctor # diagnose the install
python whoop_mcp_server.py # run the MCP server (Claude does this)Requirements
Python 3.10+
An active WHOOP membership
Claude Desktop, Claude Code, or any MCP-compatible client
Contributing
Issues and pull requests welcome. Please don't include real WHOOP data, screenshots with personal metrics, or credentials in any issue.
License
MIT — see LICENSE.
Not affiliated with, endorsed by, or sponsored by WHOOP. "WHOOP" is a trademark of WHOOP, Inc. This project uses the publicly documented WHOOP Developer API. Nothing here is medical advice.
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.
Related MCP Servers
- Alicense-qualityCmaintenanceConnects Whoop health data to Claude via an MCP server, enabling retrieval of recovery, sleep, strain, and workout metrics through natural language tools.1,116MIT
- Flicense-qualityDmaintenanceMCP server that connects Whoop fitness data to Claude, enabling natural language queries about recovery, sleep, workouts, and more.
- Alicense-qualityBmaintenanceA Model Context Protocol (MCP) server that gives Claude access to your WHOOP biometric data — recovery, sleep, strain, and workouts.27MIT
- Alicense-qualityAmaintenanceMCP server that connects AI assistants like Claude to WHOOP health data, enabling natural language queries about recovery, sleep, workouts, and more.122137MIT
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.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jcuw/whoop-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server