openfoodtox_search

Pack: openfoodtox · Endpoint: https://gateway.pipeworx.io/openfoodtox/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/openfoodtox_search for the schema, then POST the same URL with its arguments for the data.

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

NameTypeRequiredDescription
querystringyesName fragment, e.g. “aflatoxin” or “phthalate”.
limitnumbernoMaximum 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.

Regenerated from source · build September 24, 2026