Calculate Body Mass Index using weight and height inputs via GET /v1/health/bmi. Returns precise BMI value with standard health category classification (underweight, normal, overweight, obese). Essential for health apps and fitness tracking integrations in Cursor or Claude Code workflows.
curl "https://tinyfn.io/v1/health/bmi" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/health/bmi', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/health/bmi',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's health tools:
{
"mcpServers": {
"tinyfn-health": {
"url": "https://tinyfn.io/mcp/health",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Send a GET request to /v1/health/bmi with weight and height parameters. Returns BMI value and health category classification.
Accepts both metric (kg/cm) and imperial (lbs/inches) units. Specify the unit system in your API request parameters.
Yes, the BMI MCP tool integrates directly into Cursor workflows for processing health datasets and generating patient reports.
Returns standard WHO categories: underweight (<18.5), normal (18.5-24.9), overweight (25-29.9), and obese (≥30).
Yes, validates inputs and returns appropriate error messages for invalid weight/height values to prevent division errors.
Get your free API key and start using Calculate Bmi in seconds.
Get Free API Key