Skip to main content
MCP server CX Codex

agentfood — Claude Code MCP server: search and compare nutrition facts

agentfood — an MCP server with access to USDA FoodData Central: searches 1M+ foods, displays complete nutrient profiles (macros and micronutrients), and compares them side-by-side. Public government data.

no license 10,415 installs updated 2026-05-28

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http agentfood https://agentfood--heavysword1.run.tools
Open on GitHub

What agentfood does

agentfood brings nutrition lookup and analysis tools into your IDE. Three functions handle the workflow: search_food queries by name and returns macros for matching results, get_nutrition retrieves the full profile (protein, fat, carbs, vitamins, minerals) for a specific USDA FDC ID, and compare_foods lines up multiple foods to show which win on protein and calorie density.

Data comes from USDA FoodData Central. The server runs at https://agentfood--heavysword1.run.tools over HTTP; no API keys required.

What it helps with

  • find foods matching target macronutrients for meal planning
  • compare nutrition profiles across multiple ingredients or dishes
  • retrieve detailed micronutrient data from authoritative sources

Example prompts for the agent

  • Search for high-protein dairy foods using search_food
  • Get full nutrition breakdown including vitamins for a chicken egg
  • Compare chicken, fish and beef on calories and protein density

How to install agentfood

Platform CLI: remote server

claude mcp add --transport http agentfood https://agentfood--heavysword1.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about agentfood

How do I install agentfood in Claude Code?

Run claude mcp add --transport http agentfood https://agentfood--heavysword1.run.tools in your terminal.

What does agentfood do?

It connects nutrition lookup tools backed by USDA FoodData Central: search foods by name, fetch complete profiles with macros and micronutrients, and compare multiple foods at once.

Do I need an API key?

No. The server uses public USDA government data.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open