io.github.davidmosiah

google-health-mcp

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

stdiocommunityservice

Package Details

Transportstdio

Environment Variables

GOOGLE_HEALTH_CLIENT_ID(str)

Google Cloud OAuth client ID for Google Health API. Optional when configured with google-health-mcp-server setup.

GOOGLE_HEALTH_CLIENT_SECRET(str)
Secret

Google Cloud OAuth client secret. Prefer google-health-mcp-server setup so this secret is stored in ~/.google-health-mcp/config.json instead of MCP client config.

GOOGLE_HEALTH_REDIRECT_URI(str)

Redirect URI configured in the Google Cloud OAuth client. Optional when configured with google-health-mcp-server setup.

GOOGLE_HEALTH_TOKEN_PATH(str)

Optional local path for OAuth tokens. Defaults to ~/.google-health-mcp/tokens.json.

GOOGLE_HEALTH_PRIVACY_MODE(str)

Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Google Health API payloads, not continuous 24/7 raw sensor telemetry.

GOOGLE_HEALTH_CACHE(str)

Optional SQLite cache toggle. Set to true or sqlite to enable.

GOOGLE_HEALTH_CACHE_PATH(str)

Optional local SQLite cache path. Defaults to ~/.google-health-mcp/cache.sqlite.

GOOGLE_HEALTH_NO_CACHE(str)

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.