Price Per TokenPrice Per Token
WHOOP

WHOOP

by jedpattersonn

GitHub 9 496 uses Remote
0

About

WHOOP is a fitness data integration service that connects your WHOOP wearable biometric data to AI assistants. It surfaces insights about sleep, recovery, training strain, and health metrics to help optimize daily readiness and workload decisions. Key features of WHOOP: - Daily metrics overview with comprehensive biometric summaries for any date range - Sleep analysis including performance scores, sleep stages, and quality metrics - Recovery tracking with HRV (heart rate variability), resting heart rate, and recovery percentage - Strain monitoring with day strain scores, heart rate zone distribution, and logged activities - Healthspan metrics showing biological age and pace of aging calculations - Trend analysis for understanding long-term patterns in readiness and sleep quality

README

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.

[](https://railway.com/deploy/F1iI46?referralCode=I5P95N&utm_medium=integration&utm_source=template&utm_campaign=generic)

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
    

    2. 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'
    

    3. Install dependencies:

    bun install
    

    4. 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

    2. Build the Docker image:

    docker build -t whoop-mcp .
    

    3. 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.

    4. View logs:

    docker logs -f whoop-mcp
    

    5. 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):

    | Variable | Required | Default | Description | | ---------------- | -------- | ------- | ---------------------------------------------- | | WHOOP_EMAIL | Yes | - | Your Whoop account email | | WHOOP_PASSWORD | Yes | - | Your Whoop account password | | MCP_AUTH_TOKEN | No | - | Optional authentication token for MCP requests | | PORT | No | 3000 | Server 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

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81