withingsmcp
MCP server by davidmosiah Community
Withings MCP connects AI agents to your Withings body measures, sleep, activity and heart data. It runs locally, so OAuth tokens stay on your machine. It is for people who want their assistant to review personal health trends.
Install withingsmcp
Built from the published package, never by AI.
claude mcp add withingsmcp -- npx -y withings-mcp-unofficialRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"withingsmcp": {
"args": [
"-y",
"withings-mcp-unofficial"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"withingsmcp": {
"args": [
"-y",
"withings-mcp-unofficial"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"withingsmcp": {
"args": [
"-y",
"withings-mcp-unofficial"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add withingsmcp -- npx -y withings-mcp-unofficial{
"mcpServers": {
"withingsmcp": {
"args": [
"-y",
"withings-mcp-unofficial"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add withingsmcp npx -y withings-mcp-unofficialGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the withingsmcp block.
About
withingsmcp is a local-first MCP server that connects AI agents to Withings body measures, sleep, activity, workouts and heart records. It uses the official Withings Public API and handles the signed OAuth flow on your machine, so tokens stay local and client secrets never reach the MCP client. Responses are normalized, and the default privacy mode is structured, with raw Withings JSON opt-in.
The server runs over stdio by default, with an optional loopback-only Streamable HTTP mode. It is aimed at people who use Claude, Cursor, Hermes or other MCP-compatible agents to review body composition, sleep and long-term health trends without copying numbers from the Withings app. It is an unofficial project, not affiliated with Withings, and it is not medical advice.
Written from the project's README and checked against it.
Tools it gives your assistant
withings_connection_statusVerifies local setup before calling Withings.withings_data_inventoryLists supported data domains, scopes, privacy modes and recommended first calls without calling Withings APIs.withings_daily_summaryReturns a body, sleep, activity and heart brief for today.withings_weekly_summaryReturns a scorecard, comparison vs prior week and a next-week plan.withings_list_body_measuresLists punctual weight and body composition records with date filters and a record limit.withings_list_sleep_summaryLists daily sleep summaries with heart rate and stage fields.withings_list_sleepLists detailed sleep records when the device exposes them.withings_list_activityLists daily activity summaries.withings_list_workoutsLists logged workouts.withings_list_heartLists heart records when the device and plan permit.
What you need
- A Withings account
- A Withings app created at the Withings partner dashboard with redirect URI http://127.0.0.1:3000/callback
- Node.js 20 or later
- Withings scopes user.activity and user.metrics
| Setting | Needed | What it is |
|---|---|---|
WITHINGS_Environment variable | Optional | Withings OAuth client ID. Optional when configured with withings-mcp-server setup. |
WITHINGS_Environment variable, secret | Optional | Withings OAuth client secret. Prefer withings-mcp-server setup so this secret is stored in ~/.withings-mcp/config.json instead of MCP client config. |
WITHINGS_Environment variable | Optional | Redirect URI configured in the Withings Developer Dashboard. Optional when configured with withings-mcp-server setup. |
WITHINGS_Environment variable | Optional | Optional local path for OAuth tokens. Defaults to ~/.withings-mcp/tokens.json. |
WITHINGS_Environment variable | Optional | Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Withings API payloads, not continuous 24/7 raw sensor telemetry. |
WITHINGS_Environment variable | Optional | Optional SQLite cache toggle. Set to true or sqlite to enable. |
WITHINGS_Environment variable | Optional | Optional local SQLite cache path. Defaults to ~/.withings-mcp/cache.sqlite. |
WITHINGS_Environment variable | Optional | Set to true to bypass the in-memory HTTP response cache (60s TTL for GET only). POST/PUT/DELETE and 4xx/5xx responses are never cached regardless. Note: Withings's wbsapi.withings.net is POST-only today, so this is currently a no-op. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Use withings_connection_status to check setup, then run withings_daily_summary.
- Call withings_weekly_summary and identify my biggest sleep or body bottleneck.
- List my body measures after 2026-04-01 and explain what changed in body composition.
Good to know
- Unofficial project, not affiliated with or endorsed by Withings.
- Not medical advice and not intended for diagnosis or treatment.
- Continuous sensor telemetry is not exposed by the Withings Public API.
- Authenticated response caching is disabled in version 0.6.0.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to withingsmcp
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
withingsmcp: common questions
Where are Withings tokens stored?
Tokens are stored in ~/.withings-mcp/tokens.json with 0600 permissions. The source says tools never return them.
Is withingsmcp an official Withings product?
No. The source describes it as an unofficial project, not affiliated with, endorsed by or supported by Withings.
Does the server give medical advice?
No. The source states it is for personal AI workflows, not diagnosis or treatment, even though some Withings data such as ECG or blood pressure may resemble medical signals.
How do I install withingsmcp?
In Claude Code run claude mcp add withingsmcp -- npx -y withings-mcp-unofficial. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is withingsmcp the official server?
withingsmcp is a community project by davidmosiah, not verified by a company domain.
Is withingsmcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is withingsmcp safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to withingsmcp?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does withingsmcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
