drugbank_drug
Pack: drugbank · Endpoint: https://gateway.pipeworx.io/drugbank/mcp
Structured monograph (indication, MoA, dosing) for a drug. Returns indication, mechanism of action, dosages, and a summary of adverse effects for a single DrugBank drug. Example: drugbank_drug({ id: “DB00682”, _apiKey: “your-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | DrugBank ID of the drug, e.g. “DB00682” (warfarin). Resolve names first via drugbank_drug_names. |
_apiKey | string | yes | DrugBank API key (commercial; trial keys at dev.drugbank.com). |
Example call
Arguments
{
"id": "DB00682",
"_apiKey": "your-drugbank-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/drugbank/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"drugbank_drug","arguments":{"id":"DB00682","_apiKey":"your-drugbank-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('drugbank_drug', {
"id": "DB00682",
"_apiKey": "your-drugbank-api-key"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"drugbank": {
"url": "https://gateway.pipeworx.io/drugbank/mcp"
}
}
}
See Getting Started for client-specific install steps.