Drug Shortage List MCP

io.github.theluckystrike由 GitHub 帳號 theluckystrike 發布v1.0.0更新於 Nov 5, 2026

FDA drug shortage list: is a drug in shortage now, by name or NDC, with status and reason.

已驗證Streamable HTTP可網頁執行位置與生活資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,讓助理依藥品名稱或 NDC 查詢 FDA 藥品短缺的即時狀態、原因、供應情況與統計數量。

可以做什麼
  • 依通用名、商品名或有效成分搜尋短缺條目,依產品分組並統計各狀態數量
  • 依包裝 NDC 或產品 NDC 查詢短缺狀態,並回傳同一產品的相關包裝
  • 列出最近更新的短缺條目,可依狀態與治療類別篩選
  • 依狀態、治療類別、短缺原因或不同產品統計目前短缺條目數量
  • 每次回傳結構化 JSON,含摘要、資料截止日期與實際使用的 openFDA 請求
適用情境
適合需要判斷某藥品在美國目前是否短缺、哪些治療領域受影響,或某次短缺是否已解除的問題。由於名單每週都在變動,它用來取代憑模型記憶作答。
執行需求
需要一個遠端 streamable HTTP 端點,無需權杖、註冊或 API 金鑰。適用於支援遠端 MCP 伺服器的用戶端,例如 Claude.ai 連接器、Claude Code、Claude Desktop、Cursor 與 VS Code。文中提到的本機 npm 套件尚未發布。
安裝前請注意
僅提供唯讀查詢,但資料來自 openFDA,其聲明未經臨床使用驗證,用藥決定應向藥師確認。無金鑰時 openFDA 依 IP 限制每分鐘與每日請求數,單次搜尋最多回傳 100 筆資料。結果中也會連結到第三方頁面。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Drug Shortage List MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.theluckystrike%2Fdrug-shortage-list-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "drug-shortage-list": {
      "type": "http",
      "url": "https://drug-shortage-list-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

README

drug-shortage-list-mcp

The FDA drug shortage list for AI assistants. Ask whether a drug is in shortage right now, by generic name, brand name or NDC, and get the live FDA status, availability and reason.

This is a Model Context Protocol (MCP) server. It reads the FDA Drug Shortages database through the openFDA API at call time. It needs no API key.

Tools

ToolWhat it returns
search_drug_shortagesFDA shortage listings for a generic name, brand name or active ingredient, grouped by product, with counts by status and availability, shortage reasons, companies, package presentations and dates. A brand name match is widened to every listing of the same generic product.
get_drug_shortage_by_ndcFDA shortage status for one package NDC or product NDC, with related packages of the same product.
list_recent_drug_shortagesThe FDA drug shortage list, most recently updated first, by status and therapeutic category.
count_drug_shortagesHow many shortage listings there are now, by status, therapeutic category, shortage reason or distinct product.

Every result has structured JSON, a one-paragraph summary, as_of, source (the exact openFDA request), the FDA database page and more (a page on mcpstamp.com).

What it knows that your model does not

  • Which drugs FDA lists as in shortage today. Shortages start and end every week, and openFDA refreshes the list daily.
  • Package level detail. Each listing is one NDC from one company, with its own availability and update date.
  • Whether a shortage was resolved or the product is being discontinued, with the date and the FDA note.

Install

Hosted (Claude.ai custom connector, ChatGPT developer mode)

Paste this URL. No token, no sign-up. It works now.

https://drug-shortage-list-mcp.lipmichal.workers.dev/mcp

Claude Code

claude mcp add --transport http drug-shortages https://drug-shortage-list-mcp.lipmichal.workers.dev/mcp

Claude Desktop

Claude Desktop adds remote servers under Settings, Connectors, Add custom connector. Paste the URL above.

Cursor

Add to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "drug-shortages": { "url": "https://drug-shortage-list-mcp.lipmichal.workers.dev/mcp" }  }}

VS Code

Add to .vscode/mcp.json:

json
{  "servers": {    "drug-shortages": { "type": "http", "url": "https://drug-shortage-list-mcp.lipmichal.workers.dev/mcp" }  }}

Local stdio (after npm release)

The npm package is not published yet. After it is, run it locally with Node 20 or newer:

claude mcp add drug-shortages -- npx -y drug-shortage-list-mcp

Example prompts

  • "Is Adderall still in shortage?"
  • "Which oncology drugs are on the FDA shortage list right now?"
  • "Is NDC 0641-6059-01 in shortage?"
  • "How many drugs are in shortage in the US today?"
  • "Was the clonazepam shortage resolved?"

Data sources

Full list with fetch dates in DATA_SOURCES.md.

Limitations

  • FDA lists shortages it has confirmed. A drug can be hard to find at one pharmacy without being on the FDA list, and the answer says so.
  • openFDA states that its data are not validated for clinical use. Check with a pharmacist before changing any medication.
  • Without a key, openFDA allows 240 requests per minute and 1,000 per day per IP address. The tool returns a clear error when the limit is reached.
  • A search returns at most 100 listings per call. Totals still come from the full database.

More

More MCP servers that answer questions your assistant cannot answer alone are on mcpstamp.com.

Part of the Zovo MCP collection: https://mcp.zovo.one

Built by theluckystrike.

Development

npm installnpm test                              # builds, then runs the fixture tests and an offline stdio testnode scripts/stdio-transcript.mjs     # live stdio round trip, writes .live/stdio-transcript.jsonl

License

MIT

來源:README.md,提交 327db04

工具

4

search_drug_shortages

Search drug shortages

Is a drug in shortage now? Searches the FDA Drug Shortages database (via openFDA, updated daily) by generic name, brand name or active ingredient, for example "amoxicillin", "Adderall", "semaglutide", "lidocaine". Returns listings grouped by product with counts by status (Current, To Be Discontinued, Resolved) and availability (Available, Limited, Unavailable), shortage reasons, companies, presentations and dates. Your training data cannot know today's shortage list.

輸入參數drug必填statusmax_presentations

get_drug_shortage_by_ndc

Get drug shortage by NDC

FDA shortage status for one National Drug Code, either a package NDC (0641-6059-01) or a product NDC (0641-6059), in the dashed form printed on the label. Returns the exact listing and related packages of the same product.

輸入參數ndc必填

list_recent_drug_shortages

List recent drug shortages

The FDA drug shortage list, most recently updated listings first. Defaults to status Current. Filter by therapeutic category, for example Anesthesia, Oncology, Pediatric, Psychiatry, Cardiovascular, Infectious Disease.

輸入參數limitstatustherapeutic_category

count_drug_shortages

Count drug shortages

How many FDA drug shortage listings there are now, grouped by status, therapeutic_category, shortage_reason or drug (distinct products). Defaults to Current listings by therapeutic category.

輸入參數bystatus

版本歷史

1
  1. v1.0.0最新Nov 5, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分