NestDaddy

WHOOP MCP

io.github.cunicopia-dev/whoop-postgres-mcp · v0.1.0

Sync WHOOP recovery, sleep, strain, and workouts into Postgres and query them from any MCP client.

Connect Runs on your machine

Terminal
claude mcp add whoop-postgres-mcp -e WHOOP_CLIENT_ID=<WHOOP_CLIENT_ID> -e WHOOP_CLIENT_SECRET=<WHOOP_CLIENT_SECRET> -e WHOOP_REDIRECT_URI=<WHOOP_REDIRECT_URI> -e WHOOP_DB_URL=<WHOOP_DB_URL> -- uvx whoop-postgres-mcp==0.1.0
claude_desktop_config.json
{
  "mcpServers": {
    "whoop-postgres-mcp": {
      "command": "uvx",
      "args": [
        "whoop-postgres-mcp==0.1.0"
      ],
      "env": {
        "WHOOP_CLIENT_ID": "<WHOOP_CLIENT_ID>",
        "WHOOP_CLIENT_SECRET": "<WHOOP_CLIENT_SECRET>",
        "WHOOP_REDIRECT_URI": "<WHOOP_REDIRECT_URI>",
        "WHOOP_DB_URL": "<WHOOP_DB_URL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "whoop-postgres-mcp": {
      "command": "uvx",
      "args": [
        "whoop-postgres-mcp==0.1.0"
      ],
      "env": {
        "WHOOP_CLIENT_ID": "<WHOOP_CLIENT_ID>",
        "WHOOP_CLIENT_SECRET": "<WHOOP_CLIENT_SECRET>",
        "WHOOP_REDIRECT_URI": "<WHOOP_REDIRECT_URI>",
        "WHOOP_DB_URL": "<WHOOP_DB_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "whoop-postgres-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "whoop-postgres-mcp==0.1.0"
      ],
      "env": {
        "WHOOP_CLIENT_ID": "<WHOOP_CLIENT_ID>",
        "WHOOP_CLIENT_SECRET": "<WHOOP_CLIENT_SECRET>",
        "WHOOP_REDIRECT_URI": "<WHOOP_REDIRECT_URI>",
        "WHOOP_DB_URL": "<WHOOP_DB_URL>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
WHOOP_CLIENT_ID
Required, secret
Client ID of your WHOOP developer app (developer.whoop.com).
WHOOP_CLIENT_SECRET
Required, secret
Client secret of your WHOOP developer app.
WHOOP_REDIRECT_URI
Required
OAuth redirect URI, exactly as registered on the WHOOP app (e.g. http://localhost:8765/callback).
WHOOP_DB_URL
Required, secret
Postgres DSN the server syncs into and reads from (e.g. postgresql://user:pass@localhost:5432/whoop). Tokens are stored in this database.

Details

Package[email protected] (PYPI, stdio)
First published13 Sep 2026
Last updated13 Sep 2026
Registry nameio.github.cunicopia-dev/whoop-postgres-mcp

More databases servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.