Skip to main content
Glama
openfda-drug-enforcement-mcp

openfda-drug-enforcement-mcp

openfda-drug-enforcement-mcp

Live OpenFDA drug recall enforcement report lookup over Model Context Protocol (MCP). Hospital pharmacists, pharmacovigilance teams, supply-chain compliance analysts, and regulatory counsel can search FDA drug recalls, inspect Class I/II/III hazard levels, review distribution patterns, and aggregate firm statistics with zero API keys and zero sign-up. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://openfda-drug-enforcement-mcp.lipmichal.workers.dev/mcp

Related MCP server: drug-safety-mcp

Available tools

Tool

Purpose

search_drug_recalls

Search FDA drug recall enforcement reports by product description, recalling firm, recall reason, hazard class, or status

get_drug_recall_by_number

Fetch full FDA drug recall enforcement details, distribution pattern, and lot code info by recall number or event ID

get_drug_recall_stats

Aggregate top FDA drug recall enforcement counts by recalling firm, classification, status, state, or voluntary status

search_recalls_by_classification

Filter FDA drug recall enforcement reports by hazard class (Class I, Class II, Class III) and optional status or keyword

search_recalls_by_firm

Retrieve FDA drug recall enforcement history for a pharmaceutical manufacturer, labeler, or distributor

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "openfda-drug-enforcement": {
      "url": "https://openfda-drug-enforcement-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries api.fda.gov/drug/enforcement.json with a polite User-Agent header (mcpstamp-openfda-drug-enforcement/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

Available Tools

5 tools
get_drug_recall_by_numberGet FDA drug recall enforcement report by numberA
Read-onlyIdempotent
Inspect

Fetch full FDA drug recall enforcement details, distribution pattern, lot code info, and dates by recall number or event ID.

Inputs: recall_number (required).

get_drug_recall_statsGet FDA drug recall enforcement statisticsA
Read-onlyIdempotent
Inspect

Aggregate FDA drug recall enforcement counts grouped by recalling firm, hazard classification, status, state, or voluntary/mandated.

Inputs: limit, query, group_by.

search_drug_recallsSearch FDA drug recall enforcement reportsA
Read-onlyIdempotent
Inspect

Search OpenFDA drug recall enforcement reports by product description, recalling firm, reason for recall, hazard classification, or status.

Inputs: query (required), field, limit, status, +1 more.

search_recalls_by_classificationSearch FDA drug recalls by hazard classA
Read-onlyIdempotent
Inspect

Filter FDA drug recall enforcement reports by hazard class (Class I, Class II, Class III) with optional status and keyword filters.

Inputs: classification (required), limit, query, status.

search_recalls_by_firmSearch FDA drug recalls by recalling firmB
Read-onlyIdempotent
Inspect

Retrieve FDA drug recall enforcement history for a specific pharmaceutical firm, manufacturer, or distributor.

Inputs: firm (required), limit, state, classification.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 5 tools

    Disambiguation3/5

    The five tools are all recall-focused, and the two specialized searches (by classification, by firm) largely duplicate filters already implied by the general search_drug_recalls tool. Descriptions do clarify the distinctions, and stats/detail-by-number are clearly separate, but an agent could easily pick the general search when a specialized one is intended.

    Naming Consistency4/5

    All names follow a verb-first snake_case pattern (get_/search_), which is predictable. There are minor inconsistencies in noun phrasing: 'drug_recall' vs 'recalls', and the classification/firm tools drop the 'drug' qualifier, but the pattern remains readable.

    Tool Count5/5

    Five tools is well-scoped for a narrowly focused drug recall enforcement server. Each tool covers a distinct access pattern: aggregate stats, detail lookup, general search, and two targeted filters.

    Completeness4/5

    The surface covers the core lifecycle for recall data: search, filtered search, detail retrieval, and aggregation. Minor gaps exist, such as no explicit date-range or pagination/browse tool and no metadata/field-discovery operation, but agents can work around these via keyword and status filters.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A comprehensive MCP server that provides access to U.S. FDA public datasets via the openFDA API, enabling querying of drug adverse events, labeling, recalls, approvals, shortages, NDC directory, and medical device regulatory data.
      10
      27
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables searching live U.S. FDA drug, device, and food recalls, 510(k) clearances, FAERS adverse event reports, and official prescribing labels through keyless public openFDA data. Provides read-only tools for filtering by hazard class, firm, status, state, dates, drug names, and reactions.
      5
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables searching live FDA food and beverage recall enforcement reports by product, reason, firm, class, or status, plus retrieval of full recall details by recall number or event ID. Also supports state-level and nationwide distribution lookups, Class I allergen/pathogen filtering, and aggregated enforcement counts, with no API key or sign-up required.
      MIT