Skip to main content
Glama
madebydia
by madebydia

withings-mcp

Read-only Model Context Protocol server for Withings weight and body-composition history. It uses Withings' OAuth 2.0 web flow, refreshes rotating tokens automatically, and persists tokens in a private file (use a Railway volume in production).

Tools

  • get_measurements: normalized measurements for an inclusive date range.

  • get_weight_history: weight-focused history with kilograms and pounds.

  • get_latest_measurement: most recent weight/body-composition group.

  • get_authorization_status: configuration and authorization state without secrets.

Supported scale metrics include weight, fat-free mass, fat ratio, fat mass, muscle mass, hydration, bone mass, visceral fat, basal metabolic rate, and metabolic age. Availability depends on the scale model and the data Withings returned.

Related MCP server: Withings MCP Client

Environment

Variable

Purpose

WITHINGS_CLIENT_ID

Withings developer application client ID

WITHINGS_CLIENT_SECRET

Withings developer application secret

WITHINGS_REDIRECT_URI

Exact OAuth callback URI registered with Withings

WITHINGS_TOKEN_FILE

Persistent token path; defaults to /data/withings-token.json

MCP_AUTH_TOKEN

Bearer token required by /mcp

The service exposes /healthz, /oauth/start, /oauth/callback, and the protected /mcp endpoint. Starting OAuth does not expose data; the callback requires a short-lived Withings code and a one-time server-side state value. Measurement reads still require the separate MCP bearer token.

Local test

python3 -m venv .venv
.venv/bin/pip install --require-hashes -r requirements-dev.lock
.venv/bin/pytest

Railway

Mount a volume at /data, set the six variables above, and register this callback in the Withings developer dashboard:

https://<service-domain>/oauth/callback

After authorization, connect an MCP client to https://<service-domain>/mcp with Authorization: Bearer <MCP_AUTH_TOKEN>.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server that provides access to Oura Ring health and fitness data through the Oura API v2, enabling retrieval of sleep, activity, readiness, and other health metrics.
    Last updated
    95
    2
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables retrieval of health data from Withings smart scales including weight measurements and comprehensive body composition metrics like fat mass, muscle mass, and hydration levels. Supports multiple users, unit preferences, and OAuth authentication for secure access to personal health data.
    Last updated
    2
  • A
    license
    A
    quality
    A
    maintenance
    Provides read-only access to Withings health metrics including body composition, sleep, workouts, and ECG data with local SQLite caching and trend analysis. Features incremental synchronization, automatic OAuth token refresh, and supports all 200+ Withings measurement types for comprehensive health tracking.
    Last updated
    8
    GPL 3.0

View all related MCP servers

Related MCP Connectors

  • MCP server for Withings health data — sleep, activity, heart, and body metrics.

  • Hosted NeuroDock — stateless communication and planning tools over OAuth-secured Streamable HTTP.

  • The personal context layer for AI: your profile and files, read by any MCP client over OAuth.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/madebydia/withings-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server