list_classes
Pack: dailymed · Endpoint: https://gateway.pipeworx.io/dailymed/mcp
Pharmacologic / drug-class reference (EPC, MoA, PE, CS).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
class_code | string | no | Restrict to a specific class code |
type | string | no | EPC | MoA | PE | CS |
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":"list_classes","arguments":{}}}'
Response shape
| Field | Type | Description |
|---|---|---|
results | array | List of drug classes |
totalResults | number | Total number of classes |
Full JSON Schema
{
"type": "object",
"description": "Pharmacologic or drug-class reference",
"properties": {
"results": {
"type": "array",
"description": "List of drug classes",
"items": {
"type": "object",
"properties": {
"classCode": {
"type": "string",
"description": "Unique class code"
},
"className": {
"type": "string",
"description": "Class name or description"
},
"type": {
"type": "string",
"description": "Class type (EPC, MoA, PE, or CS)",
"enum": [
"EPC",
"MoA",
"PE",
"CS"
]
},
"drugs": {
"type": "array",
"description": "Drugs in this class",
"items": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"description": "DailyMed identifier"
},
"name": {
"type": "string",
"description": "Drug name"
}
}
}
}
}
}
},
"totalResults": {
"type": "number",
"description": "Total number of classes"
}
}
}
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.