gsfa_search_food_categories
Pack: codex-gsfa · Endpoint: https://gateway.pipeworx.io/codex-gsfa/mcp
Search the Codex GSFA food category system by number or name — for example “cheese”, “beverages”, or “01.4”. Returns matching category numbers and names. Use to find the right GSFA food category number before checking which additives are permitted in it.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Category number prefix or words from the category name. |
limit | number | no | Maximum results (default 50). |
Example call
Arguments
{
"query": "cheese"
}
curl
curl -X POST https://gateway.pipeworx.io/codex-gsfa/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gsfa_search_food_categories","arguments":{"query":"cheese"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('gsfa_search_food_categories', {
"query": "cheese"
});
More examples
{
"query": "01."
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"codex-gsfa": {
"url": "https://gateway.pipeworx.io/codex-gsfa/mcp"
}
}
}
See Getting Started for client-specific install steps.