MCP.Market

Polar Health Data (self-hosted) MCP server

by StuMason·io.github.StuMason/polar-flow-server·v1.6.2·23 stars

Self-hosted Polar health analytics with a built-in MCP server: sleep, HRV, workouts, baselines.

B73/100grade B
What users say
No reviews yet
Be the first
Safety scan
B73/100

not scanned yet

Adoption
Growing

23 stars

Reviews

Write one

Nobody has reviewed Polar Health Data (self-hosted) yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Polar Health Data (self-hosted) tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Polar Health Data (self-hosted) compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
73/100
higher than 39% of 48,255 servers
GitHub stars
23
more than 91% of 28,688 servers

Release history: 4 versions in the registry since 2026-09-10, latest 2026-10-19, typically one every 17 days.

Install Polar Health Data (self-hosted) in Claude Code, Cursor or VS Code

claude mcp add polar-flow-server -- docker run -i --rm docker.io/stumason/polar-flow-server:1.6.2
Add to Cursor

What the publisher says

From the Polar Health Data (self-hosted) repository's README, as published. We do not edit it. Read it on GitHub

polar-flow-server

Self-hosted health analytics for Polar devices — own your data, analyze it against your own baselines, and let your AI assistant read it.

Full Documentation · MCP Server · Integration Guide · API Reference

What This Does

Your watch knows more about you than you do — and Polar's API only lets you see the last 28-30 days of it. This server syncs everything, keeps it forever, and turns it into answers:

  1. Syncs all 13 Polar API endpoints automatically — sleep, HRV, activity, workouts, SpO2, ECG, skin temperature, the lot
  2. Stores everything in PostgreSQL. Your data, your server, no cloud between you and it
  3. Computes personal baselines (rolling averages, IQR anomaly bounds) so "is this normal?" means normal for you
  4. Ships a built-in MCP server with OAuth sign-in — ask Claude "should I train hard today?" and it answers from your overnight HRV vs your baseline
  5. Admin dashboard (HTMX), REST API, per-user API keys, multi-user ready

Ask Your AI About Your Body (MCP)

A built-in Model Context Protocol server — protocol revision 2026-07-28, streamable HTTP — runs inside the main server at /mcp. Ten curated tools cover the one-shot health assessment, sleep, recovery, activity, workouts, seven biosensing streams, personal baselines, patterns/anomalies, and sync control.

In clients that render MCP Apps (claude.ai, Claude Desktop, VS Code), asking "how am I doing?" draws an actual card in the conversation:

Connecting is a sign-in, not a paste. With BASEURL set, the server is its own OAuth 2.1 authorization server: add https://your-server/mcp as a custom connector in Claude Desktop or claude.ai, click Connect, log in on your* server, approve the consent screen. Tokens are user-scoped, expire hourly, refresh automatically, and every connected app is revocable from Settings. API keys still work for headless clients:

claude mcp add polar-health https://your-server.example.com/mcp \
  --transport http \
  --header "X-API-Key: pfk_your_key_here"

Full setup in the MCP docs.

Architecture

Polar API → polar-flow SDK → Sync Service → PostgreSQL
                                                  ↓
                                           Admin Dashboard (HTMX)
                                                  ↓
                                             REST API

Stack:

  • Litestar (async web framework)
  • SQLAlchemy 2.0 (async ORM)
  • PostgreSQL
  • HTMX + Tailwind (admin UI)
  • polar-flow SDK v1.5.0

Don't fancy running a server? A hosted version is in the works — join the waitlist. Self-hosting stays free forever.

Quick Start

Option 1: Docker (Recommended)

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Polar Health Data (self-hosted): common questions

Is Polar Health Data (self-hosted) MCP server safe?
Mostly: it is graded B (73/100). Read the Polar Health Data (self-hosted) safety report
How do I install Polar Health Data (self-hosted)?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Polar Health Data (self-hosted) need an API key?
Yes. The registry entry asks for DATABASE_URL, POLAR_CLIENT_SECRET.
Is Polar Health Data (self-hosted) maintained?
The last commit was 51 days ago (2026-09-14). The latest release is v1.6.2.
How does Polar Health Data (self-hosted) compare with other MCP servers?
safety score 73/100 (higher than 39% of 48,255 servers); github stars 23 (more than 91% of 28,688 servers). Full comparison.