renpho-mcp
A read-only MCP server for querying RENPHO Health smart scale data from your own account or a linked family profile.
View account info:
get_current_userreturns the logged-in account profile without credentials/tokens.List scale profiles:
get_scale_usersshows linked scale tables and profile IDs, useful for selecting a family member.Get latest measurement:
get_latest_measurementreturns the most recent body composition reading (weight, BMI, body fat, water, muscle, bone, BMR, etc.) or null.Get measurement history:
get_measurementsreads past readings newest-first, with optionalscaleUserId, date range (since/until), and pagination (limit/offset).Analyze weight trends:
get_weight_trendsummarizes positive weights over the past N days (1–3650) in native kg, lb, or stone.Check connectivity:
health_checkverifies login and scale discovery without exposing data.Reset authentication:
refresh_sessionclears the in-memory session so the next request logs in again.All tools are read-only, preserve native RENPHO units and IDs, and do not modify or upload any scale data.
Click on "Deploy 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., "@renpho-mcp What was my latest body composition reading?"
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.
RENPHO MCP
A read-only Model Context Protocol server for RENPHO Health smart scale data. Ask your MCP client for your latest reading, body composition history, or weight change over time.
Built in TypeScript with the official MCP SDK. The research report explains the language choice and documents the encrypted API contract.
Requires RENPHO Health, not the legacy RENPHO app. This project uses an unofficial API and is not affiliated with RENPHO. Automated tests use synthetic data; live account compatibility has not yet been verified.
Install
Install Node.js 20.19.6 or newer, then run the public npm package:
npx -y @jegormeister/renpho-mcpThe server uses stdio and waits for an MCP client. Supply the environment variables described below through that client.
You can also download renpho-mcp.cjs and THIRD_PARTY_NOTICES.txt from the latest release. The bundle includes its dependencies and runs on macOS, Linux, and Windows with Node.
node /absolute/path/renpho-mcp.cjs --versionAlternatively, install the command globally:
pnpm add --global @jegormeister/renpho-mcp
renpho-mcp --versionPackages are published as @jegormeister/renpho-mcp. Downloadable bundles are hosted on GitHub.
Related MCP server: Renpho MCP Server
MetaMCP
Create a STDIO server with command npx and arguments -y @jegormeister/renpho-mcp. Set RENPHO_EMAIL, RENPHO_PASSWORD, and optionally RENPHO_AREA_CODE in the server's environment. Node.js 20.19.6 or newer must be available inside the MetaMCP runtime.
For JSON import:
{
"mcpServers": {
"renpho": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@jegormeister/renpho-mcp"],
"env": {
"RENPHO_EMAIL": "your-account-email",
"RENPHO_PASSWORD": "your-account-password",
"RENPHO_AREA_CODE": "US"
}
}
}
}Pin a version, such as @jegormeister/renpho-mcp@0.1.4, when you want upgrades to be explicit.
Configure your MCP client
For clients using mcpServers JSON configuration:
{
"mcpServers": {
"renpho": {
"command": "node",
"args": ["/absolute/path/renpho-mcp.cjs"],
"env": {
"RENPHO_EMAIL": "your-account-email",
"RENPHO_PASSWORD": "your-account-password",
"RENPHO_AREA_CODE": "US"
}
}
}
}Use an absolute path to node too if your desktop client cannot find it. On Windows, escape backslashes in JSON or use forward slashes. Keep the client configuration private.
Environment variable | Meaning |
| Required RENPHO Health account email |
| Required account password |
| Two uppercase letters, defaults to |
The server connects only to https://cloud.renpho.com. Other regional hosts and every possible country code have not been verified. It reads variables from the process environment and does not load credential files.
Tools
Tool | Inputs | Result |
| None | Allowlisted account profile, excluding tokens and passwords |
| None | Scale tables and linked profile IDs |
| Optional | Latest owned reading with available body composition fields, or null |
| Optional | Newest-first history, pagination and scan metadata |
| Optional | Weight statistics for a complete scan, or a reason statistics are unavailable |
| None | Login and scale discovery status |
| None | Clear the local session so the next request logs in again |
Example requests:
"Show my latest RENPHO body composition reading."
"List the scale profiles linked to my account."
"Show my weight trend for the past 30 days."
"Get my measurements between August 1 and September 1, 2026."
History accepts ISO 8601 timestamps with a timezone, such as 2026-08-01T00:00:00Z. Both date bounds are inclusive. limit defaults to 100 and is capped at 500; offset defaults to 0. Trend days defaults to 30 and accepts 1–3650.
Ownership, units, and completeness
By default, readings must have a bUserId matching the logged-in account. The server never guesses the first linked person. If readings are missing, call get_scale_users, identify the intended profile, and pass its ID as scaleUserId. That explicitly selects measurements by subUserId. A linked family profile may contain another person's health data.
Measurements retain native RENPHO field names and values. timeStamp is Unix seconds. IDs are strings, including large IDs that JavaScript cannot represent exactly as numbers. Common fields include weight, weightUnit, bmi, bodyfat, water, muscle, bone, bmr, visfat, protein, bodyage, subfat, sinew, and heartRate. Missing metrics are not replaced with zero.
Public reverse-engineering sources map weight-unit codes 1 to kg, 2 to lb, 3 to stone/pounds, and 4 to stone. These mappings have not been confirmed against a live account here. A missing code means unspecified units; the account's display preference is not substituted. Some composition units disagree between existing clients. This server does not convert them or add medical classifications. See the source evidence.
The client scans every linked scale table forward, up to 50 requests of 200 readings per history scan. It does not trust reported counts or assume page ordering. It filters ownership and dates, deduplicates IDs, and sorts before applying the output limit. scanComplete: false means the cap prevented a complete scan; hasMore refers only to already-scanned matching rows. Latest and trend tools return errors on incomplete scans instead of treating partial history as authoritative. Concurrent uploads can still change the upstream data during pagination, so this is not a database snapshot.
Weight trends omit missing, zero, and negative weights and refuse to mix different unit codes. Trends also require a known scalar unit code: kg, lb, or stone. Missing codes, unknown codes, and mixed stone/pounds return an unavailable summary. Values remain in their native units. No measurement cache is used, so each read checks the cloud again. Login sessions stay in memory for at most 45 minutes; HTTP 401 triggers one reauthentication attempt.
Troubleshooting
Run
health_checkto distinguish connection failures from an empty measurement history.For a rejected login, check account credentials, RENPHO Health app access, and the area code. Single sign-on without an account password may require setting a password in RENPHO first.
If discovery succeeds but no readings match, select a known linked profile explicitly. Sync the mobile app if Wi-Fi readings have not yet been assigned or uploaded.
refresh_sessionrefreshes authentication only. It does not force a scale upload or bind unassigned readings.Unexpected encrypted data or response formats may indicate an upstream API change. Error messages exclude raw server responses.
The process exposes stdio only. There is no listening HTTP server in production. Credentials go to RENPHO over HTTPS. Returned health data goes to your MCP client and may be processed by its model provider. The server does not write credentials or measurements to disk.
Development
git clone https://github.com/jegork/renpho-mcp.git
cd renpho-mcp
pnpm install --frozen-lockfile
pnpm checkpnpm check runs strict type checking, encrypted HTTP integration tests against a local synthetic server, MCP tool tests, the bundle build, and a stdio smoke test. No live RENPHO credentials are needed. CI runs Node 20.19.6, 22, and 24 on Linux and Node 24 on macOS and Windows.
The API client lives in src/renpho.ts, encryption and lossless JSON parsing in src/protocol.ts, and MCP tool registration in src/server.ts. This keeps upstream API changes separate from MCP wiring.
Releases
Update package.json's version and docs/release-notes.md, run pnpm install --lockfile-only and pnpm check, then commit and push. Create and push a matching tag:
git tag v0.1.4
git push origin v0.1.4The release workflow checks all CI platforms, verifies that the tag matches the package version, builds and smoke-tests the bundle, publishes to npm with provenance, and publishes a GitHub release. Assets include the bundle, package archive, third-party notices, documentation, and SHA-256 checksums.
npm publishing uses GitHub Actions OIDC. The package's trusted publisher must allow direct publishing from repository jegork/renpho-mcp, workflow release.yml, with no environment restriction. The workflow has id-token: write; no npm token or RENPHO credentials are stored in GitHub. Connecting a GitHub profile to an npm account is separate from granting this package-specific permission. See npm's trusted publishing documentation.
Credits and license
MIT. API behavior was studied in StartupBros-com/renpho-mcp-server, with its MIT attribution retained in NOTICE. Additional protocol evidence is linked in docs/research.md. Bundled dependency licenses are included in each release.
Available Tools
7 toolsget_current_userARead-onlyIdempotent
Read the logged-in RENPHO Health account profile. Credentials and tokens are excluded.
Inputs: no named parameters.
get_latest_measurementARead-onlyIdempotent
Read the latest owned measurement and all available body composition fields. Returns null when none match. Refuses to claim latest if the scan limit is reached.
Inputs: scaleUserId.
get_measurementsARead-onlyIdempotent
Read body composition history, newest first, with native RENPHO fields and unit codes. Filters ownership before pagination. Check scanComplete before treating results as complete. No health classifications are computed.
Inputs: limit, since, until, offset, +1 more.
get_scale_usersARead-onlyIdempotent
List linked scale tables and profile IDs. Use a returned userIds value as scaleUserId when selecting a family profile.
Inputs: no named parameters.
get_weight_trendARead-onlyIdempotent
Summarize positive weight readings over the past N days in native kg, lb, or stone. Rejects incomplete scans and inconsistent, missing, or mixed stone/pounds unit codes. This is arithmetic, not medical advice.
Inputs: days, scaleUserId.
health_checkARead-onlyIdempotent
Verify RENPHO login and scale discovery without returning measurements.
Inputs: no named parameters.
refresh_sessionARead-onlyIdempotent
Discard the in-memory login session. The next data request authenticates again. Does not trigger scale uploads or change RENPHO data.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Tools are mostly distinct: get_measurements vs get_latest_measurement vs get_weight_trend could be confused, but their descriptions clearly differentiate history, latest, and summary. Other tools (user, scale users, session, health) are unambiguous. Minor overlap in measurement-related tools.
Naming is predominantly verb_noun with 'get_' prefix (get_current_user, get_scale_users, get_measurements, etc.), but 'refresh_session' and 'health_check' deviate slightly from the 'get_' pattern while still following verb_noun or noun style. Overall consistent snake_case and readable.
7 tools is well-scoped for a health scale integration, covering authentication, user info, scale discovery, health checks, and measurement retrieval. Each tool serves a clear purpose without redundancy or bloat.
The tool surface covers the core lifecycle for a read-only scale API: session management, user profile, device discovery, measurements history, latest measurement, and trend analysis. No obvious gaps for typical use cases; missing write operations are not expected for this domain.
Maintenance
Related MCP Connectors
Read wearables and lab health data — sleep, activity, workouts, timeseries, lab tests and orders.
Read-only glucose, meal and spike data the user chooses to share from Journey for Health.
Read Spruce Health contacts, conversations, messages, phone lines and team members (read-only).
Read Android Health Connect users, daily summaries and records synced to your backend.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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.2ISC
- AlicenseCqualityBmaintenanceProvides access to body composition data from Renpho smart scales, enabling users to query weight, BMI, body fat percentage, muscle mass, and other health metrics with trend analysis over customizable time periods.910MIT
- AlicenseAqualityCmaintenanceEnables retrieval of InBody body composition data including profile, scan history, and full metrics via MCP tools.417MIT
- FlicenseNot gradedqualityDmaintenanceRead access to Withings scale data, including weight and body composition metrics, through a local MCP server.-