rxnorm_ndc

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

Get all NDC (National Drug Code) identifiers for a drug by RxCUI. Returns the full list of 11-digit US pharmacy codes used for billing, dispensing, and inventory lookup.

Parameters

NameTypeRequiredDescription
rxcuistringyesRxNorm concept ID, or a drug name (e.g. “aspirin”) — resolved to an RxCUI automatically.

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 July 22, 2026