- MACROS
- MICROS
- CALORIES
- HUMAN
Short answer
How do I get nutrition facts from my AI?
Just type a description of your food, like
The results
What your AI returns
The specific data points your agent pulls for every food item you describe.
MACROS
Macro profiles
The AI retrieves counts for proteins, fats, and carbohydrates. This helps you track your main energy sources.
MICROS
Micronutrient data
Get a breakdown of vitamins and minerals. Your agent identifies these specific nutrients from your text.
CALORIES
Caloric counts
The AI calculates the total calories in the food you described. This gives you a clear energy total.
HUMAN
Manual review
You check the AI's work to ensure the food description matches what you actually ate. You hold the final say on the data.
The workflow
What your AI does when you describe a meal.
The AI acts as the bridge between your text and the nutrition database.
Identify food
Your agent reads your description to find the specific food items and amounts mentioned.
ninja_analyze_nutritionFetch data
The AI uses the tool to pull nutritional profiles from the database for those items.
ninja_analyze_nutritionExtract values
The tool provides the specific calorie, macro, and micro counts for the food.
ninja_analyze_nutritionPresent info
Your agent organizes the raw numbers into a clean, readable format for you.
ninja_analyze_nutrition
Try it
Copy these to start.
Use these prompts to test the connection.
Starting points
Swap the food items in these prompts to get different results.
API Ninjas Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_LinjKqHHd9sT7zRFG6NnhohENAN8TH54gAxSMN4g/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — API Ninjas capabilities are ready to use.
{
"mcpServers": {
"api-ninjas-nutrition-mcp": {
"url": "https://edge.vinkius.com/vk_preview_LinjKqHHd9sT7zRFG6NnhohENAN8TH54gAxSMN4g/mcp"
}
}
}What is the nutritional content of 2 large eggs and a slice of whole wheat toast?
Analyze the macros for a bowl of oatmeal with blueberries and honey.
Give me the micronutrient profile for 100g of grilled chicken breast.
How many calories and grams of fat are in a medium avocado?
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect API Ninjas Nutrition once, then ask.
One link connects the MCP to your client. Your credentials stay encrypted on our side, and the setup is handled for you.
Connect API Ninjas Nutrition to your AIFAQ
How this task behaves
- 01
Can the AI order food for me?
No. The AI only retrieves nutritional data from descriptions.
- 02
Does the AI track my weight?
No. The AI provides data about food items, but it does not manage your personal health metrics.
- 03
Can I use this for recipes?
Yes. You can describe a recipe and the AI will pull the data for the ingredients listed.
- 04
Will the AI change my diet plan?
No. The AI provides the data, but you are responsible for making any changes to your diet.
- 05
Does it work with any food?
It works with any food item that the nutrition database contains.
More questions about API Ninjas Nutrition? The Connector page answers them. See everything the API Ninjas Nutrition Connector can do
Connect API Ninjas to Claude, Cursor, ChatGPT & more
