WHOOP MCP for VS Code
io.github.cunicopia-dev/whoop-postgres-mcp
Sync WHOOP recovery, sleep, strain, and workouts into Postgres and query them from any MCP client.
client:VS Code
transport:stdio
runtime:pypi
Install WHOOP MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "whoop-client-id",
"description": "WHOOP_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "whoop-client-secret",
"description": "WHOOP_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "whoop-redirect-uri",
"description": "WHOOP_REDIRECT_URI",
"password": true
},
{
"type": "promptString",
"id": "whoop-db-url",
"description": "WHOOP_DB_URL",
"password": true
}
],
"servers": {
"whoop-postgres-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"whoop-postgres-mcp"
],
"env": {
"WHOOP_CLIENT_ID": "${input:whoop-client-id}",
"WHOOP_CLIENT_SECRET": "${input:whoop-client-secret}",
"WHOOP_REDIRECT_URI": "${input:whoop-redirect-uri}",
"WHOOP_DB_URL": "${input:whoop-db-url}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs