list_food_groups
Pack: usda-fdc · Endpoint: https://gateway.pipeworx.io/usda-fdc/mcp
USDA food group reference (categories).
Example call
Arguments
{}
curl
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":"list_food_groups","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_food_groups', {});
Response shape
Always returns: note, wweia_categories_url, common_dataTypes
| Field | Type | Description |
|---|---|---|
note | string | Description of food groups source |
wweia_categories_url | string | URL to WWEIA category reference |
common_dataTypes | array | List of common FDC data types |
Full JSON Schema
{
"type": "object",
"description": "USDA food group reference data",
"properties": {
"note": {
"type": "string",
"description": "Description of food groups source"
},
"wweia_categories_url": {
"type": "string",
"description": "URL to WWEIA category reference"
},
"common_dataTypes": {
"type": "array",
"description": "List of common FDC data types",
"items": {
"type": "string"
}
}
},
"required": [
"note",
"wweia_categories_url",
"common_dataTypes"
]
}
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.