Health Utilities

Calculate Bmr

Calculates Basal Metabolic Rate using the clinically-validated Mifflin-St Jeor equation. Access via MCP in Cursor or Windsurf, or REST API at `/v1/health/bmr`. Input age, weight, height, and sex to get daily calorie burn at rest. Returns precise BMR values essential for nutrition apps and fitness calculators.

API Endpoint

GET /v1/health/bmr

Code Examples

curl "https://tinyfn.io/v1/health/bmr" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/health/bmr', {
  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/bmr',
    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 is BMR and how is it calculated?

BMR is your body's energy expenditure at complete rest. The Mifflin-St Jeor equation calculates it using weight (kg), height (cm), age (years), and biological sex with different coefficients for males and females.

How do I use the BMR calculator with MCP in my AI coding assistant?

Call the calculate_bmr function with parameters: age, weight, height, and sex. Your AI assistant will return the exact daily calorie requirement for metabolic processes at rest.

What's the difference between BMR and TDEE?

BMR measures calories burned at complete rest, while TDEE (Total Daily Energy Expenditure) includes physical activity. BMR typically accounts for 60-75% of total daily calories.

What units does the BMR API expect for weight and height?

Weight should be in kilograms and height in centimeters. The API follows standard metric units used in the Mifflin-St Jeor formula for accurate calculations.

How accurate is the Mifflin-St Jeor equation compared to other BMR formulas?

Mifflin-St Jeor is considered the most accurate for healthy individuals, with ~90% accuracy. It's more precise than Harris-Benedict and widely used in clinical settings.

Try Calculate Bmr Now

Get your free API key and start using Calculate Bmr in seconds.

Get Free API Key