fda_warning_letters
Pack: openfda · Endpoint: https://gateway.pipeworx.io/openfda/mcp
Search FDA WARNING LETTERS — official enforcement letters FDA sends firms for violations (CGMP, adulterated/misbranded products, unapproved claims). Answers “has search matches the RECIPIENT company the letter was issued to, so the answer is about that firm’s own enforcement history; set match:“fulltext” to search the whole letter record instead, which also finds letters that merely mention a firm. Every row reports matched_field so a caller can tell “issued to” from “mentions”. Covers ~3,660 letters. Returns recipient company, posted/issued dates, issuing FDA office, subject, and a link to the full letter text. Keyless, live from fda.gov.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
search | string | no | Company the letter was issued to (e.g. “Elanco”, “Merck Sharp & Dohme”) under the default match mode. Under match:“fulltext” this is a free-text query over the whole record — a product (“supplement”) or violation topic (“CGMP”). Omit for the most recent letters. |
match | string | no | How search is applied. “recipient” (default) keeps only letters whose addressed company matches. “fulltext” returns every record matching anywhere in its indexed text, including letters that only mention the term. |
limit | number | no | Max letters to return, 1–50 (default 10). Newest first. |
Example call
Arguments
{
"search": "Elanco"
}
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_warning_letters","arguments":{"search":"Elanco"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('fda_warning_letters', {
"search": "Elanco"
});
More examples
{
"search": "supplement",
"limit": 20,
"match": "fulltext"
}
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.