npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@scom82/whoop-mcp

v0.1.0

Published

MCP server for WHOOP health data via whoop-web read-API

Downloads

30

Readme

@scom82/whoop-mcp

MCP server that exposes WHOOP health data to Claude Code via the whoop-web read-API.

Transport: stdio. Reads data from a self-hosted FastAPI backend (whoop-web); does not call the WHOOP API directly.

Installation

npx @scom82/whoop-mcp

Or pin a version:

npx @scom82/[email protected]

Requirements

  • Node.js 20+
  • A running whoop-web instance (FastAPI, part of whoop-stack)
  • Two environment variables set before launch (see below)

Configuration

Set the following environment variables before starting the server. Never hardcode values.

| Variable | Description | |---|---| | WHOOP_WEB_BASE_URL | Base URL of your whoop-web instance, e.g. https://whoop.scom-it.ru | | WHOOP_MCP_API_TOKEN | Bearer token for whoop-web read-API (/api/v1/*) |

Recommended: source secrets from a file before launch.

source ~/.secrets/secrets.env
npx @scom82/whoop-mcp

Usage with Claude Code

Add to your .mcp.json via a wrapper script that sources secrets:

{
  "mcpServers": {
    "whoop": {
      "command": "/path/to/_system/scripts/whoop-mcp.sh"
    }
  }
}

Example wrapper (_system/scripts/whoop-mcp.sh):

#!/bin/bash
source "$HOME/.secrets/secrets.env"
exec npx -y @scom82/whoop-mcp

Tools

| Tool | Description | |---|---| | whoop_latest_recovery | Latest recovery score, HRV, resting HR, sleep performance | | whoop_latest_sleep | Latest sleep metrics (duration, stages, disturbances) | | whoop_latest_strain | Latest strain score and activity summary | | whoop_recovery_range | Recovery scores for a date range | | whoop_sleep_range | Sleep metrics for a date range | | whoop_workouts_range | Workouts for a date range | | whoop_trends | Recovery / sleep / strain trends with statistical summary | | whoop_weight_trend | Body weight trend | | whoop_sync_status | Last sync timestamp and sync service health |

Source

Part of the whoop-stack mono-repo: github.com/SCom-82/whoop-stack (private).