Sync WHOOP recovery, sleep, strain, and workouts into Postgres and query them from any MCP client.
Connect Runs on your machine
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
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
WHOOP_CLIENT_IDRequired, secret | Client ID of your WHOOP developer app (developer.whoop.com). |
WHOOP_CLIENT_SECRETRequired, secret | Client secret of your WHOOP developer app. |
WHOOP_REDIRECT_URIRequired | OAuth redirect URI, exactly as registered on the WHOOP app (e.g. http://localhost:8765/callback). |
WHOOP_DB_URLRequired, 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 published | 13 Sep 2026 |
| Last updated | 13 Sep 2026 |
| Registry name | io.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.
