rasff_search_notifications

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

Search the European Commission’s Rapid Alert System for Food and Feed (RASFF): notifications EU/EEA food-safety authorities raise about unsafe food, feed and food-contact materials, such as Salmonella in poultry, aflatoxins in nuts, pesticide residues in rice, undeclared allergens. Filter by text in the subject (hazard or product, e.g. “salmonella”), a date window (days or date_from/date_to), product category, hazard category, risk decision, classification, measure taken, and notifying, origin or distribution country. Each row gives the reference, date, subject, product, hazard, hazard categories, risk decision, notifying and origin countries, distribution countries and measures taken. Newest first. Zero matches is an explicit empty answer with a note, not an error. Source: European Commission, RASFF Window public notifications (live).

Parameters

NameTypeRequiredDescription
querystringnoFree text matched against the notification subject, which names the hazard and the product (e.g. “salmonella”, “aflatoxin”, “ethylene oxide”, “pistachio”).
daysnumbernoOnly notifications from the last N days (1-3650). Use instead of date_from/date_to.
date_fromstringnoEarliest validation date, YYYY-MM-DD (inclusive).
date_tostringnoLatest validation date, YYYY-MM-DD (inclusive).
product_categorystringnoProduct category name or id, e.g. “poultry meat and poultry meat products”, “nuts”, “feed materials”. Comma-separate several. rasff_filter_values kind=product_categories lists them.
hazard_categorystringnoHazard category name or id, e.g. “pathogenic micro-organisms”, “mycotoxins”, “pesticide residues”, “allergens”. rasff_filter_values kind=hazard_categories lists them.
risk_decisionstringnoRisk decision: serious, potentially serious, potential risk, not serious, no risk.
classificationstringnoNotification classification, e.g. “alert notification”, “border rejection notification”, “information notification for attention”.
action_takenstringnoMeasure taken, e.g. “recall from consumer”, “withdrawal from the market”, “Entry refusal”, “destruction”. rasff_filter_values kind=actions_taken lists them.
product_typestringnofood, feed or food contact material.
notifying_countrystringnoCountry that raised the notification (a RASFF network member): ISO alpha-2 code or English name, e.g. “DE”, “Netherlands”. Comma-separate several.
origin_countrystringnoCountry the product came from: ISO alpha-2 code or English name, e.g. “TR”, “China”.
distribution_countrystringnoCountry the product was distributed to: ISO alpha-2 code or English name.
referencestringnoExact notification reference, e.g. 2026.10647.
limitnumbernoRows per page, 1-25 (default 10).
pagenumbernoPage number, from 1 (default 1).
include_hazardsbooleannoLoad each row’s full record for product, hazard, distribution countries and measures (default true). false returns the list fields only, faster.

Example call

Arguments

{
  "query": "salmonella",
  "days": 90,
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/rasff/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"rasff_search_notifications","arguments":{"query":"salmonella","days":90,"limit":5}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('rasff_search_notifications', {
  "query": "salmonella",
  "days": 90,
  "limit": 5
});

Response shape

FieldTypeDescription
totalnumber
pagenumber
limitnumber
total_pagesnumber
returnednumber
filters_appliedobject
notificationsarray
sourcestring
data_as_ofstring
caveatstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "page": {
      "type": "number"
    },
    "limit": {
      "type": "number"
    },
    "total_pages": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "filters_applied": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string"
        },
        "date_from": {
          "type": "string"
        },
        "date_to": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "notifications": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "reference": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "product_category": {
            "type": "string"
          },
          "product_type": {
            "type": "string"
          },
          "hazard": {
            "type": [
              "string",
              "null"
            ]
          },
          "hazard_categories": {
            "type": "array",
            "items": {
              "type": [
                "string",
                null
              ]
            }
          },
          "hazard_observed": {
            "type": [
              "string",
              "null"
            ]
          },
          "risk_decision": {
            "type": "string"
          },
          "classification": {
            "type": "string"
          },
          "notifying_country": {
            "type": "string"
          },
          "origin_countries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "distribution_countries": {
            "type": "array",
            "items": {
              "type": [
                "string",
                null
              ]
            }
          },
          "measures_taken": {
            "type": "array",
            "items": {
              "type": [
                null,
                "string"
              ]
            }
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "caveat": {
      "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 rasff pack
{
  "mcpServers": {
    "rasff": {
      "url": "https://gateway.pipeworx.io/rasff/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 1, 2026