API Ninjas MCP for AI Agents. Calculate Body Metrics and Nutrition Data
API Ninjas gives your AI client instant access to fitness, nutrition, and health data. Calculate Basal Metabolic Rate (BMR), Total Daily Energy Expenditure (TDEE), body fat percentages, and calorie burn for any activity. It also lets you search thousands of exercises or check the nutritional facts for specific food items.
Give Claude and any AI agent real-world access
Determine a user's Basal Metabolic Rate (BMR) and their Total Daily Energy Expenditure (TDEE) based on weight, height, age, and activity level.
Calculate estimated body fat percentage using specific measurements like waist, neck, and hip circumference.
Find thousands of exercises by filtering criteria such as muscle group, equipment needed, or difficulty level, complete with instructions.
Retrieve full nutritional breakdowns for any food item, including calories, protein, fat, and fiber per 100g serving.
Estimate calories burned and distance traveled based on step count or specific physical activities over a duration.
Ask an AI about this
Waiting for input…
What AI agents can do with API Ninjas: 8 Tools for Body Metrics Calculation
Calculate everything from your Basal Metabolic Rate to detailed exercise instructions using these specialized functions.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using API Ninjas MCPGet Bmr
Calculates a person's Basal Metabolic Rate (BMR) using weight, height, age, and gender input.
Get Body Fat
Estimates body fat percentage by requiring measurements of the waist, neck, and hip...
Get Calories Burned
Calculates estimated calories burned for a specific activity given the user's weight...
Get Exercises
Searches a database of over 1000 exercises by name, muscle group (like glutes or...
Get Nutrition
Provides detailed nutritional facts for any food item per 100g serving, including...
Get Sleep
Recommends an appropriate sleep duration range based on the user's age and gender.
Get Steps
Calculates both estimated calories burned and distance traveled using a step count, with optional weight and height inputs for accuracy.
Get Tdee
Determines the Total Daily Energy Expenditure (TDEE) by factoring in weight, height...
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on each call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with API Ninjas, then connect any of our 5,200+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,200+ others, all in one place
- Add new capabilities to your AI anytime you want
- Connections are secured and governed automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog weekly
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by API Ninjas. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS CLOUD
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on each call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
API Ninjas: Calculating Body Metrics and Nutrition Facts
Right now, figuring out if a diet is balanced or how much energy you need for the day means juggling multiple formulas. You're cross-referencing weight, height, activity multipliers, and then separately looking up macronutrient percentages for every food item. It’s tedious copy-pasting between spreadsheets just to get an idea of your client's metabolic state.
With this MCP, you simply ask your agent to determine a client's TDEE or check the nutritional breakdown of three different meals. The system handles all the complex math and data lookups immediately. You get clean, actionable numbers ready for your notes.
API Ninjas: Searching Fitness Exercises by Muscle Group
When designing a workout, you usually spend time searching fitness databases to ensure the routine hits all target muscles. You might find general lists of 'chest exercises' but then waste minutes filtering for only dumbbell-based moves suitable for an intermediate client.
Now, you just tell your agent: 'Find three chest exercises using dumbbells for someone at an intermediate level.' The MCP uses `get_exercises` to pull exactly what you need—name, instructions, equipment needed—all in one go.
What API Ninjas MCP for AI Agents MCP does for your AI
You don't need to switch between multiple spreadsheets or look up complex metabolic formulas anymore. This MCP connects your AI client directly to a massive library of health data. Instead of manually calculating Basal Metabolic Rate (BMR) or estimating body fat using different formulas, your agent runs the necessary computations instantly.
Need to plan a workout? Your agent can search thousands of exercises by muscle group and difficulty level, giving you step-by-step instructions right away. Planning meals is easy too; just ask for nutrition facts on any food item—it delivers calories, protein, carbs, fat, and more. This robust toolset ensures that whether you're a personal trainer checking client metrics or an athlete tracking daily steps, your AI agent has the data it needs to act immediately.
It’s one of the most powerful health-related MCPs available on the Vinkius catalog.
019d8417-25ec-725f-8d14-de7c8e235997 How to set up API Ninjas MCP for AI Agents MCP
The bottom line is, your AI client handles all the complex math and data retrieval from this MCP so you just get the final answer.
Subscribe to the API Ninjas MCP, then input your personal API key into your AI client.
Your agent accesses the full catalog of health data and fitness functions through natural conversation.
You ask a specific question, like 'What are low-intensity cardio exercises for beginners?' or 'Calculate my TDEE.' The tool returns the precise data needed.
Who uses API Ninjas MCP for AI Agents MCP
Anyone dealing with physical performance metrics or diet planning needs this. Personal trainers who need quick, reliable calculations are major users. Nutritionists using it can quickly check food data for clients without leaving their workflow. Fitness enthusiasts use it daily to track goals.
Using the MCP, you calculate client BMR and TDEE instantly, then search for appropriate exercises by muscle group to build a targeted workout plan.
You look up specific food items using the nutrition tool, providing accurate calorie counts, protein levels, and fiber content directly in your client notes.
You track your daily steps or record an activity to estimate calories burned. You also use it to find new exercises for specific body parts you want to improve.
Benefits of connecting API Ninjas MCP for AI Agents MCP
Eliminate manual calculations. You get instant, accurate results determining your Total Daily Energy Expenditure (TDEE) using the get_tdee tool.
Find targeted workouts quickly. The get_exercises tool lets you filter exercises by muscle group and difficulty level in seconds.
Accurate diet planning is simple. Use get_nutrition to get full nutritional breakdowns for any food item, keeping your clients' diets on track.
Track progress without effort. With the get_steps tool, your agent calculates both distance and estimated calories from just a step count.
Know when to rest. The get_sleep tool provides clear recommendations on optimal sleep duration based on demographics.
API Ninjas MCP for AI Agents MCP use cases
Building a Client Program
A personal trainer needs to build a workout for a client who has specific weaknesses. The agent uses get_tdee first, then searches the database using get_exercises filtered by 'hamstrings' and 'intermediate' difficulty to suggest perfect routines.
Meal Planning for Athletes
An athlete needs to ensure their diet hits specific macronutrient goals. They prompt the agent, which uses get_nutrition on several food items, giving a detailed breakdown of calories, protein, and carbs per meal plan.
Post-Workout Status Check
A user finishes a run and needs to know their recovery metrics. They use the agent to calculate the total distance and estimated calories using get_steps, providing immediate feedback on performance output.
API Ninjas MCP for AI Agents MCP tradeoffs
What to watch out for, and the recommended way to handle each one.
Guessing energy needs
Manually estimating daily calorie requirements based only on age and weight, which ignores crucial factors like activity level or body composition.
Always use the get_tdee tool. This calculation incorporates your weight, height, age, gender, and specific activity levels for an accurate total energy expenditure estimate.
Ignoring body measurements
Simply estimating body fat based on visual checks or a single measurement, which can lead to inaccurate fitness goal setting.
Use the get_body_fat tool. You provide specific circumference measurements (waist, neck, hip) for an estimate that uses the US Navy method.
Searching by general keywords
Asking the agent to find 'good leg workouts' without specifying equipment or muscle group, resulting in a vague list of generic exercises.
Use get_exercises and filter by specific parameters like 'quadriceps', 'beginner' difficulty, and required equipment for highly targeted results.
When to use API Ninjas MCP for AI Agents MCP
Use this MCP if your workflow requires calculating any physical health metric: BMR, TDEE, body fat, or tracking activity output. You need reliable data on nutrition facts or exercise instructions. However, don't use it if you are simply looking for general wellness advice (e.g., 'how many hours of sleep should I get?'). For basic recommendations like optimal sleep duration, the get_sleep tool is precise enough; but if your task involves complex data retrieval—like comparing multiple food items or generating a workout plan based on multiple factors—you'll need to chain several tools together. This MCP excels at math and structured lookups, not general advice.
Frequently asked questions about API Ninjas MCP for AI Agents MCP
How do I use the API Ninjas MCP to calculate my TDEE? +
Just ask your agent for your Total Daily Energy Expenditure, providing your weight, height, age, gender, and typical activity level. The tool gives you a specific calorie range needed to maintain or change your body weight.
Can API Ninjas help me build a workout plan? +
Yes. You can use the MCP to search for exercises by muscle group, difficulty, and equipment type. This allows you to program specific, highly targeted workouts without manual searching.
Does this MCP calculate body fat percentage accurately? +
It provides an estimate using established formulas like the US Navy method. You must provide your waist, neck, and hip measurements for the best results from the API Ninjas MCP.
I need to check if a food is good for me; can API Ninjas help? +
The MCP lets you look up nutrition facts on any food item. You get detailed metrics like protein, fiber, sodium, and fat per 100g serving right away.
Is this better than using a spreadsheet for fitness data? +
Absolutely. Instead of manually inputting formulas and checking sources, your AI client uses the API Ninjas MCP to run all calculations instantly, reducing human error and saving time.