Recipe Nutrition Calculator MCP
An MCP server that calculates nutrition facts for recipes using USDA FoodData Central data. It provides tools to look up ingredient nutrition, calculate total and per-serving values with FDA label rounding, round nutrition labels according to 21 CFR 101.9, and scale ingredient lines while recomputing nutrition.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Look up USDA nutrient values per 100g for ingredients
- Calculate total and per-serving nutrition from ingredient lines
- Apply FDA Nutrition Facts rounding rules to labels
- Scale ingredient quantities and recompute nutrition totals
Source and maintenance
- Last repository push
- Maintenance checked
Protocol and capabilities
- Server
- recipe-nutrition-calculator-mcp 1.0.0
- MCP protocol negotiated in check
- 2025-06-18
- Tools
- 4 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Tools
4 advertised
lookup_ingredient_nutrition — Look up USDA nutrients for an ingredient
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.
{
"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\"."
}
}
}{
"title": "Look up ingredient nutrition",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}calculate_recipe_nutrition — Calculate nutrition for a whole recipe and per serving
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.
{
"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
}
}
}{
"title": "Calculate recipe nutrition",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}round_nutrition_label — Round values for an FDA Nutrition Facts label
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.
{
"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."
}
}
}{
"title": "Round nutrition label",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}scale_recipe_nutrition — Scale a recipe and recompute its nutrition
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.
{
"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
}
}
}{
"title": "Scale recipe nutrition",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 635 ms
- 95th percentile latency
- 635 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
- · probe · passed · 635 ms · metadata changed · 4 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http recipe-nutrition-calculator-mcp https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcpCodex
codex mcp add recipe-nutrition-calculator-mcp --url https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcpCursor
{
"mcpServers": {
"recipe-nutrition-calculator-mcp": {
"url": "https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp"
}
}
}Cline
{
"mcpServers": {
"recipe-nutrition-calculator-mcp": {
"type": "streamableHttp",
"url": "https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"recipe-nutrition-calculator-mcp": {
"type": "http",
"url": "https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http recipe-nutrition-calculator-mcp https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcpClaude Desktop
{
"mcpServers": {
"recipe-nutrition-calculator-mcp": {
"url": "https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp"
}
}
}Windsurf
{
"mcpServers": {
"recipe-nutrition-calculator-mcp": {
"serverUrl": "https://recipe-nutrition-calculator-mcp.lipmichal.workers.dev/mcp"
}
}
}Let your agent find its tools
Find servers like Recipe Nutrition Calculator MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.