polarmcp
v0.3.6Privacy-first unofficial Polar AccessLink v4 MCP server for AI health, sleep and training agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
polar_data_inventory Polar Data Inventory
Inventory supported Polar data domains, auth scope requirements, privacy boundary and recommended first calls. Does not call Polar APIs or expose user data.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
polar_agent_manifest Polar Agent Manifest
Machine-readable install, runtime and client guidance for AI agents. Does not call Polar or expose secrets.
| Parameter | Type | Description |
|---|---|---|
client | string | |
response_format | string |
polar_capabilities Polar MCP Capabilities
Explain supported Polar data, privacy boundaries, recommended agent workflow and project links.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
polar_quickstart Polar Quickstart
Personalized 3-step setup walkthrough for the human user. Adapts to current state (env vars set? token present? what's next?). Call this first when the user asks 'how do I connect Polar?'
| Parameter | Type | Description |
|---|---|---|
response_format | string |
polar_demo Polar Demo
Returns realistic example payloads of polar_daily_summary, polar_wellness_context, and polar_list_nightly_recharge so agents see the contract before calling real Polar APIs.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
polar_get_auth_url Get Polar OAuth URL
Generate a Polar OAuth authorization URL. Use this first when no local token exists.
| Parameter | Type | Description |
|---|---|---|
response_format | string | |
scopes | array | Optional scope override. Defaults to read-only Polar scopes used by this server. |
state | string | Optional OAuth state value generated by the caller. |
polar_exchange_code Exchange Polar OAuth Code
Exchange a Polar OAuth authorization code for local tokens. Tokens are stored locally with 0600 permissions and are never returned.
| Parameter | Type | Description |
|---|---|---|
code * | string | OAuth authorization code, or a full redirect URL containing ?code=... |
response_format | string |
polar_get_account_data Polar Account Data
Read Polar user account fields exposed by AccessLink. Requires profile:read.
| Parameter | Type | Description |
|---|---|---|
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_activity Polar Daily Activity
List Polar daily activity records. Requires activity:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_calendar Polar Calendar
List Polar calendar entries in a date range. Requires calendar:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_continuous_samples Polar Continuous Samples
List continuous sample records for a date range. Requires continuous_samples:read. Not medical advice.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_nightly_recharge Polar Nightly Recharge
List Nightly Recharge results in a date range. Requires nightly_recharge:read. Not medical advice.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_ppi_samples Polar PPI Samples
List pulse-to-pulse interval samples in a date range. Requires ppi_data:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_skin_contacts Polar Skin Contacts
List skin contact periods in a date range. Requires skin_contact:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_sleeps Polar Sleeps
List Polar sleep records in a date range. Requires sleep:read. Not medical advice.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_sleep_wake_vectors Polar Sleep Wake Vectors
List sleep/wake vector records in a date range. Requires sleep:read. Not medical advice.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_sports Polar Sports
List sports available in the Polar ecosystem. Requires sports:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_sport_profile_catalog Polar Sport Profile Catalog
Load Polar sport profile catalog. Requires sports:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_sport_profiles Polar Sport Profiles
List the user's Polar sport profiles. Requires sports:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_subscriptions Polar Subscriptions
List user subscriptions and entitlements. Requires user_subscription:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_temperature_measurements Polar Temperature Measurements
List temperature measurements in a date range. Requires temperature_measurement:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_tests Polar Test Results
List Polar fitness/orthostatic/running test results in a date range. Requires tests:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_training_sessions Polar Training Sessions
List Polar training sessions in a date range. Requires training_sessions:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_training_targets Polar Training Targets
List calendar training targets in a date range. Requires training_targets:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_training_target_favorites Polar Training Target Favorites
List user training target favorites. Requires training_targets:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_list_user_devices Polar User Devices
List devices registered to the Polar user. Requires devices:read.
| Parameter | Type | Description |
|---|---|---|
after | string | Only return Polar records after this time. Converted to Polar's inclusive from query parameter. |
all_pages | boolean | Fetch multiple pages up to max_pages. |
before | string | Only return Polar records before this time. Converted to Polar's exclusive to query parameter. |
limit | integer | Local page-size hint used for pagination safety. |
max_pages | integer | Maximum pages to fetch when all_pages is true. |
page | integer | Polar page number. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_get_route Polar Route
Load a Polar route by route id. Routes are GPS-sensitive; default privacy modes redact coordinates. Requires routes:read.
| Parameter | Type | Description |
|---|---|---|
route_id * | string | Polar route id returned by a calendar or training-session record. |
privacy_mode | string | Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details. |
response_format | string |
polar_connection_status Polar Connection Status
Check local Polar config, token file, Node version, privacy mode, cache readiness and optional MCP client readiness without calling Polar or exposing secrets.
| Parameter | Type | Description |
|---|---|---|
client | string | |
response_format | string |
polar_cache_status Polar Cache Status
Show optional local SQLite cache status. Enable with POLAR_CACHE=sqlite or POLAR_CACHE=true.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
polar_privacy_audit Polar Privacy Audit
Return local privacy, cache, token-path and env-presence posture without revealing secret values.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
polar_revoke_access Revoke Polar OAuth Access
Delete the local Polar token file. Use only when the user explicitly wants to disconnect this MCP; revoke the remote grant from Polar if needed.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
polar_daily_summary Polar Daily Training Summary
Build a practical daily summary from Polar sleep, activity, Nightly Recharge and training data when available. Read-only and non-medical.
| Parameter | Type | Description |
|---|---|---|
days | integer | Lookback window for recent training context. |
response_format | string | |
timezone | string | IANA timezone used only for display, e.g. America/New_York. |
polar_weekly_summary Polar Weekly Training Review
Build a weekly Polar scorecard with sleep, activity, Nightly Recharge, training load context, bottlenecks and actions. Read-only and non-medical.
| Parameter | Type | Description |
|---|---|---|
compare_days | integer | Prior comparison window in days. Use 0 to disable comparison. |
days | integer | Recent analysis window in days. |
response_format | string | |
timezone | string | IANA timezone used only for display, e.g. America/New_York. |
polar_wellness_context Polar Wellness Context
Normalize Polar Nightly Recharge, sleep and training load into the shared wellness_context shape for recommendation engines.
| Parameter | Type | Description |
|---|---|---|
days | integer | Lookback window for normalized Polar wellness context. |
injury_flags | array | |
notes | string | |
response_format | string | |
soreness | array | |
timezone | string | IANA timezone used only for display, e.g. America/New_York. |
polar_profile_get Get Shared Wellness Profile
Read the canonical Delx Wellness profile shared with the other wellness MCP connectors (Nourish, Cycle Coach, CGM, etc.). Read-only. Profile stores only what the user typed during onboarding — never OAuth tokens, API keys, or biomarkers.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
polar_profile_update Update Shared Wellness Profile
Persist a partial patch to the canonical Delx Wellness profile. Requires explicit_user_intent=true after the user confirms they want to save. Rejects secret-like fields (oauth, token, api_key, password, cookie, refresh, session).
| Parameter | Type | Description |
|---|---|---|
patch * | object | Partial WellnessProfileDocument patch. Top-level keys: profile, goals, devices, training, nutrition, preferences, safety, notes. |
explicit_user_intent | boolean | Set to true ONLY after the user has explicitly confirmed they want to save this. Otherwise the tool refuses to write. |
response_format | string |
polar_onboarding Wellness Onboarding Flow
Read-only. Return the 11-question Delx Wellness onboarding flow (en or pt-BR), the current shared profile, missing critical fields, and a cross-connector hint. Use this when the user starts a fresh wellness session and you need to fill out preferred_name, goals, devices, training context, nutrition, preferences, and safety.
| Parameter | Type | Description |
|---|---|---|
locale | string | Onboarding locale. Defaults to en. |
response_format | string |