# whoop-mcp [Health: Active]

**Category:** 🏃 Sports  
**Repository:** https://github.com/AshwanthramKL/whoop-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/whoop-mcp

## Description
Read-only WHOOP v2 data for MCP clients, with local SQLite cache and CSV/JSONL/Parquet exports.

## Tools
Capabilities this server exposes over MCP:

- **get_whoop_auth_status** — Report OAuth token status. Call first if other tools return `AUTH_FAILED`.
- **get_whoop_profile** — Authenticated user's WHOOP profile (name, email).
- **get_whoop_body_measurement** — Latest body measurements: height, weight, max HR.
- **list_whoop_cycles** — Physiological cycles in a time window.
- **get_whoop_cycle** — One cycle by integer ID.
- **get_whoop_cycle_sleep** — Sleep record tied to a given cycle.
- **get_whoop_cycle_recovery** — Recovery record tied to a given cycle.
- **list_whoop_recoveries** — Recoveries (HRV / RHR / recovery score) in a window.
- **list_whoop_sleeps** — Sleep activities incl. naps in a window.
- **get_whoop_sleep** — One sleep activity by UUID.
- **list_whoop_workouts** — Workouts with zone durations (seconds).
- **get_whoop_workout** — One workout by UUID.
- **get_whoop_daily_summary** — Joined cycle + recovery + primary sleep + workouts for a UTC date.
- **sync_whoop** — Refresh cache from WHOOP API. Idempotent, incremental by default.
- **get_whoop_events** — Chronological "what's new" feed across cached resources.
- **export_whoop** — Dump cached records to CSV / JSONL / Parquet.
- **health_check** — Composite status (auth, API, cache, schema). Never raises.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "whoop-mcp": {
    "command": "uvx",
    "args": ["--from","whoop-mcp","whoop-mcp-oauth"],
    "env": {
      "WHOOP_CLIENT_ID": "",
      "WHOOP_CLIENT_SECRET": ""
    }
  }
}
```

**Requires environment variables:** `WHOOP_CLIENT_ID`, `WHOOP_CLIENT_SECRET` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the whoop-mcp MCP server does

The whoop-mcp MCP server exposes read-only WHOOP v2 data to MCP-compatible clients. It covers the authenticated user's profile and body measurements, plus cycles, recoveries, sleep activities, naps, and workouts. A daily-summary tool combines the cycle, recovery, primary sleep, and workout records associated with a UTC date.

The server also provides operational tools. Agents can check OAuth status, run a composite health check, refresh the local cache, view a chronological event feed, and export cached records as CSV, JSONL, or Parquet. It does not provide write operations for WHOOP data.

## How it works

The whoop-mcp MCP server runs as a local Python process and speaks MCP over stdio. Authentication uses OAuth against a WHOOP developer application registered by the user. The server calls the WHOOP v2 API with the resulting credentials, then mirrors retrieved records into SQLite at `~/.whoop-mcp-server/whoop.db`.

Read tools use cached records by default, so repeated queries can work without another API request. Passing `fresh=true` to supported read tools bypasses the cache, fetches the current API response, writes it through to SQLite, and returns the live data. `sync_whoop` performs an idempotent, incremental refresh by default and can be configured for a full sync, a starting point, or selected resources.

List operations accept ISO-8601 `start` and `end` values and handle pagination automatically. Tool failures are returned in structured error envelopes rather than raised as exceptions.

## Setup and configuration

Create a WHOOP developer app with the redirect URI `http://localhost:8000/callback` and the read scopes for profile, body measurement, recovery, cycles, sleep, workout, and offline access. Set `WHOOP_CLIENT_ID` and `WHOOP_CLIENT_SECRET`, then run the package's OAuth command with `uvx`. The browser-based flow captures the callback and stores the resulting tokens.

Register the stdio process with an MCP client, passing the client ID and secret as environment variables so the server can refresh access tokens after they expire. The documented one-line installation uses `uvx --from whoop-mcp whoop-mcp`; source installation is also available with a Python virtual environment and the repository's requirements files.

## Tools and capabilities

The tool set supports:

- OAuth status, user profile, and latest body measurements.
- Cycle, recovery, sleep, and workout queries by date range or identifier.
- Sleep and recovery records associated with a cycle.
- Daily summaries combining several cached WHOOP resource types.
- Incremental or full synchronization and chronological event retrieval.
- Exporting selected cached data to CSV, JSONL, or Parquet.
- Composite checks for authentication, API access, cache state, and schema.

The accompanying `whoop-insights` skill is a separate repository feature that can calculate baselines, correlations, anomaly findings, and an optional HTML dashboard from cached data. It is intended for clients that support the documented skill installation workflow.

## Limitations and notes

The whoop-mcp MCP server is pre-1.0. Tool names, response formats, and error codes may change in minor `0.x` releases, so applications built on top of it should pin a minor version. It requires a WHOOP developer application and valid OAuth access. The available data is limited to what the WHOOP v2 API returns for the configured account and requested scopes.

The server is read-only: it can retrieve, cache, synchronize, and export records, but it cannot modify WHOOP data. Its documented transport is stdio, and its local cache is intended for the machine running the process.

_Full upstream README: https://allmcps.com/mcp/whoop-mcp/readme_

