Openfda logo

Openfda

FDA drug data over MCP, including adverse events, approvals, labels, recalls, shortages, warning letters, and safety analysis.

Install Openfda

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "openfda": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-openfda"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 18 tools correctly (12d ago).

Overview

Openfda MCP server exposes the openFDA API through a remote MCP endpoint for FDA drug, safety, approval, labeling, recall, and enforcement data. It provides tools for FAERS searches and counts, disproportionality analysis, reaction profiles, trends, approvals, labels, recalls, shortages, warning letters, and related application history. No authentication is required, although anonymous requests are rate-limited and an api.data.gov key can raise the daily limit. Reach for it when an agent needs structured FDA evidence, while treating reports as signals rather than proof of causality.

Use cases

  • Search adverse-event reports for a drug
  • Compare reported reaction frequencies
  • Review a drug's FDA approval and label history
  • Check recalls, shortages, or warning letters
  • Aggregate a company's FDA applications by CIK or ticker

Key features

  • FAERS searches and event counts
  • ROR and PRR disproportionality analysis
  • Drug approvals and current labels
  • Recalls, shortages, and shortage changes
  • Warning-letter and compliance-action searches
  • Company application aggregation by CIK or ticker

Tools18

What Openfda lets your agent do. Expand a tool for its parameters.

Verified live~4.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

7/7 checks healthy over the last 45d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @pipeworx/mcp-openfda (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads812Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed18Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Openfda works

What Openfda MCP server does

The Openfda MCP server connects AI clients to openFDA data through the Pipeworx MCP gateway. Its coverage centers on FDA drug information, including FAERS adverse-event reports, safety-signal analysis, Drugs@FDA approvals, current labels, recalls, shortages, shortage changes, complete response letters, and warning letters. It also exposes tools for company application history and a cross-source postmarket risk profile.

The available data spans several time ranges. Drug adverse-event data begins in 1968, approvals extend back to 1939, and warning-letter results include a published rolling window beginning in 2021, with older compliance-action records available through an FDA archive in some cases. Device and food recall or adverse-event datasets are described as separate tool areas.

How it works

Clients connect to https://gateway.pipeworx.io/openfda/mcp and discover the tools through MCP. The endpoint includes the pack's FDA tools plus shared Pipeworx gateway tools, so the result of tools/list is broader than the Openfda-specific capability list. The connection's initialization response is the authoritative source for the tools available at that time.

Searches use openFDA's Lucene-style, field-specific query syntax. Available workflows include searching drug reports, counting reactions with MedDRA fields, reviewing approval history, retrieving label content, checking recalls, and examining warning letters. Company application searches should use a CIK or ticker when possible because sponsor_name is an exact string match and does not provide a stable company identifier.

Setup and configuration

The Openfda MCP server requires no API key for basic use. Add the remote URL to an MCP client configuration, for example:

config.json
{
  "mcpServers": {
    "openfda": {
      "url": "https://gateway.pipeworx.io/openfda/mcp"
    }
  }
}

Anonymous access is limited to approximately 240 requests per minute and 1,000 requests per day per IP address. An api.data.gov key can authenticate requests to the FDA API and raise the daily limit to 120,000. Pipeworx can supply a platform key, while callers can provide their own through the _apiKey request option. If a supplied key is rejected, the pack retries anonymously.

Tools and capabilities

The Openfda MCP server supports capabilities including:

  • Searching FAERS reports and counting adverse-event fields.
  • Calculating disproportionality measures such as ROR and PRR.
  • Building reaction profiles and report trends.
  • Querying drug approvals, labels, recalls, shortages, and shortage changes.
  • Finding complete response letters and FDA warning letters.
  • Aggregating company applications with fda_applications_by_cik.
  • Combining sources into a postmarket drug risk profile.

Limitations and notes

FAERS totals represent reports, not unique patients, and a report does not establish that a drug caused an event. Drug-name choice also matters: a brand search and an ingredient search can return different populations of reports.

Reaction filters match one complete MedDRA preferred term rather than arbitrary substrings. If a term cannot be resolved, the response identifies that condition; it should not be interpreted as evidence that no reports exist. Warning-letter searches distinguish addressed companies from full-text mentions, and older archive rows may lack the original letter subject and URL. Broad recipient searches may be incomplete when more than 600 candidates require scanning.

FDA reporting can lag the underlying event by months or years, so recent-period counts are not final. The Openfda MCP server is therefore best used for FDA-reported evidence and structured review, not as a substitute for causal assessment or a complete real-time record.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Openfda

Openfda is an MCP server that connects AI clients to the FDA's openFDA data platform through Pipeworx. Its main tools search FAERS adverse-event reports, count reactions, calculate ROR and PRR signals, retrieve approvals and labels, check recalls and shortages, and find warning letters and company applications.

Add the remote endpoint `https://gateway.pipeworx.io/openfda/mcp` to your MCP client's server configuration.

No, Openfda works without an API key. Anonymous access is rate-limited to about 240 requests per minute and 1,000 requests per day per IP. An api.data.gov key can raise the daily limit to 120,000 requests.

Use the FAERS search tool with a drug query, such as a brand or ingredient name, and use the event-count tool for grouped reactions. Queries follow openFDA's Lucene-style field syntax, and results describe FDA reports rather than unique patients or proven causal relationships.

Configure Cursor with the remote Openfda endpoint, then let it discover the tools exposed by the connection, including the FDA pack tools and shared Pipeworx meta-tools.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpenfda AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/openfda?style=directory)](https://allmcps.com/mcp/openfda)
HTML Embed
<a href="https://allmcps.com/mcp/openfda"><img src="https://allmcps.com/api/badge/openfda?style=directory" alt="Openfda on AllMCPs" /></a>