openfoodtox_search
Pack: openfoodtox · Endpoint: https://gateway.pipeworx.io/openfoodtox/mcp
Search EFSA OpenFoodTox for assessed substances by name fragment, returning each match with how many reference values it carries. Use to find the exact substance name before requesting a hazard profile, or to see which related compounds EFSA has assessed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Name fragment, e.g. “aflatoxin” or “phthalate”. |
limit | number | no | Maximum matches to return (default 20). |
Example call
Arguments
{
"query": "aflatoxin"
}
curl
curl -X POST https://gateway.pipeworx.io/openfoodtox/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"openfoodtox_search","arguments":{"query":"aflatoxin"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('openfoodtox_search', {
"query": "aflatoxin"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"openfoodtox": {
"url": "https://gateway.pipeworx.io/openfoodtox/mcp"
}
}
}
See Getting Started for client-specific install steps.