rxnorm_ndc
Pack: rxnorm · Endpoint: https://gateway.pipeworx.io/rxnorm/mcp
Get NDC (National Drug Code) identifiers by RxCUI. Returns unique US pharmacy codes for billing and fulfillment. Use for prescription processing or inventory lookup.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
rxcui | string | yes | RxNorm concept ID |
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
| Field | Type | Description |
|---|---|---|
rxcui | string | RxNorm concept unique identifier |
ndc_count | integer | Number of NDC codes found |
ndcs | array | National 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.