Polar Health Data (self-hosted) for Windsurf
io.github.stumason/polar-flow-server
Self-hosted Polar health analytics with a built-in MCP server: sleep, HRV, workouts, baselines.
client:Windsurf
transport:stdio
runtime:oci
Install Polar Health Data (self-hosted) in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"polar-flow-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/stumason/polar-flow-server:1.5.1"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"POLAR_CLIENT_ID": "<POLAR_CLIENT_ID>",
"POLAR_CLIENT_SECRET": "<POLAR_CLIENT_SECRET>",
"BASE_URL": "<BASE_URL>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs