uk_food_alerts_search

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

Search the UK Food Standards Agency’s food alerts for England, Wales and Northern Ireland: product recalls and withdrawals (PRIN), allergy alerts (AA, undeclared milk, nuts, gluten and so on) and food alerts for action (FAFA). Each alert gives the number, type, title, the business recalling, issue date, the products named, the allergens and the link to the notice. Search words (a retailer such as Tesco, a hazard such as salmonella or listeria, a product such as pie), filter by type (recall, allergy, action) and a start date; newest first. Scotland’s alerts are issued by Food Standards Scotland and are not here. Zero matches states what was searched. Example: query=“salmonella”, type=“recall”, date_from=“2026-01-01”. For batch codes, the action taken and consumer advice use uk_food_alert_get.

Parameters

NameTypeRequiredDescription
querystringnoWords in the alert: business, product or hazard (e.g. “Tesco”, “salmonella”, “undeclared milk”). Optional.
typestringnoall (default), recall (PRIN), allergy (AA) or action (FAFA).
date_fromstringnoOnly alerts issued on or after this ISO date (YYYY-MM-DD).
limitnumbernoMaximum alerts returned (1-50, default 10).

Example call

Arguments

{
  "query": "salmonella",
  "type": "recall",
  "date_from": "2026-01-01",
  "limit": 3
}

curl

curl -X POST https://gateway.pipeworx.io/uk-food-alerts/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"uk_food_alerts_search","arguments":{"query":"salmonella","type":"recall","date_from":"2026-01-01","limit":3}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('uk_food_alerts_search', {
  "query": "salmonella",
  "type": "recall",
  "date_from": "2026-01-01",
  "limit": 3
});

Response shape

FieldTypeDescription
queryobject
foundboolean
returnednumber
alertsarray
searchedobject
data_as_ofstring | null
sourcestring
caveatstring
empty_reasonstring
notestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "object",
      "properties": {
        "query": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "date_from": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "found": {
      "type": "boolean"
    },
    "returned": {
      "type": "number"
    },
    "alerts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "alert_number": {
            "type": "string"
          },
          "alert_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "business": {
            "type": [
              "string",
              "null"
            ]
          },
          "issued": {
            "type": [
              "string",
              "null"
            ]
          },
          "modified": {
            "type": [
              "string",
              "null"
            ]
          },
          "alert_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "products": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "allergens": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      }
    },
    "searched": {
      "type": "object",
      "properties": {
        "list": {
          "type": "string"
        },
        "issued_from": {
          "type": [
            "string",
            "null"
          ]
        },
        "issued_to": {
          "type": [
            "string",
            "null"
          ]
        },
        "limit": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "data_as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": "string"
    },
    "caveat": {
      "type": "string"
    },
    "empty_reason": {
      "type": "string"
    },
    "note": {
      "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 uk-food-alerts pack
{
  "mcpServers": {
    "uk-food-alerts": {
      "url": "https://gateway.pipeworx.io/uk-food-alerts/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026