Calculate ideal body weight using established medical formulas like Devine, Robinson, and Miller. Access via MCP in Cursor or Windsurf, or REST at `/v1/health/ideal-weight`. Input height, gender, and optional formula selection — returns calculated weight in pounds or kilograms. Uses clinically validated equations, not approximations.
curl "https://tinyfn.io/v1/health/ideal-weight" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/health/ideal-weight', {
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/ideal-weight',
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"
}
}
}
}
Supports Devine, Robinson, Miller, and Hamwi formulas. Each uses different coefficients but follows similar height-based calculations for male/female body types.
Pass height in inches or centimeters, gender as 'male' or 'female', and optionally specify formula. Returns weight in both pounds and kilograms.
Yes, AI agents in Cursor or Cline can integrate ideal weight calculations into health dashboards, BMI comparisons, or fitness goal setting workflows.
Devine formula is most widely used clinically, especially for medication dosing. Robinson and Miller provide alternatives for different body frame considerations.
Formulas work best for heights between 5'0" and 6'6". Outside this range, results may be less clinically meaningful.
Get your free API key and start using Ideal Weight in seconds.
Get Free API Key