Whoop MCP Server

Whoop MCP Server

whoop-mcp•byjedpattersonn

A Model Context Protocol server that exposes Whoop biometric and fitness data through MCP tools for use in Claude and other MCP-compatible applications.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides a tool to retrieve comprehensive Whoop overview data for a date, including recovery score, day strain, sleep hours, calories, and key statistics.
  • •Offers sleep analysis with performance score, hours needed, consistency, efficiency, and personalized insights.
  • •Delivers recovery deep-dive analysis including HRV, RHR, respiratory rate, sleep performance, and trend indicators.
  • •Provides healthspan analysis with WHOOP Age, age status, and pace of aging metrics.

BEST FOR

  • •Users who want to query their Whoop recovery, sleep, strain, and healthspan data conversationally through Claude or other MCP clients.
  • •Users who want a single overview of daily Whoop metrics such as steps, activities, and 30-day trends.
  • •Users interested in tracking biological age and pace of aging through Whoop healthspan data.

ABOUT WHOOP-MCP

Whoop MCP Server is cataloged as an MCP server attributed to jedpattersonn. A Model Context Protocol server that exposes Whoop biometric and fitness data through MCP tools for use in Claude and other MCP-compatible applications. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Whoop MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server support optional authentication?

Yes, setting the MCP_AUTH_TOKEN environment variable requires all requests to the MCP endpoint to include a matching Bearer token.

How does the server handle Whoop authentication?

It logs in with email and password, stores the access token in memory for 24 hours, re-authenticates before expiry, and retries failed requests after re-authentication.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 77bfde626c64 · 采集于 2026-11-13 11:23:01 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Whoop MCP Server

A Model Context Protocol (MCP) server for accessing Whoop fitness data. Integrate your WHOOP biometric data into Claude, LLMs, and other MCP-compatible applications.

Deploy on Railway

Features

  • Comprehensive Overview - All your daily metrics in one call
  • Sleep Analysis - Deep dive into sleep performance and quality
  • Recovery Metrics - HRV, RHR, and recovery contributors
  • Strain Tracking - Day strain with heart rate zones and activities
  • Healthspan - Biological age and pace of aging metrics

Quick Start

  1. Clone the repository:
git clone https://github.com/yourusername/whoop-mcp.git
cd whoop-mcp
  1. Create a .env file with your WHOOP credentials:
echo "WHOOP_EMAIL=your-email@example.com" > .env
echo "WHOOP_PASSWORD=your-password" >> .env
echo "PORT=3000" >> .env

Or set as environment variables:

export WHOOP_EMAIL='your-email@example.com'
export WHOOP_PASSWORD='your-password'
  1. Install dependencies:
bun install
  1. Start the server:
bun run start

Or for development with hot reload:

bun run dev

The server will run on http://localhost:3000/mcp by default.

Docker Deployment

  1. Create a .env file with your credentials:
cp .env.example .env
# Edit .env with your actual credentials
  1. Build the Docker image:
docker build -t whoop-mcp .
  1. Run the container:
docker run -d \
  --name whoop-mcp \
  whoop-mcp

The --env-file .env flag automatically loads all environment variables from your .env file.

  1. View logs:
docker logs -f whoop-mcp
  1. Stop the container:
docker stop whoop-mcp

The Docker image is based on the official Bun Alpine image. The container includes health checks to monitor the server's status.

Smithery Deployment

This server is configured to work with Smithery, a platform for deploying MCP servers. When deployed on Smithery:

  1. Configuration via Query Parameters: Smithery passes your credentials as query parameters to the /mcp endpoint (defined in smithery.yaml):

    • whoopEmail - Your Whoop account email
    • whoopPassword - Your Whoop account password
    • mcpAuthToken - Optional authentication token
  2. Automatic Configuration: The server automatically extracts these from query parameters when running on Smithery, so you don't need to set environment variables manually.

  3. Deploy Button: Use the Railway deploy button above for quick deployment, or follow Smithery's documentation for other deployment options.

The smithery.yaml file in the repository root defines the configuration schema that Smithery uses to collect your credentials securely.

Configuration

Credentials Configuration

The server supports two methods for providing credentials:

  1. Query Parameters (used by Smithery): Pass credentials as query parameters to the /mcp endpoint

    • whoopEmail - Your Whoop account email
    • whoopPassword - Your Whoop account password
    • mcpAuthToken - Optional authentication token
  2. Environment Variables (used for local/Docker deployment):

VariableRequiredDefaultDescription
WHOOP_EMAILYes-Your Whoop account email
WHOOP_PASSWORDYes-Your Whoop account password
MCP_AUTH_TOKENNo-Optional authentication token for MCP requests
PORTNo3000Server port

The server will check query parameters first, then fall back to environment variables if not provided.

Optional Authentication

To protect your MCP server from unauthorized access, you can set the MCP_AUTH_TOKEN environment variable. When set, all requests to the /mcp endpoint must include a matching Bearer token:

export MCP_AUTH_TOKEN='your-secret-token-here'

Or add it to your .env file:

echo "MCP_AUTH_TOKEN=your-secret-token-here" >> .env

Clients must then include the token in the Authorization header:

curl -X POST http://localhost:3000/mcp \
  -H "Authorization: Bearer your-secret-token-here" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'

Note: If MCP_AUTH_TOKEN is not set, the server will accept all requests (useful for local development).

Using with Claude Desktop

Add this configuration to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%/Claude/claude_desktop_config.json

Without Authentication (Local Development)

{
  "mcpServers": {
    "whoop": {
      "command": "bun",
      "args": ["run", "/absolute/path/to/whoop-mcp/index.ts"],
      "env": {
        "WHOOP_EMAIL": "your-email@example.com",
        "WHOOP_PASSWORD": "your-password"
      }
    }
  }
}
{
  "mcpServers": {
    "whoop": {
      "command": "bun",
      "args": ["run", "/absolute/path/to/whoop-mcp/index.ts"],
      "env": {
        "WHOOP_EMAIL": "your-email@example.com",
        "WHOOP_PASSWORD": "your-password",
        "MCP_AUTH_TOKEN": "your-secret-token-here"
      }
    }
  }
}

Replace /absolute/path/to/whoop-mcp/ with the actual path to this directory.

Available Tools

The server provides five main tools for accessing your Whoop data:

whoop_get_overview

Retrieves comprehensive Whoop overview data for a specific date in a single API call.

Parameters:

  • date (optional) - Date in YYYY-MM-DD format. Defaults to today.

Returns:

  • Cycle Info: Cycle ID, day, date display, sleep state
  • Live Metrics: Recovery score, day strain, sleep hours, calories burned
  • Gauges: All score gauges from the home screen
  • Activities: Today's activities with scores and times
  • Key Statistics: HRV, RHR, VO2 Max, respiratory rate, steps with 30-day trends
  • Journal: Journal completion status

Example usage:

"Can you check my Whoop data for today?"
"What was my recovery score on 2024-01-15?"
"Show me my Whoop stats from yesterday"
"How many steps did I take and what were my activities today?"

whoop_get_sleep

Retrieves detailed sleep analysis and performance metrics.

Parameters:

  • date (optional) - Date in YYYY-MM-DD format. Defaults to today.

Returns:

  • Sleep performance score
  • Hours vs needed
  • Sleep consistency
  • Sleep efficiency
  • High sleep stress percentage
  • Personalized insights and recommendations

Example usage:

"How did I sleep last night?"
"What's my sleep performance for October 27?"
"Why is my sleep score low today?"

whoop_get_recovery

Retrieves comprehensive recovery deep dive analysis including contributors and trends.

Parameters:

  • date (optional) - Date in YYYY-MM-DD format. Defaults to today.

Returns:

  • Recovery score (0-100%)
  • Recovery contributors:
    • Heart Rate Variability (HRV)
    • Resting Heart Rate (RHR)
    • Respiratory Rate
    • Sleep Performance
  • Trend indicators vs 30-day baseline
  • Personalized coach insights

Example usage:

"What's my recovery score today?"
"Show me my recovery analysis for yesterday"
"How is my HRV trending compared to my baseline?"

whoop_get_strain

Retrieves comprehensive strain deep dive analysis including contributors, activities, and trends.

Parameters:

  • date (optional) - Date in YYYY-MM-DD format. Defaults to today.

Returns:

  • Strain score with target and optimal ranges
  • Strain contributors:
    • Heart Rate Zones 1-3
    • Heart Rate Zones 4-5
    • Strength Activity Time
    • Steps
  • Today's activities with individual strain scores
  • Trend indicators vs 30-day baseline
  • Personalized coach insights

Example usage:

"What's my strain score today?"
"Show me my strain analysis and activities"
"How much time did I spend in heart rate zones 4-5?"
"Did I reach my optimal strain target?"

whoop_get_healthspan

Retrieves comprehensive healthspan analysis including WHOOP Age (biological age) and pace of aging metrics.

Parameters:

  • date (optional) - Date in YYYY-MM-DD format. Defaults to today.

Returns:

  • WHOOP Age (biological age)
  • Age status (Younger, Same, Older vs. chronological age)
  • Years difference from chronological age
  • Pace of aging (e.g., 0.5x = aging slower than average)
  • Comparison with previous period
  • Weekly date range for healthspan measurement

Example usage:

"What's my WHOOP Age?"
"Show me my biological age and healthspan data"
"How fast am I aging compared to average?"
"Am I aging slower or faster than my chronological age?"

How It Works

The server automatically handles authentication:

  1. Logs in with your email/password on first request
  2. Stores the access token (valid for 24 hours)
  3. Automatically re-authenticates before token expires
  4. Retries failed requests after re-authentication

Security

Best Practices

  • Never commit your .env file or share your WHOOP credentials
  • The server stores Whoop authentication tokens in memory only (they expire after 24 hours)
  • Use MCP_AUTH_TOKEN when exposing the server to a network or untrusted clients
  • Generate strong, random tokens for MCP_AUTH_TOKEN (e.g., using openssl rand -hex 32)
  • When running in production or on a network, always set MCP_AUTH_TOKEN

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT - see LICENSE file for details

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Whoop MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/whoop-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools