codex_commodity_search
Pack: codex-mrl · Endpoint: https://gateway.pipeworx.io/codex-mrl/mcp
Find food commodities in the Codex pesticide residue database by name (apple, rice, milk, poultry meat). Returns each match with the id needed to look up every pesticide limit that applies to it. Codex splits foods finely — “apple” and “apple pomace, dried” are separate commodities with different limits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Food or commodity name, e.g. “apple”. |
Example call
Arguments
{
"query": "apple"
}
curl
curl -X POST https://gateway.pipeworx.io/codex-mrl/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"codex_commodity_search","arguments":{"query":"apple"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('codex_commodity_search', {
"query": "apple"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"codex-mrl": {
"url": "https://gateway.pipeworx.io/codex-mrl/mcp"
}
}
}
See Getting Started for client-specific install steps.