MCP directory
PH

Polar Health Data (self-hosted)

by github.com/StuMason · v1.6.3 · updated Nov 12, 2026

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

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm docker.io/stumason/polar-flow-server:1.6.3

Environment variables

  • DATABASE_URLrequiredsecret

    PostgreSQL connection string, e.g. postgresql+asyncpg://user:pass@host:5432/polar

  • POLAR_CLIENT_IDrequired

    Polar AccessLink OAuth client id (register at admin.polaraccesslink.com)

  • POLAR_CLIENT_SECRETrequiredsecret

    Polar AccessLink OAuth client secret

  • BASE_URL

    Public HTTPS base URL of this deployment; enables OAuth sign-in for MCP connectors

More from github.com/StuMason

More MCP servers