Skip to main content
Glama
nutrition-mcp-server

nutrition-mcp-server

by AiAgentKarl

nutrition-mcp-server

MCP Server for nutrition data powered by USDA FoodData Central — the official U.S. government food database with 1,000,000+ foods.

PyPI License: MIT

Features

  • Search 1M+ foods in the USDA database (branded, foundation, and SR Legacy data)

  • Detailed nutrition facts — calories, protein, fat, carbs, vitamins, minerals

  • Compare two foods side-by-side across key nutrients

  • Find foods high in any nutrient (iron, protein, fiber, vitamin C, etc.)

  • Daily Value calculator — see what % of daily intake a meal covers

  • Nutrient education — functions, deficiency signs, top food sources

  • No API key required — uses USDA DEMO_KEY (30 requests/hour)

Related MCP server: Food Facts MCP Server

Tools

Tool

Description

tool_search_food

Search USDA database by name

tool_get_nutrition_facts

Full nutrition panel for any food (by FDC ID)

tool_compare_foods

Side-by-side comparison of two foods

tool_find_foods_high_in

Find top foods for a specific nutrient

tool_get_daily_values

FDA Daily Values reference table

tool_calculate_daily_intake

Calculate % of daily needs covered

tool_get_food_categories

Browse USDA database categories

tool_get_nutrient_info

Education on vitamins & minerals

Installation

pip install nutrition-mcp-server

Claude Desktop Config

{
  "mcpServers": {
    "nutrition": {
      "command": "nutrition-mcp-server"
    }
  }
}

Data Source

USDA FoodData Central — maintained by the U.S. Department of Agriculture, National Agricultural Library.

License

MIT

Available Tools

8 tools
tool_calculate_daily_intakeB

Berechnet wie viel Prozent des Tagesbedarfs ein Lebensmittel deckt.

Args: fdc_id: USDA FoodData Central ID servings: Anzahl der Portionen (Standard: 1) serving_grams: Groesse einer Portion in Gramm (Standard: 100g)

Inputs: fdc_id (required), servings, serving_grams.

tool_compare_foodsA

Zwei Lebensmittel naehrwerttechnisch vergleichen.

Args: fdc_id_1: USDA ID des ersten Lebensmittels fdc_id_2: USDA ID des zweiten Lebensmittels serving_grams: Portionsgroesse fuer Vergleich (Standard: 100g)

Inputs: fdc_id_1 (required), fdc_id_2 (required), serving_grams.

tool_find_foods_high_inB

Lebensmittel mit hohem Gehalt eines bestimmten Naehrstoffs finden.

Args: nutrient: Naehrstoff (z.B. "protein", "iron", "vitamin c", "fiber", "calcium") food_category: Optionale Kategorie (z.B. "vegetables", "meat", "dairy")

Inputs: nutrient (required), food_category.

tool_get_daily_valuesA

Taeglich empfohlene Naehrstoffzufuhr (DRI) fuer Erwachsene anzeigen.

Zeigt die offiziellen FDA Daily Values fuer alle wichtigen Naehrstoffe.

Inputs: no named parameters.

tool_get_food_categoriesA

Verfuegbare Lebensmittelkategorien und Datentypen in USDA FoodData Central anzeigen.

Inputs: no named parameters.

tool_get_nutrient_infoA

Detailinfo zu einem Naehrstoff: Funktion, Mangelzeichen, Lebensmittelquellen.

Args: nutrient: Naehrstoffname (z.B. "vitamin c", "iron", "protein", "fiber", "calcium")

Inputs: nutrient (required).

tool_get_nutrition_factsB

Vollstaendige Naehrwertdaten fuer ein Lebensmittel abrufen.

Args: fdc_id: USDA FoodData Central ID (aus search_food) serving_grams: Portionsgroesse in Gramm fuer Berechnung (Standard: 100g)

Inputs: fdc_id (required), serving_grams.

tool_search_foodB

Lebensmittel in der USDA FoodData Central Datenbank suchen (1M+ Eintraege).

Args: query: Suchbegriff (z.B. "apple", "chicken breast", "whole wheat bread") limit: Anzahl der Ergebnisse (max. 25, Standard: 10)

Inputs: query (required), limit.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: searching, retrieving facts, daily values, nutrient info, finding high-nutrient foods, categories, comparison, and intake calculation. No overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with underscores (e.g., search_food, get_nutrition_facts, compare_foods). No mixed conventions.

    Tool Count5/5

    Eight tools cover the core functionalities of a nutrition database server without being excessive or insufficient. Each tool has a clear role.

    Completeness5/5

    The tool set covers search, retrieval, nutrient information, daily values, comparisons, and intake calculation. There are no obvious gaps for an informational nutrition server.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    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
      B
      quality
      B
      maintenance
      Enables querying a global food nutrition database of generic and branded products, including search by name, lookup by barcode, and retrieval of resolved nutrient values pinned to a dated snapshot. Coverage spans USDA FoodData Central and Open Food Facts sources, with freshness health checks available.
      9
      AGPL 3.0