About WHOOP MCP Server
WHOOP MCP Server connects AI assistants to WHOOP fitness data through the WHOOP API. It provides access to profile, sleep, workout, recovery, and cycle information for WHOOP account holders with API access.
Key features
- 01Retrieve WHOOP profile data
- 02Read sleep data and analytics
- 03Fetch workout information
- 04Access recovery metrics
- 05View cycle data
Use cases
- 01Review sleep across a date range
- 02Inspect workout history
- 03Check recovery metrics
- 04Retrieve WHOOP profile and cycle details
MCP support
It implements an MCP server that exposes WHOOP API data to AI assistant clients. Access requires a WHOOP API key.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEWHOOP MCP Server
An MCP (Machine Conversation Protocol) server implementation for the WHOOP API.
Overview
This project provides a server that interfaces with the WHOOP API, allowing you to interact with your WHOOP fitness data. It follows the MCP architecture pattern, which enables interoperability with AI assistants.
Features
- Access to WHOOP user profile data
- Retrieve sleep data and analytics
- Fetch workout information
- Get recovery metrics
- View cycle data
Prerequisites
- Node.js (v16+)
- WHOOP account with API access
- WHOOP API key (obtained from WHOOP Developer Portal)
Installation
-
Clone this repository:
git clone https://github.com/RyanLisse/whoop-mcp-server.git cd whoop-mcp-server -
Install dependencies:
npm install -
Create a
.envfile based on the.env.exampletemplate:cp .env.example .env -
Edit the
.envfile and add your WHOOP API key and other configuration options.
Usage
Starting the Server
npm start
For development with auto-restart:
npm run dev
The server will start on the port specified in your .env file (default: 3000).
API Endpoints
All API endpoints require authentication with your WHOOP API key.
User Profile
GET /whoop/profile- Get user profile information
Sleep Data
GET /whoop/sleep?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD- Get sleep data for the specified date range
Workout Data
GET /whoop/workouts?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD- Get workout data for the specified date range
Recovery Data
GET /whoop/recovery?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD- Get recovery data for the specified date range
Cycle Data
GET /whoop/cycles?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD- Get cycle data for the specified date range
Authentication
Add your WHOOP API token to the Authorization header in your requests:
Authorization: Bearer YOUR_WHOOP_API_TOKEN
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.