• METRIC
  • METRIC
  • METRIC
  • HUMAN

How to calculate daily energy needs with your AI

Connect API Ninjas to your AI client to turn your physical measurements into actionable fitness data.

Ask AI about this page

Short answer

How can I find my BMR and TDEE using AI?

Give your AI your age, weight, height, and activity level. It uses API Ninjas to calculate your BMR, TDEE, and body fat percentage. You'll get a complete baseline for your fitness tracking.

Your fitness baseline

The metrics you'll receive

The AI processes your physical data into three specific outcomes.

METRIC

Basal Metabolic Rate

The AI calculates your BMR to show how many calories you burn at rest. This is your foundation for any diet plan.

METRIC

Daily Energy Expenditure

Your TDEE is determined based on your activity level. This tells you how much energy you need to maintain your current weight.

METRIC

Body Fat Percentage

The AI estimates your body fat to give you a better picture of your composition. This helps you track progress beyond the scale.

HUMAN

Personalized planning

The AI provides the math, but you decide how to apply these numbers to your actual meal plans or workouts.

The workflow

What your AI does when the data arrives.

Your AI acts as the calculator, using specialized tools to handle the physiological formulas.

  1. Calculate resting burn

    The AI takes your age, sex, weight, and height to find your BMR.

    get_bmr
  2. Factor in activity

    By looking at your daily movement, the AI calculates your total daily energy needs.

    get_tdee
  3. Estimate composition

    The AI uses your measurements to estimate your body fat percentage.

    get_body_fat
  4. Summarize results

    The AI compiles all three metrics into a single report for your fitness log.

    get_bmrget_tdeeget_body_fat

Try it

Copy these to start.

Use these prompts to kick off the calculation process.

Starting points

Replace the bracketed info with your actual age, weight, height, and activity level.

API Ninjas Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_I0GNmqbM8wXLwEf1IZ3YPA7Iz4CYoKxUNBVoVVLM/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — API Ninjas capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "api-ninjas-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_I0GNmqbM8wXLwEf1IZ3YPA7Iz4CYoKxUNBVoVVLM/mcp"
    }
  }
}
Copy into chat04
  • Calculate my BMR, TDEE, and body fat using my stats: [age], [weight], [height], [sex], and [activity level].

  • I'm [age] years old, [weight] lbs, and [height] inches. Use API Ninjas to find my TDEE.

  • Based on my weight of [weight] and height of [height], what is my estimated body fat percentage?

  • Help me set a fitness baseline. Use my info ([age], [weight], [height], [sex]) to get my BMR and TDEE.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect API Ninjas once, then ask.

One connection links the API Ninjas tools to your AI client. Your credentials stay encrypted and secure.

Connect API Ninjas to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my actual weight?

    No. The AI only calculates estimates based on the data you provide.

  • 02

    Does the AI store my health data?

    No. The AI uses the data to run the tools, but it doesn't save your physical stats in a permanent database.

  • 03

    Can I use this to create a meal plan?

    The AI can suggest meals based on the TDEE it calculates, but it doesn't have a specific tool to generate recipes.

  • 04

    What happens if my activity level is vague?

    The TDEE calculation depends on accurate activity input. If the input is vague, the result will be less accurate.

  • 05

    Can the AI track my weight over time?

    No. This MCP is for calculating specific metrics from provided data, not for long-term data logging or tracking.

  • More questions about API Ninjas? The Connector page answers them. See everything the API Ninjas Connector can do

Connect API Ninjas to Claude, Cursor, ChatGPT & more