Health Utilities

Ideal Weight

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.

API Endpoint

GET /v1/health/ideal-weight

Code Examples

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)

Use via MCP

Add to your AI agent

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"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

What medical formulas does the ideal weight calculator support?

Supports Devine, Robinson, Miller, and Hamwi formulas. Each uses different coefficients but follows similar height-based calculations for male/female body types.

How do I specify height and gender parameters for ideal weight calculation?

Pass height in inches or centimeters, gender as 'male' or 'female', and optionally specify formula. Returns weight in both pounds and kilograms.

Can MCP agents use this for health app features or fitness tracking?

Yes, AI agents in Cursor or Cline can integrate ideal weight calculations into health dashboards, BMI comparisons, or fitness goal setting workflows.

Which ideal weight formula is most accurate for clinical use?

Devine formula is most widely used clinically, especially for medication dosing. Robinson and Miller provide alternatives for different body frame considerations.

Does the calculator handle edge cases like very short or tall heights?

Formulas work best for heights between 5'0" and 6'6". Outside this range, results may be less clinically meaningful.

Try Ideal Weight Now

Get your free API key and start using Ideal Weight in seconds.

Get Free API Key