The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Withings MCP listing page.
MCP server for the Withings Health API with OAuth, local SQLite cache, and trend analysis.
What makes this different from other Withings MCP servers:
mcp (HTTP via stdlib)| Tool | Description | Data source |
|---|---|---|
withings_sync | Sync data from Withings API to local cache | Live API -> SQLite |
withings_get_body | Body composition (weight, fat%, muscle, bone, BP, SpO2) | Local cache (auto-syncs if stale) |
withings_get_sleep | Sleep summaries, or detailed phase time-series with detail=True | Cache (summary) / live (detail) |
withings_get_activity | Daily steps, distance, calories, active time | Local cache (auto-syncs if stale) |
withings_get_workouts | Workout sessions with type, duration, HR | Local cache (auto-syncs if stale) |
withings_get_heart | ECG recordings and AFib detection | Live API (always) |
withings_get_devices | Connected devices with battery status | Live API (always) |
withings_trends | Period averages, weekly/monthly/quarterly trends, comparisons | Local cache (auto-syncs if stale) |
The cache-backed query tools auto-sync when their data is stale, and accept live=True to bypass the cache and fetch straight from the Withings API. withings_get_heart and withings_get_devices are always live. withings_get_sleep(detail=True) returns minute-by-minute sleep phases (live, up to 7 days per request).
Or run it without installing with uvx withings-mcp. For development from a clone:
http://localhost:8585This opens your browser for Withings authorization. After approving, tokens are saved locally in config/.
In Claude Code, say: "Sync my Withings data"
This runs withings_sync to populate the local cache. Subsequent syncs only fetch new data.
If anything does not work - no data where you expect it, a sync that stops happening - run withings-mcp doctor. It reports the paths and credentials actually in use and what needs fixing, without making an API call.
You can also sync from the command line without an MCP client:
| Environment Variable | Default | Description |
|---|---|---|
WITHINGS_MCP_CONFIG_DIR | ./config/ | Directory for credentials and tokens |
WITHINGS_MCP_DB_PATH | ./withings.db | SQLite database path |
config/ (gitignored; created 0600 on POSIX - Windows ignores the mode and governs access by ACLs)scripts/check-no-data.sh) blocks database files and credentials from commits - install it with the one-liner in CONTRIBUTING.mdSee CONTRIBUTING.md for development setup, the test workflow, and the pre-commit hook. Changes are tracked in CHANGELOG.md.
GPL-3.0-or-later