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 分