io.github.davidmosiah/polarmcp
Privacy-first MCP server for Polar AccessLink — health, sleep and training data.
{
"mcpServers": {
"polarmcp": {
"command": "npx",
"args": [
"-y",
"polar-mcp-unofficial"
],
"env": {
"POLAR_CLIENT_ID": "<polar_client_id>",
"POLAR_CLIENT_SECRET": "<your-polar_client_secret>",
"POLAR_REDIRECT_URI": "<polar_redirect_uri>",
"POLAR_TOKEN_PATH": "<polar_token_path>",
"POLAR_PRIVACY_MODE": "<polar_privacy_mode>",
"POLAR_CACHE": "<polar_cache>",
"POLAR_CACHE_PATH": "<polar_cache_path>"
}
}
}
}{
"mcpServers": {
"polarmcp": {
"command": "npx",
"args": [
"-y",
"polar-mcp-unofficial"
],
"env": {
"POLAR_CLIENT_ID": "<polar_client_id>",
"POLAR_CLIENT_SECRET": "<your-polar_client_secret>",
"POLAR_REDIRECT_URI": "<polar_redirect_uri>",
"POLAR_TOKEN_PATH": "<polar_token_path>",
"POLAR_PRIVACY_MODE": "<polar_privacy_mode>",
"POLAR_CACHE": "<polar_cache>",
"POLAR_CACHE_PATH": "<polar_cache_path>"
}
}
}
}npx -y polar-mcp-unofficialPOLAR_CLIENT_IDPolar OAuth client ID. Optional when configured with polar-mcp-server setup.
POLAR_CLIENT_SECRETPolar OAuth client secret. Prefer polar-mcp-server setup so this secret is stored in ~/.polar-mcp/config.json instead of MCP client config.
POLAR_REDIRECT_URIRedirect URI configured in the Polar AccessLink admin. Optional when configured with polar-mcp-server setup.
POLAR_TOKEN_PATHOptional local path for OAuth tokens. Defaults to ~/.polar-mcp/tokens.json.
POLAR_PRIVACY_MODEOptional payload mode: summary, structured, or raw. Defaults to structured. raw means full Polar AccessLink payloads for supported endpoints.
POLAR_CACHEOptional SQLite cache toggle. Set to true or sqlite to enable.
POLAR_CACHE_PATHOptional local SQLite cache path. Defaults to ~/.polar-mcp/cache.sqlite.
AI-powered trading strategy development: backtesting, market data, and portfolio analysis
Feature flagging and A/B testing platform with AI-first experimentation workflows.
Query Meta Ads performance data — accounts, campaigns, ad sets, ads, metrics & settings.