rxnorm_search
Pack: rxnorm · Endpoint: https://gateway.pipeworx.io/rxnorm/mcp
Search for medications by brand or generic name. Returns RxCUI IDs, names, synonyms, and term types (BN=brand, IN=ingredient, SBD=dose form). Start here to find a drug’s unique ID.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Drug name to search for — brand or generic (e.g., “Ozempic”, “semaglutide”, “metformin”) |
Example call
Arguments
{
"name": "Ozempic"
}
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_search","arguments":{"name":"Ozempic"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('rxnorm_search', {
"name": "Ozempic"
});
More examples
{
"name": "metformin"
}
Response shape
Always returns: name, concept_groups
| Field | Type | Description |
|---|---|---|
name | string | Normalized drug name from search |
concept_groups | array | Groups of drug concepts organized by term type |
Full JSON Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Normalized drug name from search"
},
"concept_groups": {
"type": "array",
"description": "Groups of drug concepts organized by term type",
"items": {
"type": "object",
"properties": {
"term_type": {
"type": "string",
"description": "RxNorm term type (BN, IN, SBD, SCD, GPCK, BPCK)"
},
"concepts": {
"type": "array",
"description": "Drug concepts in this group",
"items": {
"type": "object",
"properties": {
"rxcui": {
"type": "string",
"description": "RxNorm concept unique identifier"
},
"name": {
"type": "string",
"description": "Drug name"
},
"synonym": {
"type": [
"string",
"null"
],
"description": "Alternative name or null"
},
"tty": {
"type": "string",
"description": "Term type code"
},
"language": {
"type": "string",
"description": "Language code (typically ENG)"
}
},
"required": [
"rxcui",
"name",
"tty",
"language"
]
}
}
},
"required": [
"term_type",
"concepts"
]
}
}
},
"required": [
"name",
"concept_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.