Skip to main content
Glama
sg-food-recalls

sg-food-recalls

by pipeworx-io

@pipeworx/sg-food-recalls

Singapore Food Agency food alerts and recalls: foods recalled or found unsafe in Singapore for foreign matter (glass, metal), undeclared allergens, microbial contamination (Listeria, E. coli, cereulide toxin) or adulteration with banned substances. For each notice: the date, notice type, title, the product and the reason taken from the title, and the link to the notice.

Part of Pipeworx — an MCP gateway connecting AI agents to 2016+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

List only. The Agency's published alerts list carries the date, title and link; the notice text is not read, so the importer or company is not returned (importer_company is present and null on every notice), and every response says so (notice_text_read: false).

Tools

  • sg_food_recalls_search(query?, date_from?, date_to?, limit?) -- searches the list, newest first. The keyword matches the title. The list spans the Agency's recent published notices; searched.scanned_first / scanned_last give the span read. Zero matches states the span; a list that is not readable is an error, never no match.

Every response carries source and data_as_of (the newest notice date scanned).

Related MCP server: hk-food-alerts

Auth

Keyless.

Data sources

  • Singapore Food Agency, food alerts and recalls. Read live per call, nothing stored.

Covers food. Consumer goods recalls are in sg-product-recalls; health-product recalls are in sg-hsa-recalls.

Privacy: firms and products only; the list carries no individuals' details.

Traps worth knowing: product and reason are split from the title and can read as the whole title when it does not follow "Recall of X due to Y"; zero matches means no match in the span read, not that a food is safe.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "sg-food-recalls": {
      "url": "https://gateway.pipeworx.io/sg-food-recalls/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/sg-food-recalls/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 2016+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/sg_food_recalls_search \
  -H 'Content-Type: application/json' \
  -d '{"query":"cheese"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/sg_food_recalls_search. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Run it from npm

@pipeworx/mcp-sg-food-recalls is a local stdio bridge to the Pipeworx gateway: your MCP client starts it with npx, and it forwards every call to the same https://gateway.pipeworx.io/sg-food-recalls/mcp endpoint shown above. It needs network access; there is no offline mode.

{
  "mcpServers": {
    "sg-food-recalls": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-sg-food-recalls"]
    }
  }
}

Without a key it calls anonymously, capped at 50 calls a day. A free account raises that to 200 a day: get a key at https://pipeworx.io/signup and add "env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry. The key is sent as a Bearer token, the same way a hosted connection sends it, so calls are metered and billed exactly as they are there.

It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to also list ask_pipeworx and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check your Node version's documentation.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Sg Food Recalls data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search and retrieve Hong Kong Centre for Food Safety food and allergy alerts from 2006 onward, including product, importer, reason, legal test result, action taken, and consumer/trade advice. Responses include source and data-as-of metadata and are available through an MCP endpoint or direct HTTP calls.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and retrieving Japanese consumer product recall notices from the Consumer Affairs Agency, covering refunds, repairs and replacements for food, appliances, household goods, clothing and vehicles. Supports keyword and category search plus full notice details including product, company, remedy, hazard and official notice links.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables keyword or publication-date search of South Korea's domestic product recall notices (consumer products, children's products, batteries, electrical goods) and retrieval of individual notices with defect, hazard and consumer-action details. Returns Korean-language data live from the KATS Product Safety Information Center, keyless and unfiltered by date beyond the requested range.
      MIT