food-mcp
v0.1.0Precision 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer | |
region | string |
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.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
ingredients * | array | |
servings | integer | |
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.
| Parameter | Type | Description |
|---|---|---|
ingredients * | array | |
max_carbs_g | number | |
servings | integer | |
target_protein_g | number |
lookup_barcode
Instant lookup of any global packaged food barcode via Open Food Facts API.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
name * | string |
check_for_updates
Check PyPI for the latest version of food-mcp.
| Parameter | Type | Description |
|---|---|---|
force | boolean |