LegisMCP
Tools Reference

USDA FoodData

3 tools for accessing USDA FoodData Central. Uses same Congress.gov API key.

fooddata-search

Search USDA FoodData Central for foods by name or keyword. Returns nutrient highlights per 100g serving.

Parameters

NameTypeRequiredDescription
querystringrequiredSearch query (e.g., "chicken breast", "apple")
dataTypestringoptionalFilter: "Branded", "SR Legacy", "Foundation", "Survey (FNDDS)"
pageSizenumberoptionalResults per page (max 200, default 25)
pageNumbernumberoptionalPage number (0-indexed)

Example

fooddata-search(query: "chicken breast")

fooddata-detail

Get the full nutrient profile for a specific food by FDC ID — macros, vitamins, minerals, and more.

Parameters

NameTypeRequiredDescription
fdcIdnumberrequiredFoodData Central ID (use fooddata-search to find IDs)

Example

fooddata-detail(fdcId: 171705)

fooddata-nutrients

Get nutrient data for multiple foods at once for side-by-side comparison.

Parameters

NameTypeRequiredDescription
fdcIdsstringrequiredComma-separated FDC IDs (e.g., "171705,167782")

Example

fooddata-nutrients(fdcIds: "171705,167782")