search_drugs
Pack: dailymed · Endpoint: https://gateway.pipeworx.io/dailymed/mcp
Search Structured Product Labels by any combination of name, ANDA/NDA, NDC, RxCUI.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | no | Drug name (brand or generic) |
application_number | string | no | ANDA/NDA number (e.g. “NDA021436”) |
ndc | string | no | NDC code (11-digit) |
rxcui | string | no | RxNorm RxCUI |
manufacturer | string | no | Manufacturer name |
page | number | no | 1-based page (default 1) |
pagesize | number | no | 1-100 (default 25) |
Example call
curl -X POST https://gateway.pipeworx.io/dailymed/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_drugs","arguments":{}}}'
Response shape
| Field | Type | Description |
|---|---|---|
results | array | Array of matching drug labels |
pageNumber | number | Current page number |
pageSize | number | Page size |
totalPages | number | Total number of pages |
totalResults | number | Total number of matching results |
Full JSON Schema
{
"type": "object",
"description": "Search results for Structured Product Labels",
"properties": {
"results": {
"type": "array",
"description": "Array of matching drug labels",
"items": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"description": "DailyMed unique identifier for the label"
},
"name": {
"type": "string",
"description": "Drug name"
},
"applicationNumber": {
"type": "string",
"description": "NDA/ANDA number"
},
"ndc": {
"type": "string",
"description": "NDC code"
},
"rxcui": {
"type": "string",
"description": "RxNorm RxCUI"
},
"manufacturer": {
"type": "string",
"description": "Manufacturer name"
},
"lastUpdate": {
"type": "string",
"description": "ISO date of last update"
}
}
}
},
"pageNumber": {
"type": "number",
"description": "Current page number"
},
"pageSize": {
"type": "number",
"description": "Page size"
},
"totalPages": {
"type": "number",
"description": "Total number of pages"
},
"totalResults": {
"type": "number",
"description": "Total number of matching results"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"dailymed": {
"url": "https://gateway.pipeworx.io/dailymed/mcp"
}
}
}
See Getting Started for client-specific install steps.