You're viewing a demo portfolio

Join the waitlist
PRSM

openfda_search_drug_shortages

Active

Tool of @cyanheads/openfda-mcp-server

declared in 0.4.0

Search FDA drug shortage records. Returns per-product shortage status, availability, therapeutic category, dosage form, manufacturer, and dates. Use to check whether a drug is currently in shortage, find all oncology drugs with supply issues, or retrieve the openfda block (brand_name, product_ndc, rxcui) to chain into openfda_get_drug_label or openfda_lookup_ndc.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "skip": {
      "type": "number",
      "default": 0,
      "maximum": 25000,
      "minimum": 0,
      "description": "Number of records to skip for pagination (0-25000, default 0)"
    },
    "sort": {
      "type": "string",
      "description": "Sort expression (field:asc or field:desc). Example: update_date:desc. Invalid or non-sortable fields cause a query error — use a documented field name."
    },
    "limit": {
      "type": "number",
      "default": 10,
      "maximum": 1000,
      "minimum": 1,
      "description": "Maximum number of records to return (1-1000, default 10)"
    },
    "search": {
      "type": "string",
      "description": "openFDA search query using field:value syntax. Examples: status:\"Current\", therapeutic_category:\"Oncology\", generic_name:\"carboplatin\", company_name:\"pfizer\". Omit to browse all records. Call openfda_describe_fields({ endpoint: \"drug/shortages\" }) for the complete field list."
    },
    "canvas_id": {
      "type": "string",
      "description": "DataCanvas session id from a prior call. Omit to start a fresh canvas; the response returns a new one when canvas is enabled. When canvas (CANVAS_PROVIDER_TYPE=duckdb) is enabled the full matched set is staged for SQL and limit/skip apply only to the inline path."
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

@cyanheads/openfda-mcp-server

https://github.com/cyanheads/openfda-mcp-server

2/7 registries
View full server →
openfda_search_drug_shortages — @cyanheads/openfda-mcp-server — PRSM MCP