
Polarmcp
Connect Polar AccessLink v4 so your coding agent can query sleep, training, and health summaries for fitness or wellness side projects without building OAuth yourself.
Overview
Polar MCP is a Build-phase MCP server that connects AI coding agents to Polar AccessLink v4 health, sleep, and training data with local OAuth tokens and privacy modes.
What is this MCP server?
- Unofficial Polar AccessLink v4 MCP over stdio npm package polar-mcp-unofficial (v0.3.5)
- OAuth client credentials with optional polar-mcp-server setup storing secrets in ~/.polar-mcp/config.json
- Configurable POLAR_PRIVACY_MODE for how much health detail agents see
- Local token storage default ~/.polar-mcp/tokens.json with optional POLAR_TOKEN_PATH override
- Built for AI health, sleep, and training agents with privacy-first defaults
- Server version 0.3.5
- Single stdio npm package polar-mcp-unofficial
- Polar AccessLink API v4 surface (unofficial)
Community signal: 1 GitHub stars.
What problem does it solve?
Building a Polar OAuth client and token refresh loop steals time from the actual health or fitness product you wanted to ship.
Who is it for?
Indie builders with a Polar AccessLink app who want agent-readable training and sleep data on localhost via stdio.
Skip if: Teams that need an official Polar-supported connector, server-side multi-user hosting, or health workflows with no wearable OAuth setup.
What do I get? / Deliverables
After install, your agent can call Polar-backed MCP tools using stored tokens and privacy settings while you focus on app logic and prompts.
- Agent-callable Polar health, sleep, and training MCP tools
- Local OAuth token file (default ~/.polar-mcp/tokens.json)
- Privacy-scoped responses via POLAR_PRIVACY_MODE
Recommended MCP Servers
Journey fit
MCP servers wire external APIs into agent workflows during product build, not at ideation or launch-only steps. Polar is an OAuth-backed third-party data source; integrations is the canonical shelf for stdio MCP connectors in Skillselion.
How it compares
MCP integration to Polar’s API, not a training plan skill or mobile app template.
Common Questions / FAQ
Who is Polar MCP for?
Solo developers and small teams building AI-assisted health, sleep, or endurance tools who already use Polar hardware and AccessLink.
When should I use Polar MCP?
Use it during build when your agent must read recent Polar metrics to personalize coaching, recovery notes, or internal dashboards.
How do I add Polar MCP to my agent?
Add the npm stdio server polar-mcp-unofficial to your MCP client config, run polar-mcp-server setup for OAuth, and set POLAR_PRIVACY_MODE if you need stricter redaction.