Recipe nutrition from ingredient lines: USDA FoodData Central values, per serving, FDA rounding.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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.
Ingredient lines, one per item, amount first: "2 cups all-purpose flour", "1/2 cup butter", "2 large eggs", "200 g chicken breast", "1 tsp salt".
Number of servings the recipe makes. Default 1.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
claude mcp add --transport http recipe-nutrition-calculator-mcp https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp
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.
| Argument | Type | Description |
|---|---|---|
| lines* | array | Ingredient lines, one per item, amount first: "2 cups all-purpose flour", "1/2 cup butter", "2 large eggs", "200 g chicken breast", "1 tsp salt". |
| servings | number | Number of servings the recipe makes. Default 1. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lines"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 80,
"minItems": 1,
"description": "Ingredient lines, one per item, amount first: \"2 cups all-purpose flour\", \"1/2 cup butter\", \"2 large eggs\", \"200 g chicken breast\", \"1 tsp salt\"."
},
"servings": {
"type": "number",
"maximum": 1000,
"description": "Number of servings the recipe makes. Default 1.",
"exclusiveMinimum": 0
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| unit | string | Unit for amount: g, oz, lb, kg, cup, tbsp, tsp, fl oz, ml, or "each" for a counted item (uses the USDA medium or large size). Default g. |
| amount | number | Optional amount to compute nutrients for, e.g. 1.5. |
| ingredient* | string | Ingredient name, e.g. "cheddar cheese", "brown rice", "olive oil", "large egg". |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ingredient"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 30,
"description": "Unit for amount: g, oz, lb, kg, cup, tbsp, tsp, fl oz, ml, or \"each\" for a counted item (uses the USDA medium or large size). Default g."
},
"amount": {
"type": "number",
"maximum": 100000,
"description": "Optional amount to compute nutrients for, e.g. 1.5.",
"exclusiveMinimum": 0
},
"ingredient": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Ingredient name, e.g. \"cheddar cheese\", \"brown rice\", \"olive oil\", \"large egg\"."
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| kcal* | number | Calories per serving, unrounded. |
| fat_g | number | Total fat, g per serving. |
| carbs_g | number | Total carbohydrate, g per serving. |
| fiber_g | number | Dietary fiber, g per serving. |
| sugars_g | number | Total sugars, g per serving. |
| protein_g | number | Protein, g per serving. |
| sat_fat_g | number | Saturated fat, g per serving. |
| sodium_mg | number |
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.
| Argument | Type | Description |
|---|---|---|
| lines* | array | Ingredient lines, one per item, amount first: "2 cups all-purpose flour", "1/2 cup butter", "2 large eggs", "200 g chicken breast", "1 tsp salt". |
| factor | number | Multiply every quantity by this, e.g. 2 or 0.5. Or give servings instead. |
| target_servings | number | Servings you want. |
| original_servings | number | Servings the recipe makes now. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lines"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 80,
"minItems": 1,
"description": "Ingredient lines, one per item, amount first: \"2 cups all-purpose flour\", \"1/2 cup butter\", \"2 large eggs\", \"200 g chicken breast\", \"1 tsp salt\"."
},
"factor": {
"type": "number",
"maximum": 100,
"description": "Multiply every quantity by this, e.g. 2 or 0.5. Or give servings instead.",
"exclusiveMinimum": 0
},
"target_servings": {
"type": "number",
"maximum": 1000,
"description": "Servings you want.",
"exclusiveMinimum": 0
},
"original_servings": {
"type": "number",
"maximum": 1000,
"description": "Servings the recipe makes now.",
"exclusiveMinimum": 0
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 2, 2026.
| Sodium, mg per serving. |
| added_sugars_g | number | Added sugars, g per serving. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kcal"
],
"properties": {
"kcal": {
"type": "number",
"maximum": 100000,
"minimum": 0,
"description": "Calories per serving, unrounded."
},
"fat_g": {
"type": "number",
"maximum": 10000,
"minimum": 0,
"description": "Total fat, g per serving."
},
"carbs_g": {
"type": "number",
"maximum": 10000,
"minimum": 0,
"description": "Total carbohydrate, g per serving."
},
"fiber_g": {
"type": "number",
"maximum": 10000,
"minimum": 0,
"description": "Dietary fiber, g per serving."
},
"sugars_g": {
"type": "number",
"maximum": 10000,
"minimum": 0,
"description": "Total sugars, g per serving."
},
"protein_g": {
"type": "number",
"maximum": 10000,
"minimum": 0,
"description": "Protein, g per serving."
},
"sat_fat_g": {
"type": "number",
"maximum": 10000,
"minimum": 0,
"description": "Saturated fat, g per serving."
},
"sodium_mg": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Sodium, mg per serving."
},
"added_sugars_g": {
"type": "number",
"maximum": 10000,
"minimum": 0,
"description": "Added sugars, g per serving."
}
}
}