Skip to main content
Glama

Server Details

USDA FoodData Central nutrition data: search foods, compare macros, and analyze meals.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 14 tools

Disambiguation5/5

Each tool targets a distinct resource+action: analyze_meal/analyze_recipe/analyze_plan differ in scope (single meal, one dish per serving, multi-day plan) and the descriptions make the boundaries explicit. search_foods vs get_food_nutrition (search vs. detail), compare_foods vs find_foods_by_nutrient (side-by-side vs. ranked single-nutrient), and get/set/clear_profile are all clearly separable.

Naming Consistency4/5

Nearly all tools follow a consistent snake_case verb_noun pattern (analyze_*, get_*, set/clear_profile, list_retailers, resolve_ingredients, search_foods). The only notable deviation is database_status, which is noun_status rather than verb_noun, but that convention is idiomatic for status endpoints.

Tool Count5/5

14 tools sit squarely in the well-scoped range, with each tool earning its place across four clear areas: food lookup, nutrient analysis, profile management, and retailer handoff. Nothing feels redundant or padding-like.

Completeness4/5

The surface covers the full analysis lifecycle: search/resolve foods, inspect and compare nutrients, analyze meals/recipes/plans, manage profiles, and package retailer links. Minor gaps exist — no persistent meal/diary storage, no tool to list supported nutrients or food categories, and retailer integration is intentionally limited to link handoff (no cart/checkout).

Available Tools

14 tools
analyze_mealAnalyze a mealA
Read-onlyIdempotent
Inspect

Totals nutrients across several foods and assesses the meal.

assessment.shortfalls lists missed targets, worst first, and assessment.over_limit lists exceeded limits. not_reported lists nutrients with no data in the food records; those are unknown, not zero. failed lists items left out of the total, and partial is true when there are any.

Inputs: items (required). Returns: object

analyze_planAnalyze a meal planA
Read-onlyIdempotent
Inspect

Analyzes a multi-day meal plan and assesses its daily average.

Every ingredient is resolved and converted, then totaled by dish, meal, and day, up to 400 ingredients. The assessment is of the daily average, not the multi-day sum. per_day has each day's totals, shopping_list totals ingredients at full recipe quantities, and failed lists ingredients missing from the totals. The detail breakdown is large for a full week.

Inputs: days (required), detail, include_shopping_list. Returns: object

analyze_recipeAnalyze a recipeA
Read-onlyIdempotent
Inspect

Totals one dish from its ingredient list and reports it per serving.

Ingredient quantities are for the whole dish, as a recipe states them. per_serving divides by servings, whole_recipe holds the undivided totals, and the assessment covers one serving.

Inputs: name (required), ingredients (required), servings. Returns: object

clear_profileClear profileA
DestructiveIdempotent
Inspect

Deletes this conversation's profile so assessments use the FDA food-label values.

cleared is false when no profile was set.

Inputs: no named parameters. Returns: object

compare_foodsCompare foodsA
Read-onlyIdempotent
Inspect

Puts several foods side by side at the same serving weight.

highest_per_nutrient names the food with the most of each nutrient. failed lists ids that could not be loaded, and partial is true when the comparison is missing some of them.

Inputs: fdc_ids (required), grams. Returns: object

database_statusDatabase statusA
Read-onlyIdempotent
Inspect

Reports whether the local USDA database is built and what it holds.

The result counts foods by dataset and records with an ingredient statement.

Inputs: no named parameters. Returns: object

find_foods_by_nutrientRank foods by nutrientA
Read-onlyIdempotent
Inspect

Ranks foods by how much of one nutrient they carry per 100 g.

The default list is lab-measured foods. Branded products are included only when data_type is Branded. Amounts that cannot fit in 100 g, and potassium above the potassium-chloride ceiling, are left out. Per-100 g ranking favors foods eaten in small amounts, such as spices and dried herbs; the category filter narrows the list to one food group. Results are paged, and pagination.next_offset is null on the last page.

Inputs: nutrient (required), limit, offset, category, +2 more. Returns: object

get_food_nutritionFood nutrientsA
Read-onlyIdempotent
Inspect

Returns the nutrient breakdown for one food at a serving weight.

The result has macros, micronutrients, an assessment against daily targets, USDA's verbatim ingredient statement when available, and common portion sizes with their gram weights. ingredients_available is false when USDA supplied no ingredient statement, which does not mean the food has no ingredients. assessment.basis is personal_dri when a profile is set and fda_label_dv otherwise.

Inputs: fdc_id (required), grams. Returns: object

get_profileShow profileA
Read-onlyIdempotent
Inspect

Returns this conversation's profile and the daily targets it resolves to.

profile is null when none is set, and assessments then use the FDA food-label daily values.

Inputs: no named parameters. Returns: object

list_retailersList retailersA
Read-onlyIdempotent
Inspect

Lists configured retailers and the commerce capabilities each supports.

A retailer with integration_mode link_handoff supports product links only; no account, cart, checkout, or order is created for it.

Inputs: no named parameters. Returns: object

prepare_retailer_handoffPrepare product linksA
Read-onlyIdempotent
Inspect

Packages exact retailer products into links for the user to open.

The handoff repeats the products, links, and quantities with the original request. It does not contact the retailer, change a cart, or check out.

Inputs: items (required), retailer_id (required), original_request (required), store_id. Returns: object

resolve_ingredientsResolve ingredientsA
Read-onlyIdempotent
Inspect

Matches ingredient names to FoodData Central foods and converts portions to grams.

Portions such as 2 tbsp, 1/2 cup, or 1 medium are converted with each food's own measured portions, so 1 cup differs for spinach and olive oil. Repeated ingredients are looked up once. method says how each portion was converted. Ingredients that could not be converted are listed under unresolved with the portions that food supports, and alternatives lists runner-up matches with their fdc_id. Bare names such as rice or beans match many records; names with the cooked state, such as cooked white rice, match more precisely. About a fifth of USDA foods have a portion table.

Inputs: items (required). Returns: object

search_foodsSearch foodsA
Read-onlyIdempotent
Inspect

Searches USDA FoodData Central by food name.

Each match has an fdc_id, its dataset, key macros per 100 g, and, for branded products, USDA's verbatim ingredient statement. ingredients_available is false when USDA supplied no ingredient statement for that record. Results are paged, and pagination.next_offset is null on the last page.

Inputs: query (required), limit, offset, data_type. Returns: object

set_profileSet profileA
DestructiveIdempotent
Inspect

Stores a profile for this conversation so assessments use Dietary Reference Intakes.

Age- and sex-specific U.S. Dietary Reference Intakes replace the generic food-label values. The result lists the resolved daily targets and limits. The profile is held in memory for the conversation, replaces any earlier profile, and is not written to disk.

Inputs: age (required), sex (required), activity, height_cm, +2 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides intelligent access to the USDA nutrition database through AI assistants, enabling users to search foods, compare nutritional content, find foods high in specific nutrients, and query authoritative nutrition data across 7,146+ food items through natural language.
      1
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching USDA foods, comparing nutrients, and accessing the full FoodData Central database via MCP tools and resources.
      517 npm
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables Claude to search and access detailed nutritional information from the USDA's FoodData Central database.
      11
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources