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
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Free text matched against the notification subject, which names the hazard and the product (e.g. “salmonella”, “aflatoxin”, “ethylene oxide”, “pistachio”). |
days | number | no | Only notifications from the last N days (1-3650). Use instead of date_from/date_to. |
date_from | string | no | Earliest validation date, YYYY-MM-DD (inclusive). |
date_to | string | no | Latest validation date, YYYY-MM-DD (inclusive). |
product_category | string | no | Product 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_category | string | no | Hazard category name or id, e.g. “pathogenic micro-organisms”, “mycotoxins”, “pesticide residues”, “allergens”. rasff_filter_values kind=hazard_categories lists them. |
risk_decision | string | no | Risk decision: serious, potentially serious, potential risk, not serious, no risk. |
classification | string | no | Notification classification, e.g. “alert notification”, “border rejection notification”, “information notification for attention”. |
action_taken | string | no | Measure taken, e.g. “recall from consumer”, “withdrawal from the market”, “Entry refusal”, “destruction”. rasff_filter_values kind=actions_taken lists them. |
product_type | string | no | food, feed or food contact material. |
notifying_country | string | no | Country that raised the notification (a RASFF network member): ISO alpha-2 code or English name, e.g. “DE”, “Netherlands”. Comma-separate several. |
origin_country | string | no | Country the product came from: ISO alpha-2 code or English name, e.g. “TR”, “China”. |
distribution_country | string | no | Country the product was distributed to: ISO alpha-2 code or English name. |
reference | string | no | Exact notification reference, e.g. 2026.10647. |
limit | number | no | Rows per page, 1-25 (default 10). |
page | number | no | Page number, from 1 (default 1). |
include_hazards | boolean | no | Load 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
| Field | Type | Description |
|---|---|---|
total | number | |
page | number | |
limit | number | |
total_pages | number | |
returned | number | |
filters_applied | object | |
notifications | array | |
source | string | |
data_as_of | string | |
caveat | string |
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.