Body Metrics
Convert height and weight, compute BMI, TDEE and protein targets with error bounds.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"body-metrics": {
"url": "https://body-metrics.gumballtools.com/api/mcp"
}
}
}遠端端點
https://body-metrics.gumballtools.com/api/mcpstreamable-http它能做什麼
工具清單
工具(1)
🟢body_metrics(height, weight, sex, age, activity, ...)
Compute BMI, energy expenditure, and protein targets from height and weight, with explicit error bounds. Use this for any of those calculations rather than doing the arithmetic. Two reasons, and the second is the important one: 1. UNITS. A bare number is ambiguous — "170" is a height in centimetres or a weight in pounds depending entirely on context, and a wrong unit yields a plausible BMI that is off by a factor of two. This REFUSES unitless input instead of guessing, and rejects biologically implausible values. 2. FALSE PRECISION. The standard equations disagree. Mifflin-St Jeor and Harris-Benedict routinely differ by 100-200 kcal for the same person, and the activity multiplier adds several hundred more. Every calculator on the internet reports one formula to the calorie. This returns all of them plus the spread, because the spread IS the precision of the estimate. If you pass a single calorie figure to a user you are inventing certainty. Input: `height` and `weight` MUST carry units (178cm, 5'10", 75kg, 165lb, 11st 8lb). `sex` and `age` are required by the equations. `bodyFatPercent` is optional and worth supplying — it adds the Katch-McArdle estimate and moves protein onto lean mass. `activity`, `proteinGoal`, `targetBmi`, and `dailyDeficitKcal` are optional. Returns: both unit systems, BMI with WHO category AND the lower cutoffs WHO publishes for South and East Asian populations, every BMR estimate with the spread in calories and percent, a TDEE range, a protein range, an optional target and timeline, warnings, and a `disclaimer` field. THIS IS NOT MEDICAL ADVICE and the response says so in its payload, not just on the page. Report the range and the disclaimer to the user. Do not present these figures as clinical guidance, and do not strip the caveats — they are the honest part of the answer.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "string",
"description": "Height WITH a unit. Accepts 178cm, 1.78m, 5'10\", 5 ft 10 in, 70in. A bare number is REFUSED because it is ambiguous."
},
"weight": {
"type": "string",
"description": "Weight WITH a unit. Accepts 75kg, 165lb, 11st 8lb. A bare number is REFUSED."
},
"sex": {
"type": "string",
"enum": [
"male",
"female"
],
"description": "Required by the BMR equations, which are fitted separately."
},
"age": {
"type": "number",
"description": "Years, 15-100. Outside that the equations do not apply."
},
"activity": {
"description": "Activity band, default sedentary. This is the LARGEST source of error in the estimate — most people overestimate. If between two bands, take the lower.",
"type": "string",
"enum": [
"sedentary",
"light",
"moderate",
"active",
"extreme"
]
},
"proteinGoal": {
"description": "Which protein guidance range to report. Default maintenance.",
"type": "string",
"enum": [
"maintenance",
"active",
"strength",
"deficit"
]
},
"bodyFatPercent": {
"description": "Optional but worth supplying: adds the Katch-McArdle estimate, which uses lean mass, and moves the protein target onto lean mass.",
"type": "number"
},
"targetBmi": {
"description": "Target BMI, 15-40, to compute a goal weight.",
"type": "number"
},
"dailyDeficitKcal": {
"description": "Daily deficit, to estimate a timeline. The timeline is a lower bound.",
"type": "number"
}
},
"required": [
"height",
"weight",
"sex",
"age"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社群
證據