Skip to main content
Glama
openfda-nsde-drug-packages-mcp

openfda-nsde-drug-packages-mcp

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

Related MCP server: nih-icd10-hcpcs-loinc-codes-mcp

Available tools

Tool

Purpose

search_nsde_packages

Search FDA NDC SPL Data Elements by proprietary name, dosage form, application citation, or product type

get_nsde_by_package_ndc

Fetch full FDA NSDE package details including marketing start/end dates, billing unit, and dosage form by package NDC

get_nsde_stats

Aggregate top FDA NSDE drug package counts by product type, marketing category, dosage form, proprietary name, or billing unit

search_nsde_by_application

Trace all FDA NSDE drug packages linked to a specific NDA, ANDA, BLA, or OTC monograph citation

search_nsde_by_marketing_category

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 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.

Available Tools

5 tools
get_nsde_by_package_ndcGet FDA NSDE record by package NDCA
Read-onlyIdempotent
Inspect

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 statisticsB
Read-onlyIdempotent
Inspect

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 numberB
Read-onlyIdempotent
Inspect

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 categoryA
Read-onlyIdempotent
Inspect

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 packagesB
Read-onlyIdempotent
Inspect

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

    A3.5/5.0

    Scored across 5 tools

    Disambiguation3/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      5
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables 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