MCP server exposing 7 tools for openfda.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/openfda/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
fda_drug_events — Search adverse event reports for drugs by name, reaction type, or date range. Returns event counts, reaction types, seriousness levels, and dates.fda_drug_approvals — Find FDA-approved drugs by brand name, active ingredient, or application number. To find generic versions of a drug, search by active ingredient using products.active_ingredients.name (NOT openfda.generic_name — that field only works in the label endpoint). IMPORTANT: drug names in the FDA database are stored in UPPERCASE — always pass ingredient and brand names in uppercase (e.g. "APIXABAN" not "apixaban") or you will get 0 results. Returns approval status, sponsor, application number (ANDA = generic, NDA = brand), and application details. There is NO queryable "application_type" field — never add application_type:"ANDA" (it returns 0 results). To limit to generics, search by active ingredient and read the ANDA/NDA prefix on application_number in the results.fda_drug_labels — Get drug safety information from FDA labels by drug name. Returns indications, warnings, dosage, contraindications, and adverse reactions.fda_drug_recalls — Search FDA drug recalls and enforcement actions by drug name or reason. Returns recall classification, date, and enforcement status.fda_food_recalls — Search FDA FOOD recall / enforcement reports (openFDA /food/enforcement) — product recalls, reasons, classification, recalling firm, distribution, and status. Use for food-safety / recall-history questions (distinct from fda_drug_recalls which covers drugs).fda_event_counts — Aggregate adverse events by reaction type, patient age, or outcome. Returns top reactions for a drug and event trends over time.fda_warning_letters — Search FDA WARNING LETTERS — official enforcement letters FDA sends firms for violations (CGMP, adulterated/misbranded products, unapproved claims). Answers "FDA warning letters for <company>", "recent FDA warning letters about supplements/devices". Full-text search over ~3,600 letters (company names, subjects, products). Returns each letter's company, posted/issued dates, issuing FDA office, subject, and a link to the full letter text. Keyless, live from fda.gov.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/openfda/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io