Skip to content
Search articles

Connect Google Health to the freddy CLI

Updated

On this page

Google Health holds the records of your Fitbit or Pixel Watch, your phone and the apps that share with it: sleep stages, heart rate, HRV, workouts, steps, weight and more.

What you can do with Google Health data in the freddy CLI

  • Query your Google Health sleep from a terminal with `freddy query`
  • Pipe your Google Health heart rate into a script for a headless agent
  • Query your Google Health HRV from a terminal with `freddy query`
  • Pipe your Google Health workouts into a script for a headless agent
  • Query your Google Health steps 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 Google Health: 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 Google Health

Need a hand?

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

support@freddy.coach ↗