get_drug
Pack: dailymed · Endpoint: https://gateway.pipeworx.io/dailymed/mcp
Full SPL metadata + sections (e.g. dosage, warnings) by set_id.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
set_id | string | yes | DailyMed setId UUID |
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":"get_drug","arguments":{}}}'
Response shape
| Field | Type | Description |
|---|---|---|
setId | string | DailyMed unique identifier |
name | string | Drug name |
applicationNumber | string | NDA/ANDA number |
ndc | array | NDC codes |
rxcui | array | RxNorm RxCUI codes |
manufacturer | string | Manufacturer name |
lastUpdate | string | ISO date of last update |
sections | array | SPL sections (dosage, warnings, adverse reactions, etc.) |
Full JSON Schema
{
"type": "object",
"description": "Full Structured Product Label with metadata and sections",
"properties": {
"setId": {
"type": "string",
"description": "DailyMed unique identifier"
},
"name": {
"type": "string",
"description": "Drug name"
},
"applicationNumber": {
"type": "string",
"description": "NDA/ANDA number"
},
"ndc": {
"type": "array",
"description": "NDC codes",
"items": {
"type": "string"
}
},
"rxcui": {
"type": "array",
"description": "RxNorm RxCUI codes",
"items": {
"type": "string"
}
},
"manufacturer": {
"type": "string",
"description": "Manufacturer name"
},
"lastUpdate": {
"type": "string",
"description": "ISO date of last update"
},
"sections": {
"type": "array",
"description": "SPL sections (dosage, warnings, adverse reactions, etc.)",
"items": {
"type": "object",
"properties": {
"sectionName": {
"type": "string",
"description": "Section title (e.g. DOSAGE, WARNINGS)"
},
"content": {
"type": "string",
"description": "Section content HTML or plain text"
}
}
}
}
}
}
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.