hesaplayıcı
Menu

BMI Calculator: API and MCP

BMI Calculator over REST and MCP: input fields, limits, outputs, one example request and its real answer. Free, no sign-up.

GET /api/v1/tools/health.bmi/mcp/health

Id
health.bmi
Version
1.0.0
Access
Free
Tool page
BMI Calculator
Schema
GET /api/v1/tools/health.bmi

Input

FieldTypeConstraintsDefaultDescription
weight (required)number≥ 20, ≤ 350Weight (kg)
height (required)number≥ 100, ≤ 250Height (cm)

Output

FieldTypeDescription
bminumberBody mass index (kg/m²)
underweightbooleanUnderweight: BMI below 18.5.
normalbooleanNormal weight: BMI 18.5–24.9.
overweightbooleanOverweight: BMI 25.0–29.9.
obesebooleanObesity: BMI 30.0 or more.
healthyMinnumberHealthy weight range: from (kg)
healthyMaxnumberHealthy weight range: to (kg)

Example request

{
  "input": {
    "weight": 68,
    "height": 170
  },
  "locale": "en"
}
Example answer
{
  "output": {
    "bmi": 23.5,
    "underweight": false,
    "normal": true,
    "overweight": false,
    "obese": false,
    "healthyMin": 53.5,
    "healthyMax": 72
  },
  "steps": [
    {
      "id": "bmi",
      "formula": "BMI = weight / height²",
      "substitution": "BMI = 68 / 1.7²",
      "value": 23.5,
      "unit": "kg/m²"
    },
    {
      "id": "healthyMin",
      "formula": "healthy weight from = 18.5 × height²",
      "substitution": "healthy weight from = 18.5 × 1.7²",
      "value": 53.5,
      "unit": "kg"
    },
    {
      "id": "healthyMax",
      "formula": "healthy weight to = 24.9 × height²",
      "substitution": "healthy weight to = 24.9 × 1.7²",
      "value": 72,
      "unit": "kg"
    }
  ],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/health/bmi-calculator",
    "title": "BMI Calculator"
  }
}