Polar Health Data (self-hosted)
io.github.StuMason/polar-flow-server
v1.6.3Updated Nov 12, 2026local · Docker
Self-hosted Polar health analytics with a built-in MCP server: sleep, HRV, workouts, baselines.
Install
Needs 2 secrets. Replace 3 placeholders with your own values.
Run in your terminal. Replace 3 placeholders.
claude mcp add polar-flow-server -e 'DATABASE_URL=<your-database-url>' -e 'POLAR_CLIENT_ID=<your-polar-client-id>' -e 'POLAR_CLIENT_SECRET=<your-polar-client-secret>' -- docker run -i --rm -e DATABASE_URL -e POLAR_CLIENT_ID -e POLAR_CLIENT_SECRET docker.io/stumason/polar-flow-server:1.6.3Configuration
4 settings, 2 required secrets. Snippets use placeholders; keep real values out of shared config.
DATABASE_URLEnv var· required· secretPostgreSQL connection string, e.g. postgresql+asyncpg://user:pass@host:5432/polarPOLAR_CLIENT_SECRETEnv var· required· secretPolar AccessLink OAuth client secretPOLAR_CLIENT_IDEnv var· requiredPolar AccessLink OAuth client id (register at admin.polaraccesslink.com)BASE_URLEnv var· optionalPublic HTTPS base URL of this deployment; enables OAuth sign-in for MCP connectors
Links
Listed in the official MCP Registry since Nov 12, 2026. Mirrored daily; last checked Nov 26, 2026.