Skip to content
Claude Code

Polar Health Data (self-hosted) for Claude Code

io.github.stumason/polar-flow-server

Self-hosted Polar health analytics with a built-in MCP server: sleep, HRV, workouts, baselines.

client:Claude Code transport:stdio runtime:oci

Install Polar Health Data (self-hosted) in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add polar-flow-server -e DATABASE_URL=<DATABASE_URL> -e POLAR_CLIENT_ID=<POLAR_CLIENT_ID> -e POLAR_CLIENT_SECRET=<POLAR_CLIENT_SECRET> -e BASE_URL=<BASE_URL> -- docker run -i --rm docker.io/stumason/polar-flow-server:1.5.1

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Polar Health Data (self-hosted) in other clients