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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
weight (required) | number | ≥ 20, ≤ 350 | Weight (kg) | |
height (required) | number | ≥ 100, ≤ 250 | Height (cm) |
Output
| Field | Type | Description |
|---|---|---|
bmi | number | Body mass index (kg/m²) |
underweight | boolean | Underweight: BMI below 18.5. |
normal | boolean | Normal weight: BMI 18.5–24.9. |
overweight | boolean | Overweight: BMI 25.0–29.9. |
obese | boolean | Obesity: BMI 30.0 or more. |
healthyMin | number | Healthy weight range: from (kg) |
healthyMax | number | Healthy 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"
}
}