Skip to content
MCP server

Polarmcp

Privacy-first unofficial Polar AccessLink v4 MCP server for AI health, sleep and…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.6
Listing updated
6 days ago

About Polarmcp

Polarmcp is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add polarmcp --env POLAR_CLIENT_SECRET='<POLAR_CLIENT_SECRET>' -- npx -y polar-mcp-unofficial

Add to claude_desktop_config.json

{
  "mcpServers": {
    "polarmcp": {
      "command": "npx",
      "args": [
        "-y",
        "polar-mcp-unofficial"
      ],
      "env": {
        "POLAR_CLIENT_SECRET": "<POLAR_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "polarmcp": {
      "command": "npx",
      "args": [
        "-y",
        "polar-mcp-unofficial"
      ],
      "env": {
        "POLAR_CLIENT_SECRET": "<POLAR_CLIENT_SECRET>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "polarmcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "polar-mcp-unofficial"
      ],
      "env": {
        "POLAR_CLIENT_SECRET": "<POLAR_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "polarmcp": {
      "command": "npx",
      "args": [
        "-y",
        "polar-mcp-unofficial"
      ],
      "env": {
        "POLAR_CLIENT_SECRET": "<POLAR_CLIENT_SECRET>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "polarmcp": {
      "command": "npx",
      "args": [
        "-y",
        "polar-mcp-unofficial"
      ],
      "env": {
        "POLAR_CLIENT_SECRET": "<POLAR_CLIENT_SECRET>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • POLAR_CLIENT_IDPolar OAuth client ID. Optional when configured with polar-mcp-server setup.
  • POLAR_CLIENT_SECRETPolar 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_URIRedirect URI configured in the Polar AccessLink admin. Optional when configured with polar-mcp-server setup.
  • POLAR_TOKEN_PATHOptional local path for OAuth tokens. Defaults to ~/.polar-mcp/tokens.json.
  • POLAR_PRIVACY_MODEOptional payload mode: summary, structured, or raw. Defaults to structured. raw means full Polar AccessLink payloads for supported endpoints.
  • POLAR_CACHEOptional SQLite cache toggle. Set to true or sqlite to enable.
  • POLAR_CACHE_PATHOptional local SQLite cache path. Defaults to ~/.polar-mcp/cache.sqlite.
  • POLAR_NO_CACHESet 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.

Pricing

Open source

Prices change. Check wellness.delx.ai before you buy.

Polarmcp FAQ

Is Polarmcp free?

Yes. Polarmcp is open source, so you can use and self-host it for free.

How do I add Polarmcp to Claude Code?

Run this command in your terminal: claude mcp add polarmcp --env POLAR_CLIENT_SECRET='<POLAR_CLIENT_SECRET>' -- npx -y polar-mcp-unofficial

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers