food-mcp

v0.1.0
food-mcp Checked 5 hours ago Published 1 month ago

Precision food chemistry, global nutrition databases (USDA, Open Food Facts, IFCT), and recipe formulation for AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lookup_food

Searches food chemistry databases across ICMR-NIN IFCT, USDA, and Open Food Facts. Returns matched foods with food IDs and per-100g macro previews.

ParameterTypeDescription
query *string
limitinteger
regionstring

get_food_chemistry

Returns the full molecular profile for a food ID or packaged barcode: macros, micros, amino acids, fatty acids, NOVA group (1 to 4), Nutri-Score, allergens, and additives.

ParameterTypeDescription
food_id_or_barcode *string

formulate_recipe

Formulates a multi-ingredient recipe and returns aggregate and per-serving macros, caloric distribution, amino acid completeness (WHO/FAO 2007 pattern + 2.5g Leucine MPS threshold), micronutrient synergies (Na:K ratio, Ca:Mg ratio, Iron bioavailability), glycemic impact (GI and Glycemic Load), and cleanliness score (weighted NOVA).

ParameterTypeDescription
ingredients *array
servingsinteger
title

optimize_recipe_macros

Analyzes a recipe and suggests precise gram adjustments or nutrient-dense swaps (e.g., swapping flour for lupin/almond flour, adding hemp seeds, paneer, nutritional yeast) to hit target macros and clear the 2.5g Leucine MPS threshold.

ParameterTypeDescription
ingredients *array
max_carbs_gnumber
servingsinteger
target_protein_gnumber

lookup_barcode

Instant lookup of any global packaged food barcode via Open Food Facts API.

ParameterTypeDescription
barcode *string

doctor

Tests connectivity to Open Food Facts, USDA, and local IFCT dataset.

skills_list

List available food chemistry and recipe optimization skills.

skill_read

Read a specific food chemistry skill/playbook by name.

ParameterTypeDescription
name *string

check_for_updates

Check PyPI for the latest version of food-mcp.

ParameterTypeDescription
forceboolean