Skip to main content
Glama
whoop-sleep-mcp

whoop-sleep-mcp

by SVJayanthi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port for single-user HTTP mode, e.g. `3000`.
DATA_DIRNoPersistent disk directory for the encrypted token store. On Render this is `/var/data`.
MCP_MODENoSet to `hosted` for multi-user OAuth over Streamable HTTP. In hosted deployments this is typically set in render.yaml.
PUBLIC_URLNoOptional canonical public origin. On Render, `RENDER_EXTERNAL_URL` is used if this is unset.
MCP_TRANSPORTNoSet to `http` for single-user HTTP mode. Otherwise the server uses stdio.
MCP_AUTH_TOKENNoShared bearer token for single-user HTTP mode. Do not set this in hosted mode.
WHOOP_CLIENT_IDYesWHOOP developer app Client ID.
WHOOP_TOKEN_FILENoPath where local single-user WHOOP tokens are saved. Defaults to `~/.whoop-mcp/tokens.json`.~/.whoop-mcp/tokens.json
WHOOP_REDIRECT_URINoOptional override if the callback is not `$PUBLIC_URL/callback`.
WHOOP_CLIENT_SECRETYesWHOOP developer app Client Secret. Treat like a password.
TOKEN_ENCRYPTION_KEYNoKey used to encrypt each user's WHOOP tokens at rest in hosted mode. Render can generate it, or use `openssl rand -hex 32`.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
whoop_profileA

Basic WHOOP profile (name, email) plus body measurements (height, weight, WHOOP max HR).

whoop_sleepsB

Sleep records (naps included, flagged). Stage minutes, restorative (SWS+REM) minutes, respiratory rate, efficiency, consistency, sleep need. Times are UTC plus WHOOP's timezone_offset.

whoop_recoveriesB

Recovery records: recovery %, resting HR, HRV (RMSSD, ms), SpO2 %, skin temp (C). One per sleep.

whoop_cyclesB

Physiological cycles (roughly wake-to-wake days): day strain, kJ, average and max HR for the whole cycle, step count when returned.

whoop_workoutsC

Workouts: sport, start/end, strain, average/max HR, kJ, distance, HR-zone durations.

whoop_last_nightA

Last night in one call: the latest scored main sleep (not a nap), its recovery, and today's cycle strain so far.

whoop_sleep_hr_metricsA

Heart metrics around the sleep window for one night (default: most recent): resting HR, HRV RMSSD, respiratory rate, SpO2, skin temp, restorative minutes, each vs a rolling baseline of prior nights. States plainly which HR metrics the public API does not expose (sleep-onset HR, lowest HR and time, HR time series).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 7 tools

Disambiguation4/5

The core resource tools (profile, recoveries, sleeps, cycles, workouts) are clearly distinct. whoop_last_night intentionally aggregates several resources, and whoop_sleep_hr_metrics overlaps with recovery metrics, but the descriptions clarify the convenience-summary versus baseline-comparison roles.

Naming Consistency4/5

All tools use a consistent whoop_ snake_case prefix with resource-oriented names. Minor deviations are the convenience tool whoop_last_night and the compound whoop_sleep_hr_metrics, but the naming remains predictable overall.

Tool Count5/5

Seven tools is well-scoped for a WHOOP data reader, with each tool covering a distinct data type or useful summary view. There are no obvious filler tools.

Completeness4/5

The surface covers the main read-only domain: profile, sleep, recovery, cycles, workouts, and a last-night summary. Minor gaps may exist around individual record lookup by ID/date range or broader journal data, but the stated sleep and recovery purpose is well covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues