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
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