rxnorm_related
Pack: rxnorm · Endpoint: https://gateway.pipeworx.io/rxnorm/mcp
Find related medications by RxCUI — brands, generics, ingredients, and dose forms. Maps between brand and generic alternatives. Use to compare drug options.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
rxcui | string | yes | RxNorm concept ID |
tty | string | no | Optional term type filter: BN (brand name), IN (ingredient), SBD (semantic branded drug), SCD (semantic clinical drug), GPCK (generic pack), BPCK (branded pack). Comma-separated for multiple. |
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_related","arguments":{"rxcui":"7052"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('rxnorm_related', {
"rxcui": "7052"
});
More examples
{
"rxcui": "1243465",
"tty": "BN,SBD"
}
Response shape
Always returns: rxcui, related_groups
| Field | Type | Description |
|---|---|---|
rxcui | string | RxNorm concept unique identifier |
related_groups | array | Groups of related drug concepts by term type |
Full JSON Schema
{
"type": "object",
"properties": {
"rxcui": {
"type": "string",
"description": "RxNorm concept unique identifier"
},
"related_groups": {
"type": "array",
"description": "Groups of related drug concepts by term type",
"items": {
"type": "object",
"properties": {
"term_type": {
"type": "string",
"description": "RxNorm term type filter applied"
},
"concepts": {
"type": "array",
"description": "Related drug concepts",
"items": {
"type": "object",
"properties": {
"rxcui": {
"type": "string",
"description": "RxNorm concept unique identifier"
},
"name": {
"type": "string",
"description": "Drug name"
},
"tty": {
"type": "string",
"description": "Term type code"
}
},
"required": [
"rxcui",
"name",
"tty"
]
}
}
},
"required": [
"term_type",
"concepts"
]
}
}
},
"required": [
"rxcui",
"related_groups"
]
}
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.