openfda-nsde-drug-packages-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openfda-nsde-drug-packages-mcp Look up FDA NSDE package details for NDC 0002-1434-01"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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/mcpRelated MCP server: nih-icd10-hcpcs-loinc-codes-mcp
Available tools
Tool | Purpose |
| Search FDA NDC SPL Data Elements by proprietary name, dosage form, application citation, or product type |
| Fetch full FDA NSDE package details including marketing start/end dates, billing unit, and dosage form by package NDC |
| Aggregate top FDA NSDE drug package counts by product type, marketing category, dosage form, proprietary name, or billing unit |
| Trace all FDA NSDE drug packages linked to a specific NDA, ANDA, BLA, or OTC monograph citation |
| Filter 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 startCompliance 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.
Free live-data MCP directory with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
5 toolsget_nsde_by_package_ndcGet FDA NSDE record by package NDCARead-onlyIdempotentInspect
Fetch full FDA NSDE package details including marketing start/end dates, application number, dosage form, and billing unit by 10-digit or 11-digit package NDC.
Inputs: package_ndc (required).
get_nsde_statsGet FDA NSDE drug package statisticsBRead-onlyIdempotentInspect
Aggregate FDA NSDE drug package counts grouped by product type, marketing category, dosage form, proprietary name, or billing unit.
Inputs: limit, query, group_by.
search_nsde_by_applicationSearch FDA NSDE drug packages by application numberBRead-onlyIdempotentInspect
Trace all FDA NSDE drug packages linked to a specific NDA, ANDA, BLA, or OTC monograph citation.
Inputs: application_number (required), limit, active_only.
search_nsde_by_marketing_categorySearch FDA NSDE drug packages by marketing categoryARead-onlyIdempotentInspect
Filter FDA NSDE drug packages by FDA marketing category (e.g. "NDA", "ANDA", "BLA", "OTC MONOGRAPH DRUG") with optional dosage form and active-only filter.
Inputs: marketing_category (required), limit, active_only, dosage_form.
search_nsde_packagesSearch FDA NSDE drug packagesBRead-onlyIdempotentInspect
Search OpenFDA National Drug Code SPL Data Elements (NSDE) by proprietary name, dosage form, application number, product type, or active status.
Inputs: query (required), field, limit, active_only, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
get_nsde_by_package_ndc and get_nsde_stats are clearly distinct, but three tools are all searches: search_nsde_packages, search_nsde_by_application, and search_nsde_by_marketing_category. Since the generic search explicitly accepts application number as a filter, search_nsde_by_application is largely redundant, and the marketing-category variant is a thin narrow slice of the same query.
All names use snake_case with a consistent nsde domain token and start with a verb (search_/get_). Minor inconsistency: search_nsde_packages uses search_nsde_<resource> while the others use search_nsde_by_<facet>, so the pattern shifts mid-set.
Five tools is well-scoped for a read-only drug-package lookup API. Each tool covers a recognizable access pattern (free-text search, keyed lookup, aggregation, and two faceted searches), so nothing feels bloated or missing at the count level.
The surface covers search, single-record retrieval, and aggregation, which is the core of a read-only FDA dataset. Gaps are minor but real: no product-level (non-package) NDC lookup, no batch/multi-NDC retrieval, and no way to enumerate valid marketing categories or product types before filtering.
Maintenance
Related MCP Connectors
Live FDA NDC directory lookup for active ingredients, DEA schedules, packaging, and drug classes.
Live NIH RxNorm RxCUI lookup, drug properties, FDA NDC codes, related drugs, and RxClass classes.
US medication lookup: drug search, forms and strengths, NDC/RxCUI, recalls, shortages.
FDA MCP — US Food and Drug Administration public API (free, no auth)
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables lookups of live CMS Medicaid open data — current and newly reported covered products, ACA Federal Upper Limits, AMP reporting status, clotting-factor and exclusive-pediatric designations, and first-time NADAC rates — so agents can identify participating drug products by NDC or name and check their reimbursement limits and reporting compliance.MIT
- AlicenseAqualityBmaintenanceEnables live, keyless lookup of official US healthcare vocabularies — ICD-10-CM diagnoses, HCPCS Level II procedures, LOINC lab codes, RxTerms drugs, and medical conditions — through hosted or local MCP endpoints. Supports keyword and code-prefix searching for coding teams, EHR developers, and clinical tools.5MIT
- AlicenseAqualityBmaintenanceEnables keyless lookup and verification of medical device UDIs, barcode parsing, implantable-device catalog browsing, GMDN and product codes, and manufacturer details through MCP tools.5MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables pharmacovigilance and clinical AI agents to search FDA drug prescribing labels and retrieve boxed warnings, contraindications, drug interactions, adverse reactions, and full label summaries via a hosted or local MCP endpoint without API keys.MIT