rxnorm_ndc

Pack: rxnorm · Endpoint: https://gateway.pipeworx.io/rxnorm/mcp

Get the NDC (National Drug Code) identifiers for a drug — the 11-digit US pharmacy codes used for billing, dispensing and inventory. Takes an RxCUI or a plain drug name (“amoxicillin”, “Lipitor”). NDCs attach to marketed products rather than to an ingredient, so an ingredient or brand name is expanded to its products automatically and the response says it did so; a concept with nothing currently marketed reports its historical NDC count instead of an unexplained empty list.

Parameters

NameTypeRequiredDescription
rxcuistringyesRxNorm concept ID, or a drug name — resolved to an RxCUI automatically. A bare ingredient (“amoxicillin”) works: it is expanded to its marketed products. A full dose phrase (“lisinopril 10 mg oral tablet”) returns that one product’s complete list.

Example call

Arguments

{
  "rxcui": "7052"
}

curl

curl -X POST https://gateway.pipeworx.io/rxnorm/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"rxnorm_ndc","arguments":{"rxcui":"7052"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('rxnorm_ndc', {
  "rxcui": "7052"
});

Response shape

Always returns: rxcui, ndc_count, ndcs

FieldTypeDescription
rxcuistringRxNorm concept unique identifier
ndc_countintegerNumber of NDC codes found
ndcsarrayNational Drug Code identifiers
Full JSON Schema
{
  "type": "object",
  "properties": {
    "rxcui": {
      "type": "string",
      "description": "RxNorm concept unique identifier"
    },
    "ndc_count": {
      "type": "integer",
      "description": "Number of NDC codes found"
    },
    "ndcs": {
      "type": "array",
      "description": "National Drug Code identifiers",
      "items": {
        "type": "string",
        "description": "NDC code in standard format"
      }
    }
  },
  "required": [
    "rxcui",
    "ndc_count",
    "ndcs"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "rxnorm": {
      "url": "https://gateway.pipeworx.io/rxnorm/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 10, 2026