withingsmcp

v0.4.7
io.github.davidmosiah/withingsmcp Checked 1 hour ago Published 5 months ago

Privacy-first, unofficial Withings MCP server for AI health, sleep, activity and heart-rate agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

withings_data_inventory Withings Data Inventory

Inventory supported Withings data domains, auth scope requirements, privacy boundary and recommended first calls. Does not call Withings APIs or expose user data.

ParameterTypeDescription
response_formatstring

withings_agent_manifest Withings Agent Manifest

Machine-readable install, runtime and client guidance for AI agents. Does not call Withings or expose secrets.

ParameterTypeDescription
clientstring
response_formatstring

withings_capabilities Withings MCP Capabilities

Explain supported Withings data, privacy boundaries, recommended agent workflow and project links.

ParameterTypeDescription
response_formatstring

withings_quickstart Withings Quickstart

Personalized 3-step setup walkthrough for the human user. Adapts to current state (env vars set? token present? what's next?). Call this first when the user asks 'how do I connect Withings?'

ParameterTypeDescription
response_formatstring

withings_demo Withings Demo

Returns realistic example payloads of withings_daily_summary, withings_wellness_context, and withings_list_body_measures so agents see the contract before calling real Withings APIs.

ParameterTypeDescription
response_formatstring

withings_get_auth_url Get Withings OAuth URL

Generate a Withings OAuth authorization URL. Use this first when no local token exists.

ParameterTypeDescription
response_formatstring
scopesarrayOptional scope override. Defaults to read-only Withings scopes used by this server.
statestringOptional OAuth state value generated by the caller.

withings_exchange_code Exchange Withings OAuth Code

Exchange a Withings OAuth authorization code for local tokens using Withings signed request flow. Tokens are stored locally and never returned.

ParameterTypeDescription
code *stringOAuth authorization code, or a full redirect URL containing ?code=...
response_formatstring

withings_list_body_measures Withings Body Measures

List Withings punctual measurements such as weight and body composition. Requires user.metrics scope. Not medical advice.

ParameterTypeDescription
afterstringOnly return Withings records after this time. Converted to Withings startdate.
all_pagesbooleanFetch multiple pages up to max_pages.
beforestringOnly return Withings records before this time. Converted to Withings enddate.
limitintegerUpstream page-size hint and local output cap used for pagination safety.
max_pagesintegerMaximum pages to fetch when all_pages is true.
pageintegerWithings page number.
privacy_modestringOptional per-call privacy override. Defaults to WITHINGS_PRIVACY_MODE or structured. raw returns upstream Withings JSON. summary minimizes sensitive health and profile details.
response_formatstring

withings_list_activity Withings Daily Activity

List Withings daily activity summaries. Requires user.activity scope.

ParameterTypeDescription
afterstringOnly return Withings records after this time. Converted to Withings startdate.
all_pagesbooleanFetch multiple pages up to max_pages.
beforestringOnly return Withings records before this time. Converted to Withings enddate.
limitintegerUpstream page-size hint and local output cap used for pagination safety.
max_pagesintegerMaximum pages to fetch when all_pages is true.
pageintegerWithings page number.
privacy_modestringOptional per-call privacy override. Defaults to WITHINGS_PRIVACY_MODE or structured. raw returns upstream Withings JSON. summary minimizes sensitive health and profile details.
response_formatstring

withings_list_workouts Withings Workouts

List Withings workouts. Requires user.activity scope.

ParameterTypeDescription
afterstringOnly return Withings records after this time. Converted to Withings startdate.
all_pagesbooleanFetch multiple pages up to max_pages.
beforestringOnly return Withings records before this time. Converted to Withings enddate.
limitintegerUpstream page-size hint and local output cap used for pagination safety.
max_pagesintegerMaximum pages to fetch when all_pages is true.
pageintegerWithings page number.
privacy_modestringOptional per-call privacy override. Defaults to WITHINGS_PRIVACY_MODE or structured. raw returns upstream Withings JSON. summary minimizes sensitive health and profile details.
response_formatstring

withings_list_sleep_summary Withings Sleep Summaries

List Withings sleep summaries with common sleep fields. Requires user.activity scope. Not medical advice.

ParameterTypeDescription
afterstringOnly return Withings records after this time. Converted to Withings startdate.
all_pagesbooleanFetch multiple pages up to max_pages.
beforestringOnly return Withings records before this time. Converted to Withings enddate.
limitintegerUpstream page-size hint and local output cap used for pagination safety.
max_pagesintegerMaximum pages to fetch when all_pages is true.
pageintegerWithings page number.
privacy_modestringOptional per-call privacy override. Defaults to WITHINGS_PRIVACY_MODE or structured. raw returns upstream Withings JSON. summary minimizes sensitive health and profile details.
response_formatstring

withings_list_sleep Withings Sleep Detail

List detailed Withings sleep data where available. Requires user.activity scope. Not medical advice.

ParameterTypeDescription
afterstringOnly return Withings records after this time. Converted to Withings startdate.
all_pagesbooleanFetch multiple pages up to max_pages.
beforestringOnly return Withings records before this time. Converted to Withings enddate.
limitintegerUpstream page-size hint and local output cap used for pagination safety.
max_pagesintegerMaximum pages to fetch when all_pages is true.
pageintegerWithings page number.
privacy_modestringOptional per-call privacy override. Defaults to WITHINGS_PRIVACY_MODE or structured. raw returns upstream Withings JSON. summary minimizes sensitive health and profile details.
response_formatstring

withings_list_heart Withings Heart Records

List Withings heart records where available. Requires user.metrics scope. Not medical advice.

ParameterTypeDescription
afterstringOnly return Withings records after this time. Converted to Withings startdate.
all_pagesbooleanFetch multiple pages up to max_pages.
beforestringOnly return Withings records before this time. Converted to Withings enddate.
limitintegerUpstream page-size hint and local output cap used for pagination safety.
max_pagesintegerMaximum pages to fetch when all_pages is true.
pageintegerWithings page number.
privacy_modestringOptional per-call privacy override. Defaults to WITHINGS_PRIVACY_MODE or structured. raw returns upstream Withings JSON. summary minimizes sensitive health and profile details.
response_formatstring

withings_connection_status Withings Connection Status

Check local Withings config, token file, Node version, privacy mode, cache readiness and optional MCP client readiness without calling Withings or exposing secrets.

ParameterTypeDescription
clientstring
response_formatstring

withings_cache_status Withings Cache Status

Show optional local SQLite cache status. Enable with WITHINGS_CACHE=sqlite or WITHINGS_CACHE=true.

ParameterTypeDescription
response_formatstring

withings_privacy_audit Withings Privacy Audit

Return local privacy, cache, token-path and env-presence posture without revealing secret values.

ParameterTypeDescription
response_formatstring

withings_revoke_access Clear Withings Local Access

Delete the local Withings token file. Withings token revocation support varies by app/API plan, so this tool only clears local access.

ParameterTypeDescription
response_formatstring

withings_daily_summary Withings Daily Wellness Summary

Build a practical daily summary from Withings activity, sleep and body/heart data when available. Read-only and non-medical.

ParameterTypeDescription
daysintegerLookback window for recent training context.
response_formatstring
timezonestringIANA timezone used only for display, e.g. America/New_York.

withings_weekly_summary Withings Weekly Wellness Review

Build a weekly Withings scorecard with sleep, activity, body measures, bottlenecks and actions. Read-only and non-medical.

ParameterTypeDescription
compare_daysintegerPrior comparison window in days. Use 0 to disable comparison.
daysintegerRecent analysis window in days.
response_formatstring
timezonestringIANA timezone used only for display, e.g. America/New_York.

withings_wellness_context Withings Wellness Context

Normalize Withings sleep and activity load into the shared wellness_context shape for recommendation engines.

ParameterTypeDescription
daysintegerLookback window for normalized Withings wellness context.
injury_flagsarray
notesstring
response_formatstring
sorenessarray
timezonestringIANA timezone used only for display, e.g. America/New_York.

withings_profile_get Get Delx Wellness Profile

Read the shared Delx Wellness profile from ~/.delx-wellness/profile.json. Returns preferred name, goals, devices, training/nutrition/exercise/agent preferences and safety flags. NEVER contains OAuth tokens or API secrets. Read-only.

ParameterTypeDescription
response_formatstring

withings_profile_update Update Delx Wellness Profile

Persist a partial patch to ~/.delx-wellness/profile.json. Requires explicit_user_intent=true (otherwise returns USER_ACTION_REQUIRED). Rejects secret-like fields (oauth, token, secret, password, cookie, refresh, api_key, session) at write time. Use to record preferred name, goals, devices, training context, nutrition context, exercise preferences, agent preferences, and safety flags.

ParameterTypeDescription
patch *objectPartial WellnessProfileDocument patch. Top-level keys: profile, goals, devices, training, nutrition, preferences, safety, notes.
explicit_user_intentbooleanMust be true to persist. Prevents accidental writes from agent inference.
response_formatstring

withings_onboarding Delx Wellness Onboarding Flow

Return the 11-question onboarding flow plus the current profile state and missing fields. Read-only — does NOT persist anything. Pair with withings_profile_update once the user answers. Cross-connector: the same profile is shared by every Delx Wellness MCP (whoop, garmin, oura, fitbit, strava, polar, withings, apple-health, samsung-health, google-health, nourish, cycle-coach, cgm, air).

ParameterTypeDescription
localestringOnboarding locale. Defaults to en.
response_formatstring