| name | fitbit |
| description | Query Fitbit health data (activity, sleep, heart rate, weight) via CLI. Use when answering health/fitness questions that require Fitbit data, or when the user asks about their steps, sleep, heart rate, or weight from Fitbit. |
| metadata | {"clawdbot":{"emoji":"💪","requires":{"bins":["fitbit"]}}} |
Fitbit CLI
Retrieve health and fitness data from Fitbit's Web API.
Setup
- Register an app at https://dev.fitbit.com/apps
- OAuth 2.0 Application Type: Personal
- Callback URL:
http://localhost:18787/callback
- Run
fitbit configure and enter your Client ID
- Run
fitbit login to authorize
Quick Reference
fitbit configure
fitbit login
fitbit logout
fitbit status
fitbit profile
fitbit activity [date]
fitbit activity steps [date]
fitbit summary [date]
fitbit today
Options
All commands support:
--json — JSON output
--no-color — Plain text output
--verbose — Debug/HTTP details
--tz <zone> — Override timezone (e.g., America/Chicago)
Examples
fitbit activity steps
fitbit summary 2026-01-25 --json
fitbit status
Notes
- Dates default to today if omitted
- Date format:
YYYY-MM-DD or today
- Tokens are stored in
~/.config/fitbit-cli/tokens.json (chmod 600)
- Token refresh is automatic