OpenFDA Intelligence MCP Server avatar

OpenFDA Intelligence MCP Server

Pricing

Pay per usage

Go to Apify Store
OpenFDA Intelligence MCP Server

OpenFDA Intelligence MCP Server

The FDA's openFDA program contains over 20 million records across drug adverse events, recalls, product labels, medical device malfunction reports, and food enforcement actions. This data drives billion-dollar regulatory decisions — but the raw API is complex, inconsistently...

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Andrew Avina

Andrew Avina

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

7 days ago

Last modified

Share

openfda-intelligence-mcp

Every FDA drug recall, adverse event, and safety action — structured for AI.

Apify Actor MCP Compatible Data Source FDA Endpoints Records


What Is This?

The FDA's openFDA program contains over 20 million records across drug adverse events, recalls, product labels, medical device malfunction reports, and food enforcement actions. This data drives billion-dollar regulatory decisions — but the raw API is complex, inconsistently structured, and completely inaccessible to AI workflows.

openfda-intelligence-mcp wraps all five major openFDA endpoints into a single, consistent, MCP-compatible actor. One tool call gives your AI assistant access to the same underlying data that powers FDA safety surveillance, pharmacovigilance teams, and medtech regulatory filings.

Whether you're a pharma compliance officer running weekly signal detection, a medtech startup doing pre-submission due diligence, or a healthcare journalist investigating a drug's safety record — this actor gives you a structured, AI-queryable interface to the FDA's entire public safety database.


The Five Endpoints

EndpointFDA SourceRecords AvailableWhat It Contains
Adverse Events (FAERS)FDA Adverse Event Reporting System18M+ reportsPatient-reported drug side effects, outcomes, seriousness
Drug Recalls (Enforcement)FDA Enforcement Reports50,000+ actionsRecall class, reason, product description, firm name
Drug LabelsDailyMed / SPL140,000+ labelsFull prescribing information, contraindications, warnings
Device Events (MDR)Medical Device Reporting9M+ reportsDevice malfunctions, injuries, deaths linked to medical devices
Food EnforcementFDA Enforcement Reports15,000+ actionsFood recalls, market withdrawals, safety alerts

Who Uses This?

User TypeSpecific Use CaseValue Delivered
Pharma Compliance TeamsWeekly FAERS signal detection for marketed drugsCatch safety signals 2–3 weeks before formal FDA safety communications
Medtech StartupsPre-submission 510(k) competitive device safety analysisPull MDR reports for predicate devices to anticipate FDA questions
Healthcare AI BuildersTraining data for clinical decision supportStructured adverse event data with MedDRA coding
Investigative Health JournalistsDrug safety investigative reportingCross-reference FAERS reports with enforcement actions
Biotech Due Diligence AnalystsSafety profile of acquired drug candidatesHistorical adverse event burden vs. comparator drugs
Hospital Pharmacy TeamsDrug recall monitoringReal-time recall alerts for formulary drugs
Regulatory Affairs ConsultantsLabel comparison and gap analysisPull competitor labels side-by-side
Medical Malpractice AttorneysAdverse event history for litigationDocument FDA-received adverse event frequency

Feature Overview

FeatureDetail
Adverse Event SearchFilter by drug name, reaction, seriousness, report date, outcome
Recall SearchFilter by product name, recall class (I/II/III), firm, date
Label SearchFull-text search across 140K+ SPL drug labels
Device Event SearchFilter by device name, manufacturer, event type, date
Food Enforcement SearchFilter by product type, recalling firm, reason for recall
MedDRA Code FilteringFilter adverse events by standardized MedDRA reaction codes
Seriousness FlagsFilter by serious/non-serious, death, hospitalization, life-threatening
Date Range QueriesAll endpoints support receive date and action date filtering
Aggregate StatisticsCount queries: top reactions for a drug, top recalled products by firm
Batch ModeRun bulk queries across multiple drugs/devices
MCP Real-TimeLive tool calls from Claude Desktop and compatible AI clients

Quick Start

MCP Mode

{
"mcpServers": {
"openfda-intelligence": {
"command": "npx",
"args": [
"-y",
"@apify/mcp-client",
"--actor-id",
"your-username/openfda-intelligence-mcp",
"--token",
"YOUR_APIFY_TOKEN"
]
}
}
}

Ask Claude:

"Search FDA adverse events for metformin. Focus on serious events involving lactic acidosis reported in the last 3 years. Show me the count trend year-over-year."

Batch Mode — Drug Safety Monitor

{
"mode": "batch",
"formularyDrugs": ["metformin", "semaglutide", "apixaban", "rosuvastatin"],
"checkEndpoints": ["adverseEvents", "recalls"],
"dateFrom": "2024-01-01",
"seriousOnly": true
}

API Mode

curl -X POST https://api.apify.com/v2/acts/your-username~openfda-intelligence-mcp/run-sync \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "adverseEvents",
"drugName": "ozempic",
"reactionTerm": "pancreatitis",
"seriousOnly": true,
"dateFrom": "2021-01-01",
"maxResults": 100
}'

MCP Tools Reference

search_adverse_events

Search the FDA Adverse Event Reporting System (FAERS).

Parameters:

ParameterTypeRequiredDescription
drugNamestringNoGeneric or brand drug name
reactionTermstringNoAdverse reaction term (MedDRA preferred term)
seriousOnlybooleanNoFilter to serious events only (default: false)
outcomesarrayNoFilter by outcome: death, hospitalization, life_threatening, disability, congenital_anomaly
reportDateFromstringNoReport receive date start (YYYYMMDD)
reportDateTostringNoReport receive date end (YYYYMMDD)
ageGroupstringNopediatric, adult, elderly
sexstringNomale, female
maxResultsintegerNoMax results (default: 50, max: 1000)
countBystringNoReturn aggregate count by: reaction, drug, year, outcome

Example response:

{
"adverseEvents": [
{
"safetyReportId": "US-PFIZER-2023-1234567",
"receiveDate": "20230615",
"serious": true,
"seriousnessHospitalization": true,
"primaryDrug": {
"name": "OZEMPIC",
"genericName": "semaglutide",
"indication": "TYPE 2 DIABETES",
"dosage": "0.5 MG/DOSE",
"route": "SUBCUTANEOUS"
},
"reactions": [
{ "term": "Pancreatitis acute", "outcome": "Recovered/resolved" }
],
"patientAge": 58,
"patientSex": "Female",
"country": "US",
"reporterQualification": "Physician"
}
],
"totalCount": 2847,
"queryMetadata": { "dataSource": "openFDA FAERS", "coverage": "1990-present" }
}

search_drug_recalls

Search FDA drug enforcement and recall actions.

Parameters:

ParameterTypeRequiredDescription
productDescriptionstringNoProduct name or description search
recallingFirmstringNoCompany issuing the recall
recallClassstringNoI (dangerous), II (may harm), III (unlikely to harm)
reasonForRecallstringNoText search in reason field
initiationDateFromstringNoRecall initiation date start
initiationDateTostringNoRecall initiation date end
voluntaryMandatedstringNoVoluntary or FDA Mandated
maxResultsintegerNoMax results

search_drug_labels

Search FDA-approved drug prescribing information.

Parameters:

ParameterTypeRequiredDescription
brandNamestringNoDrug brand name
genericNamestringNoGeneric drug name
activeIngredientstringNoActive ingredient search
manufacturerstringNoManufacturer name
labelSectionstringNoSpecific section: warnings, contraindications, adverse_reactions, dosage, indications
searchTextstringNoFull-text search across entire label

search_device_events

Search FDA Medical Device Reports (MDRs).

Parameters:

ParameterTypeRequiredDescription
deviceNamestringNoDevice brand or generic name
manufacturerstringNoDevice manufacturer name
eventTypestringNomalfunction, injury, death, other
deviceClassstringNoFDA device class: I, II, III
productCodestringNoFDA product code
dateFromstringNoEvent date start
dateTostringNoEvent date end
maxResultsintegerNoMax results

search_food_enforcement

Search FDA food recall and enforcement actions.

Parameters:

ParameterTypeRequiredDescription
productDescriptionstringNoFood product name or description
recallingFirmstringNoCompany issuing the recall
reasonForRecallstringNoReason text search (e.g., "Listeria", "undeclared allergen")
recallClassstringNoI, II, or III
dateFromstringNoRecall initiation date start
dateTostringNoRecall initiation date end

Use Case Recipes

Recipe 1: Pharma Compliance — Weekly Signal Detection

Scenario: Your drug Luxivatrex was approved 18 months ago. You need to monitor FAERS weekly for new serious adverse event signals, especially hepatic events.

Prompt:

"Search FDA adverse events for the drug 'luxivatrex' from the past 7 days. Focus on serious events. Categorize by reaction term, show me counts, and flag any liver-related terms (hepatic failure, elevated transaminases, jaundice) immediately."

Batch config for weekly monitoring:

{
"mode": "batch",
"monitorDrugs": ["luxivatrex", "competitor-drug-a"],
"endpoints": ["adverseEvents"],
"seriousOnly": true,
"lookbackDays": 7,
"alertKeywords": ["hepatic failure", "liver", "jaundice", "transaminase"]
}

Recipe 2: Medtech 510(k) Pre-Submission Due Diligence

Scenario: You're submitting a 510(k) for a new insulin infusion pump. Your predicate device is the MedTech Pro 3000. You need to characterize its MDR history.

Prompt:

"Pull all FDA Medical Device Reports for the 'MedTech Pro 3000' insulin infusion pump from the past 5 years. Categorize by event type (malfunction vs injury vs death). What are the most common malfunction modes? What percentage resulted in patient injury?"

Recipe 3: Investigative Journalism — Drug Safety Pattern

Prompt:

"I'm investigating safety issues with GLP-1 drugs. Search adverse events for semaglutide AND tirzepatide AND liraglutide from 2021 to present. For each: total serious events, top 5 reactions, death count. Then check if any of these drugs have active FDA recalls. Give me a comparison table."

Recipe 4: Hospital Pharmacy — Formulary Recall Monitor

Prompt:

"Check for any FDA Class I or Class II drug recalls initiated in the last 30 days for these formulary drugs: metoprolol, lisinopril, atorvastatin, metformin, amlodipine, omeprazole, levothyroxine. If any recalls found, give me the lot numbers and recall reason."

Recipe 5: Biotech M&A Due Diligence

Prompt:

"We're acquiring a company that markets the drug 'Xorambix'. Pull everything: full adverse event history, any recalls, the current approved label, and flag any FDA warning letters visible in the enforcement database. Summarize the safety burden I'm inheriting."


Claude Desktop Configuration

{
"mcpServers": {
"openfda-intelligence": {
"command": "npx",
"args": [
"-y",
"@apify/mcp-client",
"--actor-id",
"your-username/openfda-intelligence-mcp",
"--token",
"apify_api_XXXXXXXXXXXXXXXXXXXX"
]
}
}
}

Test query after setup: "Search FDA adverse events for aspirin, top 10 reactions by count."


Pricing & Usage

TierPriceIncludes
Free$0200 API calls/month across all endpoints
Starter$19/month5,000 calls/month
Professional$79/month30,000 calls/month + batch mode
Compliance$299/monthUnlimited + weekly monitoring + email alerts

Data Source & Freshness

  • FAERS: Updated quarterly; latest quarter typically available within 90 days of close
  • Enforcement (Recalls): Near real-time; updated weekly
  • Drug Labels: Updated as SPL submissions are processed; typically within days of FDA approval
  • MDR (Device Events): Approximately 2–3 week lag from event submission
  • Food Enforcement: Updated weekly
  • Total dataset coverage: Adverse events from 1990; enforcement from 2004; labels from 2009

Technical Notes

  • All data sourced directly from api.fda.gov — no third-party intermediaries
  • openFDA enforces 1,000 results per query limit; this actor handles pagination automatically
  • FAERS data represents reported events, not confirmed causal relationships — appropriate disclaimers are embedded in all responses
  • Drug name matching includes both brand and generic name normalization
  • MedDRA coding (where present in FAERS) is preserved in structured output
  • Device event "event type" field is normalized across FDA's inconsistent historical coding

Support & Issues

Data sourced from openFDA (api.fda.gov). Not affiliated with the US Food and Drug Administration. Adverse event data does not constitute evidence of causality.