Skip to main content
Glama
AiAgentKarl

nutrition-mcp-server

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)

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AiAgentKarl/nutrition-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server