Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

MCP server that wraps the Whoop API v2 to let Claude Code pull workouts, sleep, and recovery data.

README.md

whoop-mcp

Personal MCP server that wraps the Whoop API v2 so an MCP client (e.g. Claude Code) can pull your workouts, sleep, and recovery data.

Setup

1. Register a Whoop developer app (one-time)

  1. Go to https://developer-dashboard.whoop.com and sign in with your personal Whoop account.
  2. Create a new App.
  3. Set Redirect URI to http://localhost:8765/callback (must match exactly).
  4. Select scopes: read:workout, read:sleep, read:recovery, offline.
  5. Copy the Client ID and Client Secret.

2. Install

cd whoop-mcp
uv venv
source .venv/bin/activate
uv pip install -e .

3. Configure

cp .env.example .env
# edit .env and fill in WHOOP_CLIENT_ID / WHOOP_CLIENT_SECRET

4. One-time login

whoop-mcp-login

This opens a browser to approve access, captures the OAuth callback on localhost:8765, and caches tokens at ~/.whoop-mcp/tokens.json (mode 0600). The server auto-refreshes tokens using the offline scope.

5. Wire into Claude Code

Add to ~/.claude.json or use claude mcp add:

{
  "mcpServers": {
    "whoop": {
      "command": "/absolute/path/to/whoop-mcp/.venv/bin/whoop-mcp"
    }
  }
}

Restart Claude Code. Tools will appear as:

  • mcp__whoop__list_workouts
  • mcp__whoop__get_workout
  • mcp__whoop__list_sleep
  • mcp__whoop__get_sleep
  • mcp__whoop__list_recovery

Tools

All list tools accept start, end (ISO-8601 datetimes), limit, and next_token (opaque pagination token). Single-item tools take a UUID.

Verification

  • ls -l ~/.whoop-mcp/tokens.json — should show -rw-------.
  • Sanity check from the repo root:
  python -c "import asyncio; from whoop_mcp.client import WhoopClient; \
    print(asyncio.run((lambda: (lambda c: c.list_workouts(limit=1))(WhoopClient()))()))"
  • To test the refresh path, edit expires_at in tokens.json to a past timestamp and re-run the sanity check.
  • To test the auth-error path, move tokens.json aside and call a tool — you should see a structured {"error": "not_authenticated", ...} response.

Notes

  • Uses endpoint prefix /developer/v2/.... If Whoop moves to bare /v2/..., change API_PREFIX in src/whoop_mcp/client.py.
  • v1 of this server intentionally returns raw dicts — Whoop response schemas evolve and strict Pydantic models are not worth the churn.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Developer Tools servers.