mcp-openfda
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-openfdashow me drug recalls for Tylenol"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenFDA — FDA Drug, Device, and Food Data
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 1394+ live data sources.
Why this matters for AI agents
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:
Adverse events for a drug. "Reports for Ozempic" →
fda_drug_events({query: "ozempic"})→ individual safety reports + counts.Bucket reactions. "Top reactions reported for Ozempic" →
fda_event_counts({query: "ozempic", count_field: "patient.reaction.reactionmeddrapt.exact"})→ MedDRA-coded counts.Approval history. "When was Ozempic approved and for what?" →
fda_drug_approvals({query: "ozempic"}).Recalls. "Any Ozempic recalls?" →
fda_drug_recalls({query: "ozempic"}).Label content. "What does the FDA label say about contraindications?" →
fda_drug_labels({query: "ozempic"}).
Used by the pharma_drug_profile and pharma_safety_report compounds.
Related MCP server: mcp-epa-envirofacts
Auth
Public, no key required. Anonymous IP-based limit: ~240 requests/min, 1,000/day. With a free key from https://open.fda.gov/apis/authentication/, the daily limit lifts to 120,000. Pass via _apiKey.
Datasets
Dataset | Endpoint family | Coverage |
Drug adverse events (FAERS) |
| 1968-present, ~20M+ reports |
Drug approvals |
| 1939-present (NDA/BLA/ANDA) |
Drug labels |
| Current SPL labels |
Drug recalls |
| Class I/II/III enforcement actions |
Device adverse events | (separate tools) | MAUDE database |
Food recalls | (separate tools) | FSIS + FDA recalls |
Common pitfalls
Reports are not unique patients. A single hospitalization can produce multiple FAERS reports. The
totalfield is reports, not adverse-event-suffering-individuals.Causality not implied. A FAERS report links a drug to an event temporally; it does not prove the drug CAUSED the event. Use language carefully.
Brand vs generic naming. Searching "ozempic" finds Ozempic-tagged reports. Searching "semaglutide" finds reports for any semaglutide product. They can differ — the user's intent determines which to search.
Query syntax is FDA's, not ours. OpenFDA uses Lucene-style search with field-specific queries. Pipeworx tool descriptions show the syntax. Quotation marks matter.
Lag from event to report. FAERS reports lag the event by months — sometimes years. The "last 30 days" view is misleading; recent counts will keep growing as reports flow in.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"openfda": {
"url": "https://gateway.pipeworx.io/openfda/mcp"
}
}
}Or connect to the full Pipeworx gateway for access to all 1394+ data sources:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English:
ask_pipeworx({ question: "your question about Openfda data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying Open Beauty Facts product data through natural language, using the Pipeworx MCP gateway.9MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying US EPA Envirofacts data using natural language, providing access to environmental information through the Pipeworx MCP gateway.9MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying disease/target/drug knowledge graph from Open Targets, supporting searches, profiles, and associations via natural language through the Pipeworx gateway.18MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying US FEMA open data through natural language, as part of the Pipeworx MCP gateway.5MIT
Related MCP Connectors
Query FDA data on drugs, food, devices, and recalls via openFDA. STDIO or Streamable HTTP.
FDA medical-device regulatory intelligence from keyless openFDA datasets.
ClinicalTrials MCP — wraps ClinicalTrials.gov API v2 (free, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeworx-io/mcp-openfda'
If you have feedback or need assistance with the MCP directory API, please join our Discord server