Skip to main content

Polarmcp

io.github.davidmosiah/polarmcp

v0.3.6Updated Jul 13, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add polarmcp -- npx -y [email protected]

Configuration

8 settings.

  • POLAR_CLIENT_SECRET
    Env var· optional· 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_CLIENT_ID
    Env var· optional
    Polar OAuth client ID. Optional when configured with polar-mcp-server setup.
  • POLAR_REDIRECT_URI
    Env var· optional
    Redirect URI configured in the Polar AccessLink admin. Optional when configured with polar-mcp-server setup.
  • POLAR_TOKEN_PATH
    Env var· optional
    Optional local path for OAuth tokens. Defaults to ~/.polar-mcp/tokens.json.
  • POLAR_PRIVACY_MODE
    Env var· optional
    Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Polar AccessLink payloads for supported endpoints.
  • POLAR_CACHE
    Env var· optional
    Optional SQLite cache toggle. Set to true or sqlite to enable.
Show 2 more
  • POLAR_CACHE_PATH
    Env var· optional
    Optional local SQLite cache path. Defaults to ~/.polar-mcp/cache.sqlite.
  • POLAR_NO_CACHE
    Env var· optional
    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.

Listed in the official MCP Registry since Jul 13, 2026. Mirrored daily; last checked Nov 26, 2026.