MCP directory
P

Polarmcp

by github.com/davidmosiah · v0.3.6 · updated Jul 13, 2026

Privacy-first unofficial Polar AccessLink v4 MCP server for AI health, sleep and training agents.

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • POLAR_CLIENT_ID

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

  • POLAR_CLIENT_SECRETsecret

    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

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

  • POLAR_TOKEN_PATH

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

  • POLAR_PRIVACY_MODE

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

  • POLAR_CACHE

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

  • POLAR_CACHE_PATH

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

  • POLAR_NO_CACHE

    Set to true to bypass the in-memory HTTP response cache (60s TTL for GET only). POST/PUT/DELETE and 4xx/5xx responses are never cached regardless.

More from github.com/davidmosiah

More MCP servers