• METRIC
  • METRIC
  • METRIC
  • HUMAN

How to calculate daily energy needs with your agent

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

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I find my BMR and TDEE using AI?

Give your agent 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

Your agent processes your physical data into three specific outcomes.

METRIC

Basal Metabolic Rate

Your agent 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

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

HUMAN

Personalized planning

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

The workflow

What your agent does when the data arrives.

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

  1. Calculate resting burn

    Your agent takes your age, sex, weight, and height to find your BMR.

    get_bmr
  2. Factor in activity

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

    get_tdee
  3. Estimate composition

    Your agent uses your measurements to estimate your body fat percentage.

    get_body_fat
  4. Summarize results

    Your agent compiles all three metrics into a single report for your fitness log.

    get_bmrget_tdeeget_body_fat

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute API Ninjas tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

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
  • 01

    Calculate my BMR, TDEE, and body fat using my stats: [age], [weight], [height], [sex], and [activity level].

  • 02

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

  • 03

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

  • 04

    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 agent

FAQ

How this task behaves

  • 01

    Can your agent change my actual weight?

    No. Your agent only calculates estimates based on the data you provide.

  • 02

    Does your agent store my health data?

    No. Your agent 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?

    Your agent 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 your agent 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

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from API Ninjas to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    API Ninjas plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect API Ninjas to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.