fda_shortage_changes

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

FDA drug-shortage records ordered by update_date, newest first, then restricted to the requested look-back window. Use for recently updated, discontinued, or resolved national shortages; this does not imply availability at any specific pharmacy or hospital.

Parameters

NameTypeRequiredDescription
daysnumbernoLook-back window in days (1-365, default 30).
statusstringnoOptional FDA status: “Current”, “Resolved”, or “To Be Discontinued”.
limitnumbernoMaximum records to return (1-100, default 25).

Example call

Arguments

{
  "days": 30,
  "limit": 25
}

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_shortage_changes","arguments":{"days":30,"limit":25}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('fda_shortage_changes', {
  "days": 30,
  "limit": 25
});

More examples

{
  "days": 365,
  "status": "Resolved"
}

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