WHOOP

v1.0.0Analyticsstable

MCP server for WHOOP — recovery, strain, sleep, and HRV data for AI agents via Model Context Protocol. Built for self-quantified humans.

agentskillsfitness-trackermcp-servernpm-packagewhoop-api
Share:
71
Stars
0
Downloads
0
Weekly
0/5

What is WHOOP?

WHOOP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for whoop — recovery, strain, sleep, and hrv data for ai agents via model context protocol. built for self-quantified humans.

MCP server for WHOOP — recovery, strain, sleep, and HRV data for AI agents via Model Context Protocol. Built for self-quantified humans.

This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server for WHOOP — recovery, strain, sleep, and HRV data

Use Cases

Access recovery, strain, sleep, and HRV data.
Quantify personal health metrics through AI agents.
Analyze fitness and recovery data for self-optimization.
Saadh05

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y whoop

Manual Installation

npx -y whoop

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use WHOOP

The WHOOP MCP server connects AI assistants to the WHOOP API v2, exposing personal health and fitness data including recovery scores, HRV, sleep analysis, workout strain, and daily cycle metrics. Built for self-quantified athletes and health enthusiasts, it lets users query and analyze their biometric data through natural language conversation. OAuth 2.0 authentication is handled automatically with tokens stored locally, so once set up you can ask questions like 'What was my HRV trend last week?' directly in your AI client.

Prerequisites

  • A WHOOP device and active WHOOP membership
  • WHOOP Developer account with a registered OAuth application at https://developer.whoop.com/
  • WHOOP_CLIENT_ID and WHOOP_CLIENT_SECRET from your developer application
  • Python with uv package manager installed, or Node.js for the npx approach
  • An MCP-compatible client such as Claude Desktop
1

Register a WHOOP developer application

Go to https://developer.whoop.com/, create an account, and register a new OAuth application to get your Client ID and Client Secret. Set the redirect URI to http://localhost:8080/callback or as instructed in the repository.

2

Install the server dependencies

Install the required Python packages using uv or pip.

uv pip install mcp httpx
3

Configure your MCP client

Add the WHOOP MCP server to your claude_desktop_config.json with your WHOOP OAuth credentials as environment variables.

{
  "mcpServers": {
    "whoop": {
      "command": "npx",
      "args": ["-y", "whoop"],
      "env": {
        "WHOOP_CLIENT_ID": "your_whoop_client_id",
        "WHOOP_CLIENT_SECRET": "your_whoop_client_secret"
      }
    }
  }
}
4

Authenticate with WHOOP

On first use, the server will initiate an OAuth 2.0 flow. Follow the authorization URL provided, grant access to your WHOOP data, and the tokens will be saved automatically to ~/.whoop_tokens.json for future sessions.

5

Query your health data

Ask your AI assistant about your recovery, sleep, or workout data. All tools support optional start and end date parameters and default to the previous 30 days of data.

WHOOP Examples

Client configuration

Claude Desktop configuration for the WHOOP MCP server with OAuth credentials.

{
  "mcpServers": {
    "whoop": {
      "command": "npx",
      "args": ["-y", "whoop"],
      "env": {
        "WHOOP_CLIENT_ID": "your_whoop_client_id",
        "WHOOP_CLIENT_SECRET": "your_whoop_client_secret"
      }
    }
  }
}

Prompts to try

Example prompts for querying your WHOOP health data through the MCP server.

- "What was my recovery score today?"
- "Show me my HRV trend over the last 30 days"
- "Which workouts last week had the highest strain?"
- "How many hours of deep sleep did I average this month?"
- "What is my resting heart rate trend for the past two weeks?"

Troubleshooting WHOOP

OAuth authentication flow does not complete or redirects to an error

Ensure the redirect URI registered in your WHOOP developer application exactly matches the one the server uses (http://localhost:8080/callback). Check that no firewall or VPN is blocking the local callback port.

Token refresh errors: stale or invalid tokens

Delete the ~/.whoop_tokens.json file and restart the server to trigger a fresh OAuth flow. Tokens can expire if the application's client secret has been rotated in the WHOOP developer portal.

WHOOP_CLIENT_ID or WHOOP_CLIENT_SECRET not recognized

Verify the environment variable names are exactly WHOOP_CLIENT_ID and WHOOP_CLIENT_SECRET in your MCP configuration. Ensure there are no extra spaces or quotes in the values.

Frequently Asked Questions about WHOOP

What is WHOOP?

WHOOP is a Model Context Protocol (MCP) server that mcp server for whoop — recovery, strain, sleep, and hrv data for ai agents via model context protocol. built for self-quantified humans. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install WHOOP?

Install via npm with the command: npx -y whoop. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with WHOOP?

WHOOP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is WHOOP free to use?

Yes, WHOOP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Analytics MCP Servers

Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "whoop": { "command": "npx", "args": ["-y", "whoop"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use WHOOP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides