Polar Health Data (self-hosted)
v1.6.3Self-hosted Polar health analytics with a built-in MCP server: sleep, HRV, workouts, baselines.
Not smoke-tested: package runs a local HTTP server (not smoke-tested yet).
Values you need
| Variable | What it is | |
|---|---|---|
DATABASE_URL | required secret | PostgreSQL connection string, e.g. postgresql+asyncpg://user:pass@host:5432/polar |
POLAR_CLIENT_ID | required | Polar AccessLink OAuth client id (register at admin.polaraccesslink.com) |
POLAR_CLIENT_SECRET | required secret | Polar AccessLink OAuth client secret |
BASE_URL | optional | Public HTTPS base URL of this deployment; enables OAuth sign-in for MCP connectors |
No installable package or endpoint was found. See the README for build-from-source steps.
For AI agents
- Ask the user for: DATABASE_URL, POLAR_CLIENT_ID, POLAR_CLIENT_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (none) and that the values above are set.
Machine-readable: install.md · manifest.json