Whoop MCP Server
Enables Claude to read your Whoop recovery, sleep, cycle, and workout data through natural language queries.
README
Whoop MCP Server
A small personal server that lets Claude read your Whoop recovery, sleep, cycle, and workout data. Once it's running, you can ask Claude things like "pull my recovery for this week" and it will fetch real numbers from Whoop.
It does not need to know about your menstrual cycle dashboard — you stay in the loop: ask Claude to pull your Whoop data, then ask it to write a summary into your dossier artifact.
How it works
- You log in to Whoop once, in your browser, directly on this server.
- The server stores your Whoop tokens and refreshes them automatically.
- Claude talks to this server over one endpoint:
/mcp. - This server talks to Whoop's real API on your behalf.
You ──(one-time login)──> this server ──(OAuth)──> Whoop
Claude ──(tool calls)──> this server ──(API calls)──> Whoop
1. Create a Whoop developer app
- Go to https://developer-dashboard.whoop.com and sign in with your Whoop account.
- Create a Team (if prompted), then create an App.
- Note your Client ID and Client Secret.
- Add a Redirect URL. It must be:
https://YOUR-DEPLOYED-URL/auth/whoop/callback(You'll know your real URL after step 3 below — you can come back and edit this.) - Request these scopes:
read:recovery,read:cycles,read:sleep,read:workout,read:profile,read:body_measurement,offline.
2. Configure
cp .env.example .env
Fill in WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET, and WHOOP_REDIRECT_URI
(this last one must exactly match what you registered in step 1, including
https:// and no trailing slash).
3. Run it somewhere reachable on the internet
Claude connects to this server from Anthropic's cloud, not from your laptop — so it needs a real public HTTPS URL. Any standard Node.js host works (Render, Railway, Fly.io, a small VPS, etc.):
npm install
npm start
Set the same environment variables from .env in your host's dashboard.
The app listens on process.env.PORT (most hosts set this for you
automatically).
About storage: by default, your Whoop tokens are saved to a local file
(./data/whoop-tokens.json). If your host wipes its disk between restarts
(common on some free tiers), you'll need to redo the one-time login after
every restart — or set UPSTASH_REDIS_REST_URL / UPSTASH_REDIS_REST_TOKEN
(Upstash has a free tier) so tokens are stored durably instead. No code
changes needed, just those two environment variables.
Once deployed, go back to your Whoop app settings and make sure the Redirect URL matches your live URL exactly.
4. Connect your Whoop account (one time)
Visit https://YOUR-DEPLOYED-URL/auth/whoop/start in a browser, log in to
Whoop, and approve access. You'll see a confirmation page when it's done.
5. Add this server to Claude
- In Claude, go to Settings → Connectors.
- Click Add custom connector.
- Paste:
https://YOUR-DEPLOYED-URL/mcp - Click Add, then enable it for your conversation (the "+" button → Connectors).
You can now ask Claude things like:
- "What was my recovery this morning?"
- "Pull my last 7 days of sleep data."
- "Compare my strain over the last 2 weeks."
Security, honestly
This server doesn't have its own login wall on the /mcp endpoint — it's
protected only by the URL being private to you. Treat the URL like a
password:
- Don't share it or post it anywhere public.
- Don't commit
.envto a public GitHub repo (.gitignorealready excludes it). - If you want stronger protection later (e.g. real per-request auth), that's a reasonable next step — just ask and we can add it.
Troubleshooting
If something breaks — a deploy error, a 401 from Whoop, Claude saying the connector won't connect — copy the exact error message back to Claude and we'll fix it together. This code was written without the ability to run or deploy it directly, so the first run-through is where real-world issues (dependency versions, host quirks) tend to surface.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.