Skip to content
Search articles

Connect Amazfit to the freddy CLI

Updated

On this page

Connect Amazfit through Zepp to bring sleep, HRV, heart rate, steps, workouts, and body composition into freddy.

What you can do with Amazfit data in the freddy CLI

  • Query your Amazfit sleep from a terminal with `freddy query`
  • Pipe your Amazfit HRV into a script for a headless agent
  • Query your Amazfit heart rate from a terminal with `freddy query`
  • Pipe your Amazfit steps into a script for a headless agent
  • Query your Amazfit workouts from a terminal with `freddy query`

Set up in a few steps

See the full freddy CLI guide

  1. Install the freddy CLI: run npm i -g @freddy-coach/cli (or use npx @freddy-coach/cli).
  2. Sign in with the connection scope: freddy login --scope "mcp account:read connections:write".
  3. Connect Amazfit: run freddy connect with its slug (freddy providers lists them), then approve in the browser.
  4. Read your data: run freddy metrics to see what is available, then freddy query --metrics hrv,sleep_duration --days 7.
  5. From a headless agent, run the same commands with --json for machine-readable output.
← Back to Amazfit

Need a hand?

Send the source name and the step you’re stuck on.

[email protected] ↗