Skip to content
MCPSTAMP

AnswerLive data

Can Claude calculate calories and nutrition for a recipe?

It estimates, and the estimate can be off. Claude has a rough idea of the calories in common foods, but it doesn't look each ingredient up, and adding a dozen remembered values per serving lets small errors stack. Connect the free Recipe Nutrition Calculator server and Claude matches every ingredient line to a USDA FoodData Central food, totals calories, fat, carbs, protein, fiber and sodium, divides by servings and rounds the way an FDA label does.

What Claude does alone, and what needs the server

Claude on its own

  • Reads a recipe and lists the ingredients and amounts.
  • Gives ballpark calories for familiar foods.

With the Recipe Nutrition Calculator server

  • A USDA FoodData Central match for each ingredient line, with grams.
  • Totals and per serving values for calories and the main nutrients.
  • FDA label rounding, and nutrition for a scaled recipe.

A real call to the live server

We sent this to the hosted server on 2026-11-03. The answer below is the server's own text, not a mock-up. Live values will differ when you ask.

You ask

This cake makes 12 slices: 2 cups flour, 1/2 cup butter, 1 cup sugar, 2 large eggs, 1 cup milk, 2 tsp baking powder. How many calories per slice?

Tool call

calculate_recipe_nutrition {"lines":["2 cups all-purpose flour","1/2 cup butter","1 cup sugar","2 large eggs","1 cup milk","2 tsp baking powder"],"servings":12}

Server answer

Recipe of 6 lines (916.7 g matched): 2799.5 kcal total, 233.3 kcal per serving over 12 servings. Per serving: 3.9 g protein, 9.4 g fat, 33.8 g carbohydrate, 0.6 g fiber, 162.2 mg sodium. FDA label rounding gives 230 calories per serving. Every line was matched to a USDA FoodData Central food. Values are for the raw ingredients as listed; cooking losses and water evaporation are not modeled.

Connect it in 1 minute

One URL, no token, no account. In Claude.ai or Claude Desktop open Settings, then Connectors, then Add custom connector, and paste the URL.

Connector URL

https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp

Claude Code

claude mcp add --transport http recipe-nutrition-calculator https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "recipe-nutrition-calculator": {
      "url": "https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "recipe-nutrition-calculator": {
      "type": "http",
      "url": "https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

All 4 tools, sources and more prompts: Recipe nutrition calculator MCP server · RecipeTool

Questions

Can Claude calculate calories and nutrition for a recipe?
It estimates, and the estimate can be off. Claude has a rough idea of the calories in common foods, but it doesn't look each ingredient up, and adding a dozen remembered values per serving lets small errors stack. Connect the free Recipe Nutrition Calculator server and Claude matches every ingredient line to a USDA FoodData Central food, totals calories, fat, carbs, protein, fiber and sodium, divides by servings and rounds the way an FDA label does.
Does it count cooking losses?
No. Values are for the raw ingredients as listed. Water lost in baking or fat left in the pan is not modeled, and the answer says so.
Can I use it for a food label?
It applies FDA rounding rules, but a label you sell under may need lab testing or a dietitian review. Treat it as a well-sourced estimate.
Is the server free?
Yes. The Recipe Nutrition Calculator server is free at its hosted URL with no token, key or account. The source is open on GitHub.

More questions people ask Claude

All answers · All free servers