fda_drug_recalls
Pack: openfda · Endpoint: https://gateway.pipeworx.io/openfda/mcp
Search FDA drug recalls and enforcement actions by drug name or reason. Returns recall classification, date, and enforcement status.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | OpenFDA search query. Examples: ‘openfda.brand_name:“VALSARTAN”’, ‘classification:“Class I”’, ‘reason_for_recall:“contamination“‘ |
limit | number | no | Number of results (1-100, default 10) |
Example call
Arguments
{
"query": "openfda.brand_name:\"VALSARTAN\""
}
curl
curl -X POST https://gateway.pipeworx.io/openfda/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fda_drug_recalls","arguments":{"query":"openfda.brand_name:\"VALSARTAN\""}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('fda_drug_recalls', {
"query": "openfda.brand_name:\"VALSARTAN\""
});
More examples
{
"query": "classification:\"Class I\"+AND+reason_for_recall:\"contamination\"",
"limit": 25
}
Response shape
Always returns: total, results
| Field | Type | Description |
|---|---|---|
total | number | Total count of matching drug recalls |
results | array | Array of drug recall/enforcement objects |
Full JSON Schema
{
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total count of matching drug recalls"
},
"results": {
"type": "array",
"description": "Array of drug recall/enforcement objects",
"items": {
"type": "object"
}
}
},
"required": [
"total",
"results"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"openfda": {
"url": "https://gateway.pipeworx.io/openfda/mcp"
}
}
}
See Getting Started for client-specific install steps.