/nutrition-mcp:nutritionfrom nutrition-mcp
Look up nutrition data for foods, plan meals, calculate macros. Use when discussing calories, protein, fat, carbs, dietary analysis, food comparisons, or barcode scanning.
Ships in nutrition-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze nutritional content of foods using the nutrition-mcp tools.
Determine query type and run the lookup in a single step:
nutrition_barcodenutrition_searchCheck the results for seeding status: if the response includes a seeding progress message (e.g. "Local database is being downloaded" or "X% imported"), the local database is still being populated. Show the progress to the user alongside any USDA results. If seeding hasn't started yet (no progress message and no local-tier results), call nutrition_seed to start it, then inform the user that the local database is being set up in the background.
Check for USDA key: if source_tier is only "local" for all results (no "usda" tier), append a note:
Note: USDA API key is not configured — results are local-only. Get a free key at https://fdc.nal.usda.gov/api-key-signup and add
USDA_API_KEY=your_keyto.envfor broader coverage.
Present results in a table showing name, brand, and macros (calories, protein, fat, carbs) — these are scaled to the food's serving when basis: "per_serving"; if basis: "per_100g" instead, say so explicitly rather than presenting the numbers as a serving amount (the serving weight isn't known for this food). Include fiber/sugar/sodium when available. Note the source (local, USDA, or cached) and flag it if is_correction is true or superseded_by is set — see docs/CALLER-GUIDE.md for the full trust-signal reference.
data_quality is "impossible_macros": the row is physically corrupt (protein+carbs+fat exceed 100g per 100g of food) and calories/protein/fat/carbs/etc. are all null — there is nothing to present as a number. Tell the user this specific database entry is corrupt (you can mention macro_mass_g as the impossible sum if useful context) and web search for the food's real nutrition information instead, the same as step 6 below for missing/poor results.If the user wants details on a specific result, look up the full record by ID.
If results are missing, incomplete, or a poor match (e.g. no results, only generic matches for a specific branded product, or the food is region-specific / niche):
nutrition_cache_stats to check seed and USDA key status.seed.phase is "idle" and local foods count is 0: call nutrition_seed to start seeding, then tell the user the database is being populated and to try again in a few minutes.nutrition_cache_add with the source URL. This ensures the user gets accurate, up-to-date nutrition data rather than estimates.If the user says a result looks wrong (e.g. "that can't be right", "those calories seem off", "this is the wrong product") or reads you a physical label:
nutrition_override with those numbers directly — basis: "per_serving" (the default) means you paste the label's numbers as-is with the label's serving_weight_g, no need to do the per-100g division yourself. serving_weight_g is required in the same call if you're correcting any macro field.nutrition_override with the corrected fields and the original food's ID (basis: "per_100g" if the source gives per-100g values, basis: "per_serving" + serving_weight_g if it gives per-serving values).nutrition_cache_delete, then search the web for the correct product and cache it with nutrition_cache_add.Browsing cached entries: If the user wants to review what's been cached (e.g. "show me my cached foods", "what have I saved"), use nutrition_cache_list. Filter by tier ("usda", "web", or "all") as appropriate.
IMPORTANT — never guess nutrition values from training data. Nutrition information must come from one of these sources:
If you cannot find reliable data from any of these sources, tell the user what you searched and that you couldn't find verified nutrition information. Do not fill in values from memory — they may be outdated or inaccurate.
/nutrition chicken breast
/nutrition 012345678901
/nutrition compare salmon vs tilapia
basis: "per_serving"; check basis on every
result rather than assuming — it's "per_100g" (unscaled) when the serving weight isn't known
for that food. See docs/CALLER-GUIDE.md for the full reference on basis, atwater_delta_pct,
is_correction, verified_fields, superseded_by, and data_quality.data_quality: "impossible_macros" row's null macro fields as if they were
zero or unknown-but-fine — they're null because the row is corrupt, not because the food has
no calories. Always web search for a replacement instead.nutrition_seed (~3 min, runs in background)nutrition_cache_add — do not rely on training data for nutrition valuesWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (daveremy/nutrition-mcp) — no native marketplace selected
npx claudepluginhub p/daveremy-nutrition-mcp