Privacy-first, unofficial Fitbit MCP server for AI health, sleep, activity and heart-rate agents.

stdiocommunityservice

Package Details

Transportstdio

Environment Variables

FITBIT_CLIENT_ID(str)

Fitbit OAuth client ID. Optional when configured with fitbit-mcp-server setup.

FITBIT_CLIENT_SECRET(str)
Secret

Fitbit OAuth client secret. Prefer fitbit-mcp-server setup so this secret is stored in ~/.fitbit-mcp/config.json instead of MCP client config.

FITBIT_REDIRECT_URI(str)

Redirect URI configured in the Fitbit Developer Dashboard. Optional when configured with fitbit-mcp-server setup.

FITBIT_TOKEN_PATH(str)

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

FITBIT_PRIVACY_MODE(str)

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

FITBIT_CACHE(str)

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

FITBIT_CACHE_PATH(str)

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

FITBIT_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.