WHOOP MCP Server
An MCP server implementation for the WHOOP API
RyanLisse
README
WHOOP 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.
Recommended Servers
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
mcp-solver
A Model Context Protocol (MCP) server that exposes MiniZinc constraint solving capabilities to Large Language Models.
Excel Reader Server
A Model Context Protocol (MCP) server that provides tools for reading Excel (xlsx) files, enabling extraction of data from entire workbooks or specific sheets with results returned in structured JSON format.
MATLAB MCP Server
Integrates MATLAB with AI to execute code, generate scripts from natural language, and access MATLAB documentation seamlessly.