contaminants_max_levels
Pack: codex-contaminants · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/contaminants_max_levels for the schema, then POST the same URL with its arguments for the data.
Codex Alimentarius maximum levels (MLs) for a contaminant in food — lead, cadmium, arsenic, mercury, methylmercury, tin, aflatoxins, ochratoxin A, patulin, melamine, hydrocyanic acid. Returns each commodity with its maximum level, the unit it is expressed in, and the page of CXS 193 it came from. Use for “what is the Codex limit for lead in fish” or “which foods have cadmium maximum levels”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
contaminant | string | yes | Contaminant name, e.g. “lead”, “cadmium”, “aflatoxins”, “methylmercury”, “tin”. Matched case-insensitively. |
commodity | string | no | Optional. Narrow to a commodity or food group, e.g. “rice”, “fish”, “milk”, “vegetables”. |
Example call
Arguments
{
"contaminant": "lead"
}
curl
curl -X POST https://gateway.pipeworx.io/codex-contaminants/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"contaminants_max_levels","arguments":{"contaminant":"lead"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('contaminants_max_levels', {
"contaminant": "lead"
});
More examples
{
"contaminant": "cadmium",
"commodity": "rice"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the codex-contaminants pack
{
"mcpServers": {
"codex-contaminants": {
"url": "https://gateway.pipeworx.io/codex-contaminants/mcp"
}
}
}
See Getting Started for client-specific install steps.