Polar Health Data (self-hosted) for Cursor
io.github.stumason/polar-flow-server
Self-hosted Polar health analytics with a built-in MCP server: sleep, HRV, workouts, baselines.
client:Cursor
transport:stdio
runtime:oci
Install Polar Health Data (self-hosted) in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"polar-flow-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/stumason/polar-flow-server:1.5.1"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"POLAR_CLIENT_ID": "<POLAR_CLIENT_ID>",
"POLAR_CLIENT_SECRET": "<POLAR_CLIENT_SECRET>",
"BASE_URL": "<BASE_URL>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs