KosmoKrator

data

openFDA MCP, CLI, and Lua Integration for AI Agents

openFDA integration docs for AI agents: MCP gateway setup, openFDA CLI commands, Lua API reference, credentials, and function schemas.

openFDA for agents

No credentials required; available in web and CLI hosts when runtime dependencies are installed.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
openfda.openfda_drug_event Read read 0 Query FAERS drug adverse event reports.
openfda.openfda_drug_label Read read 0 Query structured product labeling records.
openfda.openfda_drug_enforcement Read read 0 Query drug recall enforcement reports.
openfda.openfda_drug_ndc Read read 0 Query NDC directory product listings.
openfda.openfda_drug_drugsfda Read read 0 Query Drugs@FDA application data.
openfda.openfda_drug_shortages Read read 0 Query FDA drug shortage data.
openfda.openfda_device_510k Read read 0 Query medical device 510(k) clearances.
openfda.openfda_device_classification Read read 0 Query device classification records.
openfda.openfda_device_enforcement Read read 0 Query device recall enforcement reports.
openfda.openfda_device_event Read read 0 Query MAUDE medical device adverse events.
openfda.openfda_device_pma Read read 0 Query premarket approval records.
openfda.openfda_device_recall Read read 0 Query device recall records.
openfda.openfda_device_registrationlisting Read read 0 Query device establishment registration and listing records.
openfda.openfda_device_udi Read read 0 Query GUDID device identification records.
openfda.openfda_device_covid19_serology Read read 0 Query COVID-19 serology test evaluations.
openfda.openfda_food_enforcement Read read 0 Query food recall enforcement reports.
openfda.openfda_food_event Read read 0 Query CAERS food, dietary supplement, and cosmetic adverse event reports.
openfda.openfda_animal_veterinary_event Read read 0 Query animal and veterinary adverse event reports.
openfda.openfda_cosmetic_event Read read 0 Query cosmetic adverse event reports.
openfda.openfda_tobacco_problem Read read 0 Query tobacco product problem reports.
openfda.openfda_other_nsde Read read 0 Query National Substance Data Exchange records.
openfda.openfda_other_substance Read read 0 Query FDA substance records.
openfda.openfda_other_unii Read read 0 Query Unique Ingredient Identifier records.
openfda.openfda_other_historicaldocument Read read 0 Query openFDA historical documents.