Polar MCP Server

by nelsonnew

Not rated
GitHub

About

MCP server for Polar AccessLink API to export data from Polar watches.

Details

Author
nelsonnew
Categories
Other, API

Setup

Install Polar MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/nelsonnew/polar-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

An MCP (Model Context Protocol) server for the Polar AccessLink API. Connect your Polar fitness data to Claude AI - access workouts, sleep analysis, recovery metrics, heart rate data, and more.

No setup required!Use our hosted instance:
- In Claude:Settings → Integrations → Add MCP Server
- Enter the URL:https://polar-mcp-server.n-neuhaeusel.workers.dev/mcp
- Claude will open an authorization window — log in with your Polar account
- Start chatting about your fitness data!

- Polar Pacer / Pacer Pro
- Polar Vantage V2 / V3
- Polar Vantage M / M2
- Polar Grit X / Grit X Pro / Grit X2 Pro
- Polar Ignite / Ignite 2 / Ignite 3
- Polar Unite
- And more...

- "Show me my workouts from last week"
- "How was my sleep last night? Compare it to my weekly average"
- "Analyze my heart rate variability trends"
- "What's my current training load status?"
- "When should I go to bed tonight for optimal recovery?"
- "Export my last run as a GPX file"
- "How many steps did I take this month?"

Want to run your own instance? Two deployment options available:

Option 1: Cloudflare Workers (Recommended)

- Cloudflareaccount
-
Polar AccessLinkAPI credentials

# Clone and install git clone https://github.com/NelsonNew/polar-mcp-server.git cd polar-mcp-server npm install # Create KV namespace npx wrangler kv namespace create OAUTH_KV # Copy the ID to wrangler.toml # Set secrets npx wrangler secret put POLAR_CLIENT_ID npx wrangler secret put POLAR_CLIENT_SECRET # Deploy npm run deploy

After deploying, add the callback URL to your Polar app:

https://YOUR-WORKER.workers.dev/callback
# Clone and build git clone https://github.com/NelsonNew/polar-mcp-server.git cd polar-mcp-server npm install && npm run build # Get access token export POLAR_CLIENT_ID="your_client_id" export POLAR_CLIENT_SECRET="your_client_secret" npm run auth

Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{ "mcpServers": { "polar": { "command": "node", "args": ["/path/to/polar-mcp-server/dist/index.js"], "env": { "POLAR_ACCESS_TOKEN": "your_access_token" } } } }

All tools use thePolar AccessLink API v3.

- Your Polar credentials are never stored
- OAuth tokens are managed securely by the Cloudflare Workers OAuth provider
- Each user gets their own isolated MCP session
- No fitness data is logged or stored on our servers

Contributions welcome! Please open an issue or PR.

- Polar AccessLink API
-
Polar Developer Portal
-
MCP Protocol
-
Cloudflare Workers

Analyse endurance sports activities, build training plans and sync structured workouts to your sports watch.

Access Garmin Connect running data and training plan information.

A fitness data platform that aggregates data from providers like Strava and Fitbit, offering secure B2B API access.

A healthcare MCP server for EMRs like Cerner and Epic, providing tools to interact with FHIR data and medical resources.

Read-only access to your Alma nutrition data, meals, goals, scores, workouts, weight history, pantry, and grocery list.

AI-powered cycling training coach: personalized training plans, daily workouts, nutrition, strength training, fitness metrics (FTP, VO2Max), and Strava, Garmin, Wahoo, MyWhoosh, and Rouvy integrations.

FHIR MCP Server – helping you expose any FHIR Server or API as a MCP Server.

Local-first Garmin data warehouse: sync once into SQLite you own, then analyze trends, correlations, baselines and anomalies offline, even when Garmin's API breaks.

Healthcare FHIR R4 interoperability — patient records, care plans, clinical data exchange, HL7 compliance by MEOK AI Labs

Read/write Intervals.icu MCP server — 55+ tools across activities, streams, wellness, calendar, gear, and sport zones, plus structured workout generation for cycling, running, and swimming.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.