Body Metrics

Convert height and weight, compute BMI, TDEE and protein targets with error bounds.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
100%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~823token 数(工具定义)
~4.2 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.64%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 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"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本1 个工具
已验证未记录版本1 个工具