• DATA
  • CALCULATION
  • PORTIONS
  • REVIEW

How to calculate recipe macros with your agent

Connect your agent to a nutritional database to turn raw ingredient lists into precise macro counts.

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 get macro counts for my recipes?

Give your agent a list of ingredients and their weights. It will look up the nutritional data and calculate the total calories, protein, carbs, and fats per serving. You'll get a complete nutritional breakdown.

The nutritional output

What you get from your agent

Your agent handles the math and the lookups so you don't have to.

DATA

Ingredient lookup

Your agent identifies each item in your list and finds its specific nutritional profile. You get accurate data for each component.

CALCULATION

Total macro counts

Your agent sums up the protein, fats, and carbohydrates. It provides the total energy content for the entire batch.

PORTIONS

Per serving breakdown

Tell your agent how many servings the recipe makes. It divides the totals so you know exactly what is in one portion.

REVIEW

Human verification

You check the final numbers against your specific dietary needs. Your agent provides the math, but you decide if the recipe fits your plan.

The workflow

What your agent does when the list arrives.

Your agent processes your text to extract data and run the math.

  1. Identify ingredients

    Your agent parses your text to find specific food items and their weights.

    search_ingredients
  2. Calculate totals

    Your agent uses the ingredient data to sum up the nutritional values.

    compute_recipe_nutrition
  3. Format output

    Your agent organizes the calories and macros into a readable list.

    compute_recipe_nutrition
  4. Adjust servings

    Your agent recalculates the totals based on your requested serving size.

    compute_recipe_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 Nutritional Estimator 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.

Paste these prompts into your chat to begin.

Starting points

Swap the bracketed text with your actual recipe details.

Nutritional Estimator Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_j0f7bldVWsLG5bVT87vrWr0ROlGfo7oaM7K4mRLh/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, Nutritional Estimator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "nutritional-estimator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_j0f7bldVWsLG5bVT87vrWr0ROlGfo7oaM7K4mRLh/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the macros for this recipe: [paste ingredient list here].

  • 02

    How many calories and grams of protein are in this list: [paste ingredients and weights]?

  • 03

    Break down the macros per serving for a recipe with [list ingredients] that makes 4 servings.

  • 04

    Using the Nutritional Estimator, find the carb count for: [paste ingredient list].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Nutritional Estimator once, then ask.

One connection links your agent to the nutritional database. All your data stays private and the setup is instant.

Connect Nutritional Estimator to your agent

FAQ

How the estimator behaves

  • 01

    Can your agent calculate macros for unbranded ingredients?

    Yes, it uses standard nutritional data for raw ingredients like flour, eggs, or chicken.

  • 02

    Does your agent change my original recipe text?

    No, your agent only reads your list to perform calculations. It does not modify your files or notes.

  • 03

    Can it track my daily calorie intake automatically?

    No, this tool only calculates the nutrition for the specific list you provide in the chat.

  • 04

    What happens if an ingredient isn't in the database?

    Your agent will notify you if it cannot find a specific item to ensure the math stays accurate.

  • 05

    Can your agent order groceries based on these macros?

    No, the tool is strictly for nutritional estimation and has no connection to shopping or ordering services.

  • More questions about Nutritional Estimator? The Connector page answers them. See everything the Nutritional Estimator 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 Nutritional Estimator 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.

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