search_foods
Pack: usda-fdc · Endpoint: https://gateway.pipeworx.io/usda-fdc/mcp
Search USDA FDC food items.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text — name / brand / ingredient |
data_type | string | no | Filter to data type(s). Comma-sep. Options: ${DATA_TYPES} |
brand_owner | string | no | Restrict to a brand owner |
page_size | number | no | 1-200 (default 50) |
page_number | number | no | 1-based page (default 1) |
sort_by | string | no | dataType.keyword | lowercaseDescription.keyword | fdcId | publishedDate (default relevance) |
sort_order | string | no | asc | desc |
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":"search_foods","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.