Server data from the Official MCP Registry
MCP server for the Withings Health API with OAuth, local SQLite cache, and trend analysis.
MCP server for the Withings Health API with OAuth, local SQLite cache, and trend analysis.
This is a well-structured Withings health data MCP server with OAuth authentication, local SQLite caching, and proper token management. The codebase demonstrates good security practices with read-only API access, no hardcoded credentials, and minimal dependencies. Minor code quality issues around error handling and input validation do not significantly impact security. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
6 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: WITHINGS_MCP_CONFIG_DIR
Environment variable: WITHINGS_MCP_DB_PATH
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-partymola-withings-mcp": {
"env": {
"WITHINGS_MCP_DB_PATH": "your-withings-mcp-db-path-here",
"WITHINGS_MCP_CONFIG_DIR": "your-withings-mcp-config-dir-here"
},
"args": [
"withings-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
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).
pip install withings-mcp
Or run it without installing with uvx withings-mcp. For development from a clone:
git clone https://github.com/partymola/withings-mcp.git
cd withings-mcp
uv venv --python 3.13 .venv
uv pip install -e .
http://localhost:8585.venv/bin/withings-mcp auth
This opens your browser for Withings authorization. After approving, tokens are saved locally in config/.
claude mcp add -s user withings -- /path/to/withings-mcp/.venv/bin/withings-mcp
In Claude Code, say: "Sync my Withings data"
This runs withings_sync to populate the local cache. Subsequent syncs only fetch new data.
You can also sync from the command line without an MCP client:
.venv/bin/withings-mcp sync # all data types, last 30 days
.venv/bin/withings-mcp sync --types body,sleep # a subset
.venv/bin/withings-mcp sync --days 90 # deeper history on first sync
withings-mcp Start the MCP server (stdio transport)
withings-mcp auth Interactive OAuth setup (opens the browser)
withings-mcp sync Sync data to the local cache (--types, --days)
withings-mcp --version Print the installed package version
| Environment Variable | Default | Description |
|---|---|---|
WITHINGS_MCP_CONFIG_DIR | ./config/ | Directory for credentials and tokens |
WITHINGS_MCP_DB_PATH | ./withings.db | SQLite database path |
# Install with dev dependencies
uv pip install -e . && uv pip install pytest
# Run tests (all use in-memory SQLite with fictional data)
.venv/bin/python -m pytest tests/ -v
config/ (gitignored, file permissions 0600)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
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.