Privacy-first MCP server for Polar AccessLink — health, sleep and training data.

stdiocommunityservice

Package Details

Transportstdio

Environment Variables

POLAR_CLIENT_ID(str)

Polar OAuth client ID. Optional when configured with polar-mcp-server setup.

POLAR_CLIENT_SECRET(str)
Secret

Polar OAuth client secret. Prefer polar-mcp-server setup so this secret is stored in ~/.polar-mcp/config.json instead of MCP client config.

POLAR_REDIRECT_URI(str)

Redirect URI configured in the Polar AccessLink admin. Optional when configured with polar-mcp-server setup.

POLAR_TOKEN_PATH(str)

Optional local path for OAuth tokens. Defaults to ~/.polar-mcp/tokens.json.

POLAR_PRIVACY_MODE(str)

Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Polar AccessLink payloads for supported endpoints.

POLAR_CACHE(str)

Optional SQLite cache toggle. Set to true or sqlite to enable.

POLAR_CACHE_PATH(str)

Optional local SQLite cache path. Defaults to ~/.polar-mcp/cache.sqlite.