Skip to main content
Glama
Whoop MCP Server

Whoop MCP Server

by sujayjayjay

Whoop MCP Server

MCP server for accessing Whoop health data (recovery, sleep, strain, HRV) via the Model Context Protocol.

Features

  • Recovery data: Latest recovery score, HRV, resting heart rate

  • Sleep tracking: Sleep duration, quality, stages, disturbances

  • Strain & workouts: Daily strain, workout details, calories

  • HRV trends: Heart rate variability over time

Related MCP server: WHOOP MCP Server

Setup

1. Get Whoop OAuth Credentials

  1. Go to https://developer.whoop.com

  2. Create an account / sign in

  3. Create a new application

  4. Copy your Client ID and Client Secret

2. Install

npm install
npm run build

3. Configure

Set your Whoop OAuth credentials:

export WHOOP_CLIENT_ID="your-client-id"
export WHOOP_CLIENT_SECRET="your-client-secret"

Or add to your shell profile (~/.zshrc or ~/.bashrc):

echo 'export WHOOP_CLIENT_ID="your-client-id"' >> ~/.zshrc
echo 'export WHOOP_CLIENT_SECRET="your-client-secret"' >> ~/.zshrc
source ~/.zshrc

Or create a .env file in the project root (see .env.example)

4. Test

npm start

Usage with Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "whoop": {
      "command": "node",
      "args": ["/path/to/whoop-mcp-server/dist/index.js"],
      "env": {
        "WHOOP_CLIENT_ID": "your-client-id",
        "WHOOP_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Restart Claude Desktop. Now you can ask:

  • "What's my recovery score today?"

  • "How did I sleep last night?"

  • "Show me my strain for the past week"

  • "What's my HRV trend?"

Usage with OpenClaw

Coming soon - OpenClaw will support MCP servers directly.

Available Resources

  • whoop://recovery/latest - Latest recovery score and metrics

  • whoop://sleep/latest - Latest sleep data

  • whoop://cycle/latest - Latest physiological cycle

  • whoop://user/profile - User profile information

Available Tools

  • get_recovery - Get recovery data for date range

  • get_sleep - Get sleep data for date range

  • get_workouts - Get workout/strain data

  • get_hrv - Get HRV trends

Example Queries

"What's my recovery today?" → Fetches latest recovery score, HRV, resting heart rate

"How many hours did I sleep last week?" → Fetches sleep data for past 7 days, sums duration

"Show my strain trend for the month" → Fetches workout data for past 30 days

"Is my HRV improving?" → Analyzes HRV trend over time

API Reference

See Whoop API docs: https://developer.whoop.com/api

License

MIT

Author

Sujay Choubey

Available Tools

4 tools
get_hrvC

Get heart rate variability data

Inputs: end, start.

get_recoveryC

Get recovery data for a specific date range

Inputs: end, limit, start.

get_sleepC

Get sleep data for a specific date range

Inputs: end, limit, start.

get_workoutsC

Get workout and strain data

Inputs: end, limit, start.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each tool targets a distinct Whoop data domain (recovery, sleep, workouts, HRV), so selection is mostly clear. However, get_hrv overlaps conceptually with get_recovery since Whoop recovery records already include HRV, creating some ambiguity about which to call.

    Naming Consistency5/5

    All four tools follow the identical get_<resource> pattern with clear, predictable nouns. No mixing of conventions.

    Tool Count4/5

    Four tools is a focused, well-scoped set for a read-only metric-fetching server. It is on the thin side, but each tool earns its place by covering a core Whoop metric.

    Completeness3/5

    The surface covers the headline metrics but omits obvious Whoop data like body measurements, user profile, cycles/strain as a standalone, and any trend or aggregate queries. Agents can work around gaps by combining the four calls, but the read-only surface feels partial.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers