
Inbody Api Mcp
io.github.rwestergren由 GitHub 帳號 rwestergren 發布v0.1.0更新於 Oct 24, 2026
MCP server for InBody body-composition data — scans, body fat, muscle mass, body water
概覽
唯讀的 MCP 伺服器,讓助理透過 InBody 手機端 API 取得你的身體組成資料:個人檔案、掃描清單與完整掃描指標。
- 可以做什麼
- 讀取個人身分與基礎指標,例如身高、體重、年齡、性別
- 統計掃描總數,並依時間列出體重、BMI、體脂率、肌肉量等掃描摘要
- 取得單次掃描的完整指標,包含身體組成、含正常範圍的 BMI/體脂/肌肉量,以及分段阻抗
- 依國家代碼自動導向對應區域 API 主機,並在權杖過期時自動重新登入
- 適用情境
- 適合讓助理檢視與討論你自己的 InBody 掃描紀錄,例如追蹤體重、體脂、肌肉量或分段阻抗隨時間的變化,而不必手動匯出資料。
- 執行需求
- 以 stdio 方式在本機執行,通常透過 uvx 從 PyPI 套件啟動,需要 Python 工具鏈(uv)。需要 InBody 帳號:INBODY_LOGIN_ID(註冊手機號碼,僅數字)與 INBODY_LOGIN_PW。可選 INBODY_COUNTRY_CODE 選擇區域 API 主機(預設 US)。需要能連線至 InBody 區域 API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Inbody Api Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
inbody-api-mcp
[License: MIT] [CI] [Build Docker image] [PyPI]
Hosted version for Claude.ai, ChatGPT, and Grok coming soon. Join the waitlist →
An MCP (Model Context Protocol) server for InBody body-composition data, built on the reverse-engineered mobile REST API used by the InBody Android app.
InBody has no public API and no web UI for personal scan data. This server talks to the same JSON REST endpoints the mobile app uses, exposing your body composition history (body fat, muscle mass, body water, segmental impedance) to any MCP client.
Features
- Profile -- identity and baseline metrics (height, weight, age, gender)
- Scan history -- chronological summaries (weight, BMI, % body fat, muscle mass)
- Full scan metrics -- complete body composition (BCA), BMI/%fat/muscle with normal ranges (MFA), and segmental/multi-frequency impedance (IMP)
- Automatic region routing -- resolves the correct regional API host from your country code
- Automatic re-authentication -- caches the 24h JWT and re-logs in on expiry
Quick Start
1. Install uv
2. Set credentials
INBODY_LOGIN_IDis the phone number used at registration, not your email -- digits only, no country code or+(e.g.3026323617). InBody keys login on the phone number; the email is only returned as profile data. An email value will fail login withEmptyData.
3. Configure your MCP client
uvx downloads and runs the server on demand -- no separate install step.
OpenCode (opencode.json)
Claude Desktop (claude_desktop_config.json)
Available Tools
This server is read-only: no write or delete endpoints are exposed.
How It Works
This server communicates with the regional *.lookinbody.com REST API -- the
same backend used by the InBody Android app (v2.8.31). The API was
reverse-engineered by capturing app traffic with mitmproxy and confirming
payload shapes against the live API.
The auth flow:
POST /CommonAPI/GetCountryInfoV2(onappapicommon.lookinbody.com) returns a per-country host table. TheType == "API"row for your ISO country code gives the regional API base (US ->appapiusav2.lookinbody.com) and the numeric phone code used in request bodies.POST /V2/Main/GetLoginWithSyncDataPartV2exchanges the login ID + password for a 24-hour JWT, a refresh token, and the account UID.- Subsequent calls send
Authorization: Bearer <JWT>. The client re-authenticates automatically when the token expires.
Each scan record nests three blocks: BCA (body composition analysis -- body water, protein, mineral, fat, segmental water), MFA (BMI, % body fat, skeletal muscle mass, WHR with normal ranges), and IMP (raw impedance per frequency and body segment).
Python API
You can use the client directly:
Transport
stdio only. MCP clients (OpenCode, Claude Desktop) spawn the stdio process
directly via uvx/uv.
License
MIT
來源:README.md,提交 f87f2b3
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分