# API Ninjas Nutrition MCP for AI Agents MCP

> API Ninjas Nutrition analyzes food descriptions using natural language processing. Simply type out what you ate—like "200g cooked salmon" or "three scrambled eggs"—and instantly get a detailed breakdown of calories, protein, fat, carbs, fiber, sugar, sodium, and cholesterol. It's built for fast, accurate nutritional data tracking.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Tags:** nutrition-analysis, nlp, calorie-tracking, macronutrients, food-data, health-metrics

## Description

Tracking macros shouldn't feel like a research project. This MCP gives your AI agent the power to analyze food nutrition directly from plain English text. Instead of cross-referencing multiple databases or guessing based on labels, you just describe the meal, and it delivers comprehensive nutrient profiles. You get instant data points for everything from total calories to specific sodium levels.

The tool also helps with discovery; if you're building a recipe or planning meals around keywords, it can search available recipes by name or ingredients. Connecting this MCP through Vinkius means your agent accesses professional-grade nutritional insights without needing specialized API keys or coding knowledge. You feed the text, and the data comes back ready to use.

## Tools

### ninja_analyze_nutrition
Analyzes the nutritional content of any specified food item using natural language processing to return detailed macro and micro nutrient data.

### ninja_search_recipes
Searches for recipe titles and provides information about serving sizes based on a given keyword or name.

## Prompt Examples

**Prompt:** 
```
What are the macros in 200g of grilled salmon?
```

**Response:** 
```
**Nutritional Breakdown: Grilled Salmon (200g)**

*   **Calories:** ~412 kcal
*   **Protein:** 40g
*   **Total Fat:** 27g (Saturated: 4.4g)
*   **Carbs/Sugar/Fiber:** 0g / 0g / 0g
*   **Sodium:** 98mg | **Cholesterol:** 126mg

It's a fantastic source of Omega-3s.
```

**Prompt:** 
```
Find me some high-protein breakfast ideas.
```

**Response:** 
```
**Top Recipes for High Protein Breakfasts**

*   **Greek Yogurt Power Bowl:** (Serves 1) - *Est. Protein: 25g*
*   **Smoked Salmon Toast Stack:** (Serves 2) - *Est. Protein: 38g*
*   **Tofu Scramble with Spinach:** (Serves 1) - *Est. Protein: 22g*

Need macro details for any of these?
```

**Prompt:** 
```
Analyze a complex snack mix.
```

**Response:** 
```
**Snack Mix Analysis (Example: Trail Mix)**

*   **Total Weight:** 100g
*   **Calories:** 450 kcal
*   **Macronutrients:**
    *   Protein: 20g
    *   Fat: 28g
    *   Carbs: 35g (Fiber: 5g)
*   **Key Minerals:** Sodium: 150mg.
```

## Capabilities

### Analyze Food Composition from Text
Pass any descriptive food input (e.g., "1 cup of cooked rice") and get instant nutrient totals including calories, protein, fat, carbs, fiber, sugar, sodium, and cholesterol.

### Search for Recipes by Keyword
Find recipe titles and serving information by searching using a simple keyword or name.

## Use Cases

### Calculating Macros After a Complex Meal
A coach needs to know if their client's lunch hits the protein goal. Instead of manually logging every ingredient, they ask their agent: 'What are the macros in 150g chicken breast with quinoa?' The agent uses `ninja_analyze_nutrition` and reports total calories, protein, and fat instantly.

### Developing a New High-Fiber Recipe
A recipe developer needs to find ideas for a breakfast bowl. They use the MCP's search function with keywords like 'oats' or 'banana'. The agent returns several potential recipes, which they then refine using `ninja_analyze_nutrition` to ensure high fiber content.

### Checking Nutritional Accuracy of Restaurant Orders
A user wants to track sodium intake. They input a description like 'large grilled salmon fillet with roasted vegetables.' The agent uses the MCP to analyze the food, providing specific sodium and cholesterol counts they can trust.

### Comparing Food Sources for Athlete Fuel
A sports nutritionist needs to compare different energy sources. They ask the agent to analyze 'apple' versus 'banana.' The MCP runs both inputs through `ninja_analyze_nutrition` and delivers a side-by-side comparison of carbs, sugar, and calories.

## Benefits

- Instantly get comprehensive data on everything you eat. Instead of relying on vague estimates, the `ninja_analyze_nutrition` tool provides exact counts for protein, fat, carbs, sugar, sodium, and cholesterol.
- Save time planning meals. Use the MCP to search for recipes by keyword, giving your agent a starting point when developing meal plans or dietary suggestions.
- Works with complex inputs. You don't have to break down "3 eggs and 2 slices of toast"; just type it out, and the tool handles the multi-ingredient calculation.
- Focus on outcomes, not data entry. By having your agent process food descriptions, you eliminate the tedious back-and-forth of manual label reading and database lookups.
- Build better health plans. The structured output from this MCP allows you to easily aggregate nutritional data across multiple days or meals for accurate tracking.

## How It Works

The bottom line is that you skip manual label reading and complex calculations; your AI client handles the entire translation from English description to structured nutrition facts.

1. Start by prompting your AI client with a descriptive food item, such as "3 slices of whole wheat toast with avocado."
2. The MCP uses natural language processing to interpret the text and query its internal database for precise nutritional values.
3. Your agent receives structured data containing detailed nutrient breakdowns per serving size in grams.

## Frequently Asked Questions

**How can the API Ninjas Nutrition MCP help me track my daily food intake?**
The MCP lets you simply describe your meals in plain English—like 'two eggs and a slice of cheese.' It then calculates all the necessary nutritional data, giving you accurate macro counts without manual effort. This makes logging meals fast and reliable.

**Does API Ninjas Nutrition work if I use foreign ingredients or measurements?**
The tool is designed to interpret natural language descriptions and handles standard units of measurement (like grams, lbs). As long as you describe the food clearly in English, it will process the data for you.

**Can I use API Ninjas Nutrition MCP to find recipes that fit my diet?**
Yes. You can first ask the agent to search for recipes by keyword using one tool. Then, you feed those recipe ingredients into `ninja_analyze_nutrition` to verify they meet your specific macro goals.

**What kind of data does API Ninjas Nutrition provide besides calories?**
It gives a full picture: protein, total fat (and saturated fat), carbs, fiber, sugar, sodium, and cholesterol. This comprehensive view helps you track multiple health metrics at once.

**Is API Ninjas Nutrition reliable for tracking diet progress?**
It uses advanced natural language processing to analyze food composition from descriptive text, providing structured data that is far more accurate and faster than manual label reading. It's built specifically for detailed nutritional analysis.