Polar MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Polar MCP ServerHow was my sleep last night?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Polar MCP Server
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.
Quick Start (Public Instance)
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/mcpClaude will open an authorization window — log in with your Polar account
Start chatting about your fitness data!
Features
25 Tools Available
Category | Tools | Description |
Exercises |
| Training data with HR, speed, zones |
Exercise Export |
| Export in FIT, TCX, GPX formats |
Sleep |
| Sleep stages, score, duration |
Recovery |
| ANS charge, HRV, breathing rate |
Activity |
| Steps, calories, activity zones |
Heart Rate |
| 24/7 heart rate monitoring |
Training Load |
| TRIMP, acute/chronic load |
SleepWise |
| Alertness predictions, optimal bedtime |
Biosensing |
| Temperature, SpO2 data |
User |
| Profile, VO2max, resting HR |
Supported Devices
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...
Example Prompts
Once connected, ask Claude:
"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?"
Self-Hosting
Want to run your own instance? Two deployment options available:
Option 1: Cloudflare Workers (Recommended)
Prerequisites
Cloudflare account
Polar AccessLink API credentials
Setup
# 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 deployAfter deploying, add the callback URL to your Polar app:
https://YOUR-WORKER.workers.dev/callbackOption 2: Local (Claude Desktop)
# 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 authAdd 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"
}
}
}
}API Reference
All tools use the Polar AccessLink API v3.
Tool | Endpoint | Description |
|
| User profile |
|
| VO2max, max HR, resting HR |
|
| Last 30 days of workouts |
|
| Single workout details |
|
| Export formats |
|
| Sleep data |
|
| Recovery metrics |
|
| Daily activity |
|
| 24/7 HR |
|
| Training load |
|
| Alertness predictions |
|
| Body temp |
|
| Blood oxygen |
Troubleshooting
Error | Solution |
"Polar API error (403)" | Re-authorize or check if data sync is complete |
"Polar API error (404)" | Endpoint not available for your device/subscription |
No exercise data | Sync your Polar device to Polar Flow app first |
Privacy
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
Contributing
Contributions welcome! Please open an issue or PR.
License
MIT
Links
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NelsonNew/polar-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server