Connect Withings to the freddy CLI
Withings devices track weight, body composition, sleep, heart rate, and blood pressure.
What you can do with Withings data in the freddy CLI
- Query your Withings body fat from a terminal with `freddy query`
- Pipe your Withings sleep into a script for a headless agent
- Query your Withings heart rate from a terminal with `freddy query`
- Pipe your Withings blood pressure into a script for a headless agent
- Query your Withings weight 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 Withings: 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.
Withings through the CLI. After signing in, run freddy connect withings and approve in the browser. Withings' API gives freddy sleep stages, weight and body-composition readings from the smart scales, heart rate, and HRV in ms_rmssd; sleep stages require a ScanWatch or the under-mattress sleep sensor. Run freddy metrics to see what your particular Withings devices expose.