Recipe Nutrition Calculator
Server Details
Recipe nutrition from ingredient lines: USDA FoodData Central values, per serving, FDA rounding.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- theluckystrike/recipe-nutrition-calculator-mcp
- GitHub Stars
- 0
- Server Listing
- Recipe Nutrition Calculator MCP
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
Each tool has a recognizable core job: lookup single-ingredient data, calculate a full recipe, scale a recipe, and apply FDA rounding rules. The only real overlap is between calculate_recipe_nutrition and scale_recipe_nutrition, since scaling essentially recomputes a recipe with a factor and also returns rounded per-serving values; the descriptions distinguish them by input (ingredient lines vs. factor/servings), but an agent could still pick the wrong one. round_nutrition_label is separable because it operates on arbitrary unrounded values rather than a recipe.
All four names are snake_case with a verb_object pattern (calculate_, lookup_, round_, scale_) and a shared nutrition/recipe domain suffix. The convention is uniform and predictable, so an agent can infer a tool's role from its name alone.
Four tools is on the lean side but appropriate for a narrowly scoped nutrition calculator, and each tool covers a distinct step (lookup, calculate, scale, round). It is slightly under-provisioned given the domain, but no tool feels redundant or padded.
The core lifecycle—look up an ingredient, compute a recipe, scale it, and format the label—is covered end to end, with graceful handling of unmatched lines. The notable gap is discovery: with 406 embedded ingredients there is no search or list tool, so an agent must already know exact ingredient names and has no fallback for unmatched entries. A unit-conversion or ingredient-browse helper would close that hole.
Available Tools
4 toolscalculate_recipe_nutritionCalculate nutrition for a whole recipe and per servingARead-onlyIdempotentInspect
Parses ingredient lines ("2 cups flour", "1 stick butter" as 8 tbsp, "3 large eggs", "1 lb ground beef"), converts cups, spoons and counted items to grams with USDA household measure weights for that specific food, and sums USDA FoodData Central nutrients. Returns per-line grams and matches, recipe totals, per-serving values, and the per-serving values rounded by the FDA Nutrition Facts rules (21 CFR 101.9) with percent Daily Value. Lines it cannot match are listed, never guessed.
Inputs: lines (required), servings.
lookup_ingredient_nutritionLook up USDA nutrients for an ingredientARead-onlyIdempotentInspect
Returns USDA FoodData Central nutrient values per 100 g (calories, protein, total fat, saturated fat, carbohydrate, fiber, total sugars, sodium) for a common recipe ingredient, with its FDC id, the USDA household measures (1 cup, 1 tbsp, 1 large, 1 clove) in grams, and optionally the nutrients for an amount such as 1.5 cup or 3 large. 406 ingredients from SR Legacy and Foundation Foods, embedded, no API key. Use it instead of estimating nutrition from memory.
Inputs: ingredient (required), unit, amount.
round_nutrition_labelRound values for an FDA Nutrition Facts labelARead-onlyIdempotentInspect
Applies the FDA Nutrition Facts rounding rules from 21 CFR 101.9(c) to unrounded per-serving values: calories (under 5 = 0, nearest 5 up to 50, nearest 10 above), fat and saturated fat (nearest 0.5 g under 5 g), sodium (nearest 5 mg up to 140 mg, nearest 10 above), carbohydrate, fiber, sugars, added sugars and protein (nearest gram, "less than 1g" rules). Adds percent Daily Value from the 2,000-calorie DRVs (fat 78 g, saturated fat 20 g, sodium 2,300 mg, carbohydrate 275 g, fiber 28 g, added sugars 50 g). Rules copied from the eCFR text.
Inputs: kcal (required), fat_g, carbs_g, fiber_g, +5 more.
scale_recipe_nutritionScale a recipe and recompute its nutritionARead-onlyIdempotentInspect
Scales ingredient lines by a factor or from original to target servings (parses mixed numbers and fraction characters), then recomputes total and per-serving nutrition with USDA FoodData Central values and FDA label rounding for the scaled recipe.
Inputs: lines (required), factor, target_servings, original_servings.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
USDA FoodData Central nutrition data: search foods, compare macros, and analyze meals.
Search foods, compare nutrients, and look up the full USDA FoodData Central database.
Calories, macros and 23 vitamins and minerals for 3,167 foods, per portion. Read-only, no account.
Food nutrition lookup via natural language, barcode, and image. Database of 1,000,000+ foods.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables deterministic recipe and portion math with USDA-sourced macros, gram conversions, cooked yields, and per-eater portions.12MIT
- AlicenseBqualityBmaintenanceEnables querying a global food nutrition database of generic and branded products, including search by name, lookup by barcode, and retrieval of resolved nutrient values pinned to a dated snapshot. Coverage spans USDA FoodData Central and Open Food Facts sources, with freshness health checks available.9AGPL 3.0
- AlicenseAqualityDmaintenanceEnables natural language access to USDA's FoodData Central database with 1M+ foods, supporting search, nutrition facts, food comparison, and daily value calculations.8MIT
- FlicenseAqualityDmaintenanceEnables LLMs to retrieve verified macronutrient data (calories, protein, carbs, fat) for real ingredients and quantities from USDA FoodData Central, with structured caveats for uncertain matches.8-
Glama MCP Gateway
Add one secure layer between your agents and this server.