MCP Server
MCP
io.github.davidmosiah/polarmcp
Privacy-first unofficial Polar AccessLink v4 MCP server for AI health, sleep and training agents.
Install
npx -y polar-mcp-unofficial@0.3.6
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "polar-mcp-unofficial",
"version": "0.3.6",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Polar OAuth client ID. Optional when configured with polar-mcp-server setup.",
"format": "string",
"name": "POLAR_CLIENT_ID"
},
{
"description": "Polar OAuth client secret. Prefer polar-mcp-server setup so this secret is stored in ~/.polar-mcp/config.json instead of MCP client config.",
"format": "string",
"isSecret": true,
"name": "POLAR_CLIENT_SECRET"
},
{
"description": "Redirect URI configured in the Polar AccessLink admin. Optional when configured with polar-mcp-server setup.",
"format": "string",
"name": "POLAR_REDIRECT_URI"
},
{
"description": "Optional local path for OAuth tokens. Defaults to ~/.polar-mcp/tokens.json.",
"format": "string",
"name": "POLAR_TOKEN_PATH"
},
{
"description": "Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Polar AccessLink payloads for supported endpoints.",
"format": "string",
"name": "POLAR_PRIVACY_MODE"
},
{
"description": "Optional SQLite cache toggle. Set to true or sqlite to enable.",
"format": "string",
"name": "POLAR_CACHE"
},
{
"description": "Optional local SQLite cache path. Defaults to ~/.polar-mcp/cache.sqlite.",
"format": "string",
"name": "POLAR_CACHE_PATH"
},
{
"description": "Set to true to bypass the in-memory HTTP response cache (60s TTL for GET only). POST/PUT/DELETE and 4xx/5xx responses are never cached regardless.",
"format": "string",
"name": "POLAR_NO_CACHE"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment