Connect Garmin to the freddy CLI
Garmin Connect tracks sleep, stress, Body Battery, HRV, steps, and detailed training load across runs, rides, and strength work.
What you can do with Garmin data in the freddy CLI
- Query your Garmin sleep from a terminal with `freddy query`
- Pipe your Garmin HRV into a script for a headless agent
- Query your Garmin stress from a terminal with `freddy query`
- Pipe your Garmin body battery into a script for a headless agent
- Query your Garmin training load from a terminal with `freddy query`
Set up in a few steps
- Install the freddy CLI: run npm i -g @freddy-coach/cli (or use npx @freddy-coach/cli).
- Sign in with the connection scope: freddy login --scope "mcp account:read connections:write".
- Connect Garmin: run freddy connect with its slug (freddy providers lists them), then approve in the browser.
- Read your data: run freddy metrics to see what is available, then freddy query --metrics hrv,sleep_duration --days 7.
- From a headless agent, run the same commands with --json for machine-readable output.