sg_food_recalls_search

Pack: sg-food-recalls · 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/sg_food_recalls_search for the schema, then POST the same URL with its arguments for the data.

Search the Singapore Food Agency’s list of food alerts and recalls: foods recalled or found unsafe in Singapore for foreign matter (glass, metal), undeclared allergens, microbial contamination (Listeria, E. coli, Salmonella, cereulide toxin) or adulteration with banned substances; newest first, the Agency’s recent published span. Each hit gives the date, notice type (recall, alert or adulteration alert), notice title, the product and the reason taken from the title, and the link to the notice. List only: the notice text is not read, so the importer or company is not returned, and every response says so. Filter by a word in the title (a food, brand or hazard such as cheese, milk, allergen, glass) or a date window. Zero matches states the span read. Example: query=“cheese”.

Parameters

NameTypeRequiredDescription
querystringnoWord in the notice title: a food, brand or hazard (e.g. “cheese”, “allergen”, “glass”, “formula”). Optional.
date_fromstringnoOnly notices on or after this ISO date (YYYY-MM-DD).
date_tostringnoOnly notices on or before this ISO date (YYYY-MM-DD).
limitnumbernoNotices to return (1-100, default 20).

Example call

Arguments

{
  "query": "cheese"
}

curl

curl -X POST https://gateway.pipeworx.io/sg-food-recalls/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sg_food_recalls_search","arguments":{"query":"cheese"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('sg_food_recalls_search', {
  "query": "cheese"
});

Response shape

FieldTypeDescription
queryobject
foundboolean
total_matchingnumber
returnednumber
noticesarray
searchedobject
notice_text_readboolean
notice_text_notestring
data_as_ofstring
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string"
        },
        "date_from": {
          "type": "null"
        },
        "date_to": {
          "type": "null"
        }
      },
      "additionalProperties": true
    },
    "found": {
      "type": "boolean"
    },
    "total_matching": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "notices": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "notice_type": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "importer_company": {
            "type": "null"
          },
          "notice_url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "searched": {
      "type": "object",
      "properties": {
        "list": {
          "type": "string"
        },
        "entries_scanned": {
          "type": "number"
        },
        "scanned_first": {
          "type": "string"
        },
        "scanned_last": {
          "type": "string"
        },
        "limit": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "notice_text_read": {
      "type": "boolean"
    },
    "notice_text_note": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "source": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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 sg-food-recalls pack
{
  "mcpServers": {
    "sg-food-recalls": {
      "url": "https://gateway.pipeworx.io/sg-food-recalls/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 16, 2026