• MACROS
  • MICROS
  • CALORIES
  • HUMAN

How to calculate nutritional content with your agent

Connect API Ninjas Nutrition to your AI client. Once connected, you can describe what you're eating to get instant nutritional 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 do I get nutrition facts from my AI?

Type a description of your food, like

The results

What your agent returns

The specific data points your agent pulls for each food item you describe.

MACROS

Macro profiles

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

Your agent calculates the total calories in the food you described. This gives you a clear energy total.

HUMAN

Manual review

You check your agent's work to ensure the food description matches what you actually ate. You hold the final say on the data.

The workflow

What your agent does when you describe a meal.

Your agent acts as the bridge between your text and the nutrition database.

  1. Identify food

    Your agent reads your description to find the specific food items and amounts mentioned.

    ninja_analyze_nutrition
  2. Fetch data

    Your agent uses the tool to pull nutritional profiles from the database for those items.

    ninja_analyze_nutrition
  3. Extract values

    The tool provides the specific calorie, macro, and micro counts for the food.

    ninja_analyze_nutrition
  4. Present info

    Your agent organizes the raw numbers into a clean, readable format for you.

    ninja_analyze_nutrition

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 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.

Connector linkhttps://edge.vinkius.com/vk_preview_LinjKqHHd9sT7zRFG6NnhohENAN8TH54gAxSMN4g/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-nutrition-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_LinjKqHHd9sT7zRFG6NnhohENAN8TH54gAxSMN4g/mcp"
    }
  }
}
Copy into chat04
  • 01

    What is the nutritional content of 2 large eggs and a slice of whole wheat toast?

  • 02

    Analyze the macros for a bowl of oatmeal with blueberries and honey.

  • 03

    Give me the micronutrient profile for 100g of grilled chicken breast.

  • 04

    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 agent

FAQ

How this task behaves

  • 01

    Can your agent order food for me?

    No. Your agent only retrieves nutritional data from descriptions.

  • 02

    Does your agent track my weight?

    No. Your agent 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 your agent will pull the data for the ingredients listed.

  • 04

    Will your agent change my diet plan?

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

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.