openfda_search_recalls
ActiveTool of @cyanheads/openfda-mcp-server
declared in 0.4.0
Search enforcement reports and recall actions across drugs, food, and devices.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"category"
],
"properties": {
"skip": {
"type": "number",
"default": 0,
"maximum": 25000,
"minimum": 0,
"description": "Pagination offset (0-25000)."
},
"sort": {
"type": "string",
"description": "Sort expression (field:asc or field:desc). Example: report_date:desc. Invalid or non-sortable fields cause a query error — use a documented field name."
},
"limit": {
"type": "number",
"default": 10,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of records to return (1-1000)."
},
"search": {
"type": "string",
"description": "openFDA search query. Examples: classification:\"Class I\" (also \"Class II\" or \"Class III\"), recalling_firm:\"pfizer\", reason_for_recall:\"undeclared allergen\"."
},
"category": {
"enum": [
"drug",
"food",
"device"
],
"type": "string",
"description": "Product category"
},
"endpoint": {
"enum": [
"enforcement",
"recall"
],
"type": "string",
"default": "enforcement",
"description": "Report type. Default enforcement. The recall endpoint is only available for devices."
},
"canvas_id": {
"type": "string",
"description": "DataCanvas session id from a prior call. Omit to start a fresh canvas; the response returns a new one when canvas is enabled. When canvas (CANVAS_PROVIDER_TYPE=duckdb) is enabled the full matched set is staged for SQL and limit/skip apply only to the inline path."
}
}
}Parent server
@cyanheads/openfda-mcp-server
https://github.com/cyanheads/openfda-mcp-server
2/7 registries