Repository avatar
Monitoring
v1.0.1
active

openfda-nsde-drug-packages-mcp

io.github.theluckystrike/openfda-nsde-drug-packages-mcp

Live FDA NDC SPL Data Elements, package NDCs, marketing dates, dosage forms, and billing units.

Documentation

openfda-nsde-drug-packages-mcp

Live OpenFDA National Drug Code (NDC) Structured Product Labeling Data Elements (NSDE) lookup over Model Context Protocol (MCP). Pharmacy billing engineers, payer formulary teams, pharmaceutical supply-chain analysts, and regulatory specialists can look up package NDCs, verify marketing start and end dates, trace NDA/ANDA/BLA applications, and inspect billing units with zero API keys and zero sign-up. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://openfda-nsde-drug-packages-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
search_nsde_packagesSearch FDA NDC SPL Data Elements by proprietary name, dosage form, application citation, or product type
get_nsde_by_package_ndcFetch full FDA NSDE package details including marketing start/end dates, billing unit, and dosage form by package NDC
get_nsde_statsAggregate top FDA NSDE drug package counts by product type, marketing category, dosage form, proprietary name, or billing unit
search_nsde_by_applicationTrace all FDA NSDE drug packages linked to a specific NDA, ANDA, BLA, or OTC monograph citation
search_nsde_by_marketing_categoryFilter FDA NSDE drug packages by marketing category such as NDA, ANDA, BLA, or OTC Monograph Drug

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "openfda-nsde-drug-packages": {
      "url": "https://openfda-nsde-drug-packages-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries api.fda.gov/other/nsde.json with a polite User-Agent header (mcpstamp-openfda-nsde-drug-packages/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.