search_drugs
Pack: dailymed · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/search_drugs for the schema, then POST the same URL with its arguments for the data.
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
Arguments
{
"name": "Aspirin"
}
curl
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":{"name":"Aspirin"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_drugs', {
"name": "Aspirin"
});
More examples
{
"ndc": "50090076501",
"manufacturer": "Bayer"
}
{
"application_number": "NDA021436"
}
{
"rxcui": "7677",
"pagesize": 50
}
Response shape
| Field | Type | Description |
|---|---|---|
data | array | |
metadata | object |
Full JSON Schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"spl_version": {
"type": "number"
},
"published_date": {
"type": "string"
},
"title": {
"type": "string"
},
"setid": {
"type": "string"
}
}
}
},
"metadata": {
"type": "object",
"properties": {
"db_published_date": {
"type": "string"
},
"elements_per_page": {
"type": "number"
},
"current_url": {
"type": "string"
},
"next_page_url": {
"type": "string"
},
"total_elements": {
"type": "number"
},
"total_pages": {
"type": "number"
},
"current_page": {
"type": "number"
},
"previous_page": {
"type": "string"
},
"previous_page_url": {
"type": "string"
},
"next_page": {
"type": [
"number",
"string"
]
}
}
}
},
"description": "Search results for Structured Product Labels"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the dailymed pack
{
"mcpServers": {
"dailymed": {
"url": "https://gateway.pipeworx.io/dailymed/mcp"
}
}
}
See Getting Started for client-specific install steps.