
Wraps the openFDA API to give Claude access to FDA drug, device, and food enforcement data without requiring authentication. Part of the Pipeworx gateway ecosystem, which offers a streamable HTTP transport and an ask_pipeworx tool that interprets natural language questions and routes them to the appropriate API endpoints automatically. Useful when you need to query adverse event reports, recall information, or drug labeling data directly from conversations. The source doesn't list specific tools, but openFDA's public API covers drug adverse events, recalls, NDC directories, and device classification datasets. Free tier, no API keys needed, and you can use it standalone or as part of Pipeworx's 673+ data source collection.
The U.S. Food and Drug Administration's open data platform. Adverse event reports (FAERS), drug approvals, drug labels, recalls, device reports, food recalls, tobacco enforcement. The official source for what's been reported to or by the FDA. Free, no auth required (rate-limited).
Part of Pipeworx — an MCP gateway connecting AI agents to 1476+ live data sources.
Drug-safety questions resolve here. Adverse event volumes, label changes, approval timelines, recall posture — all structured. For the full drug picture, pair with RxNorm (canonical IDs) and ClinicalTrials.gov (trials).
Common flows:
fda_drug_events({query: "ozempic"}) → individual safety reports + counts.fda_event_counts({query: "ozempic", count_field: "patient.reaction.reactionmeddrapt.exact"}) → MedDRA-coded counts.fda_drug_approvals({query: "ozempic"}).fda_drug_recalls({query: "ozempic"}).fda_drug_labels({query: "ozempic"}).Used by the pharma_drug_profile and pharma_safety_report compounds.
Public, no key required. Anonymous limit is ~240 requests/min and 1,000/day, counted per IP — so every caller sharing an egress address shares one 1,000/day budget, not one each.
api.fda.gov runs on api-umbrella, the same stack as api.data.gov, so an api.data.gov key authenticates it and lifts the daily limit to 120,000. Pipeworx injects a platform key (PLATFORM_DATAGOV_KEY); bring your own with _apiKey and your calls draw on your quota instead. Register free at https://open.fda.gov/apis/authentication/.
A key that is rejected or revoked does not fail the call — the pack retries once anonymously, since openFDA is fully usable without one.
| Dataset | Endpoint family | Coverage |
|---|---|---|
| Drug adverse events (FAERS) | fda_drug_events | 1968-present, ~20M+ reports |
| Drug approvals | fda_drug_approvals | 1939-present (NDA/BLA/ANDA) |
| Drug labels | fda_drug_labels | Current SPL labels |
| Drug recalls | fda_drug_recalls | Class I/II/III enforcement actions |
| Device adverse events | (separate tools) | MAUDE database |
| Food recalls | (separate tools) | FSIS + FDA recalls |
total field is reports, not adverse-event-suffering-individuals.ISCHAEMIC OPTIC NEUROPATHY is filed as OPTIC ISCHAEMIC NEUROPATHY. Reaction-filtered tools retry two- and three-word phrases in alternate word orders and disclose the resolved term in reaction_resolved.NEUROPATHY returns only reports filed under that exact term (~1,700) rather than every term containing the word (~117,000). This is deliberate: a disproportionality table needs one case definition, not an ad-hoc grouping. To find the terms FDA actually stores, count on patient.reaction.reactionmeddrapt.exact.reaction_resolution: "not_a_meddra_preferred_term" with a hint. Treat that as "the filter missed," never as "no reports exist."Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"openfda": {
"url": "https://gateway.pipeworx.io/openfda/mcp"
}
}
}
tools/list at https://gateway.pipeworx.io/openfda/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Both URLs reach the same gateway and the same 1476+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Openfda data" })
The gateway picks the right tool and fills the arguments automatically.
MIT