get_food

Pack: usda-fdc · Endpoint: https://gateway.pipeworx.io/usda-fdc/mcp

Full food record by FDC id.

Parameters

NameTypeRequiredDescription
fdc_idnumberyesFDC id (e.g. 1102704)
formatstringnoabridged | full (default full)
nutrientsstringnoComma-sep nutrient numbers to restrict response

Example call

curl -X POST https://gateway.pipeworx.io/usda-fdc/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_food","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "usda-fdc": {
      "url": "https://gateway.pipeworx.io/usda-fdc/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026