• DATA
  • CALCULATION
  • PORTIONS
  • REVIEW

How to calculate recipe macros with your AI

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

Ask AI about this page

Short answer

How can I get macro counts for my recipes?

Give your AI 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 the AI

The AI handles the math and the lookups so you don't have to.

DATA

Ingredient lookup

The AI identifies every item in your list and finds its specific nutritional profile. You get accurate data for each component.

CALCULATION

Total macro counts

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

PORTIONS

Per serving breakdown

Tell the AI 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. The AI provides the math, but you decide if the recipe fits your plan.

The workflow

What your AI does when the list arrives.

The AI processes your text to extract data and run the math.

  1. Identify ingredients

    The AI parses your text to find specific food items and their weights.

    search_ingredients
  2. Calculate totals

    The AI uses the ingredient data to sum up the nutritional values.

    compute_recipe_nutrition
  3. Format output

    The AI organizes the calories and macros into a readable list.

    compute_recipe_nutrition
  4. Adjust servings

    The AI recalculates the totals based on your requested serving size.

    compute_recipe_nutrition

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
  • Calculate the macros for this recipe: [paste ingredient list here].

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

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

  • 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 AI to the nutritional database. All your data stays private and the setup is instant.

Connect Nutritional Estimator to your AI

FAQ

How the estimator behaves

  • 01

    Can the AI calculate macros for unbranded ingredients?

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

  • 02

    Does the AI change my original recipe text?

    No, the AI 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?

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

  • 05

    Can the AI 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

Connect Nutritional Estimator to Claude, Cursor, ChatGPT & more