open source · v0.1.1

Fitbit CLI

Your Fitbit data, for you and your agents.

One small Rust binary to read your own Fitbit account. Pull steps, sleep, heart rate, and more in the terminal, or connect an AI agent through its built-in MCP server.

What it does

Get started

  1. Install

    Download a binary from the release page, or build from source.

    cargo install --git https://github.com/raitoxlol/fitbit-cli
  2. Authorize

    Follow the browser approval, then paste the full localhost redirect URL back into the terminal, as the README explains.

    fitbit-cli auth
  3. Read data

    Today’s activity, or last night’s sleep.

    fitbit-cli pull today
    fitbit-cli pull sleep
  4. For agents

    Add fitbit-cli with the argument mcp as a stdio MCP server in your agent’s configuration.

An unofficial tool

Fitbit CLI is not affiliated with Fitbit or Google. It uses an unofficial API that may change. It reads your own account and shares the Fitbit app’s request quota.