Withings MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Withings MCP Servershow my latest weight measurement"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
About The Project
A self-hosted MCP server that gives Claude access to your Withings health data. Uses MCP OAuth 2.0 with third-party delegation — when Claude connects, you're redirected to Withings to authorize. No manual token management needed.
11 read-only tools covering body measurements, activity, sleep, heart rate/ECG, and device information from Withings scales, watches, blood pressure monitors, thermometers, and sleep trackers.
Related MCP server: Withings MCP
Built With
Getting Started
Prerequisites
Docker and Docker Compose
A Withings developer account with a registered app
A Cloudflare Tunnel token
Withings App Setup
Go to developer.withings.com and log in to the Partner Hub
Create a new application
Set Redirect URL to
https://<your-tunnel-url>/withings-callbackNote your Client ID and Client Secret
Installation
Clone the repo
git clone https://github.com/npab19/withings-mcp.git cd withings-mcpCopy the environment template
cp .env.example .envFill in your credentials in
.env:WITHINGS_CLIENT_ID=your_client_id WITHINGS_CLIENT_SECRET=your_client_secret SERVER_URL=https://your-tunnel-url.example.com Cloudflare_Token=your_cloudflare_tunnel_tokenStart the services
docker compose up -d
Usage
Claude.ai Web Connectors
Set the connector URL to:
https://<your-tunnel-url>/mcpOAuth authentication will be handled automatically when you first connect.
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"withings": {
"type": "http",
"url": "https://<your-tunnel-url>/mcp"
}
}
}Available Tools
Category | Tools | Description |
Body Measurements | 1 | Weight, fat mass, muscle mass, bone mass, blood pressure, temperature, SpO2, hydration, and more |
Activity | 1 | Daily steps, distance, calories, elevation, heart rate zones |
Intraday Activity | 1 | Minute-level heart rate, steps, SpO2, HRV, calories, elevation |
Workouts | 1 | Exercise sessions with duration, calories, HR zones, swimming metrics |
Sleep | 1 | Minute-level sleep states, heart rate, respiration rate, snoring |
Sleep Summary | 1 | Nightly aggregates: sleep score, duration, phases, breathing disturbances |
Heart Recordings | 1 | ECG recording list with AFib classification |
Heart Signal | 1 | Raw ECG waveform data in microvolts |
Devices | 1 | Device type, model, battery, firmware, last sync |
Goals | 1 | Steps, sleep, and weight targets |
Roadmap
Core Withings API read endpoints
MCP OAuth 2.0 with Withings delegation
Docker + Cloudflare Tunnel deployment
Token persistence across restarts
Subscription/webhook support for real-time data
Write endpoints (log measurements, set goals)
Contributing
Fork the Project
Create your Feature Branch (
git checkout -b feature/AmazingFeature)Commit your Changes (
git commit -m 'Add some AmazingFeature')Push to the Branch (
git push origin feature/AmazingFeature)Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Acknowledgments
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Npab19/withings-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server