fda_drug_shortages

Pack: openfda · Endpoint: https://gateway.pipeworx.io/openfda/mcp

Search the FDA Drug Shortages database by generic or brand name, manufacturer, status, or an advanced openFDA query. Returns national supply records and available FDA dates; reason and other details are sparse in the upstream data. This is not local pharmacy inventory or medical advice.

Parameters

NameTypeRequiredDescription
drugstringnoGeneric or proprietary drug name, e.g. “lisdexamfetamine”.
manufacturerstringnoCompany/manufacturer name.
statusstringnoFDA status filter: “Current”, “Resolved”, or “To Be Discontinued”.
querystringnoOptional raw openFDA shortage query for advanced filters. Combined with the structured filters using AND.
limitnumbernoNumber of records (1-100, default 20).
skipnumbernoPagination offset (default 0).

Example call

Arguments

{
  "drug": "lisdexamfetamine",
  "status": "Current"
}

curl

curl -X POST https://gateway.pipeworx.io/openfda/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fda_drug_shortages","arguments":{"drug":"lisdexamfetamine","status":"Current"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('fda_drug_shortages', {
  "drug": "lisdexamfetamine",
  "status": "Current"
});

More examples

{
  "manufacturer": "Pfizer",
  "limit": 25
}

Connect

Add this to your MCP client config, or use one-click install buttons:

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 25, 2026