drugbank_drug_names
Pack: drugbank · 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/drugbank_drug_names for the schema, then POST the same URL with its arguments for the data.
Look up a drug by name or product. Resolves a query string to matching DrugBank drugs/products and their DrugBank IDs. Example: drugbank_drug_names({ query: “lipitor”, _apiKey: “your-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Drug or product name to search for, e.g. “lipitor”, “atorvastatin”. |
_apiKey | string | yes | DrugBank API key (commercial; trial keys at dev.drugbank.com). |
Example call
Arguments
{
"query": "lipitor",
"_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_names","arguments":{"query":"lipitor","_apiKey":"your-drugbank-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('drugbank_drug_names', {
"query": "lipitor",
"_apiKey": "your-drugbank-api-key"
});
More examples
{
"query": "atorvastatin",
"_apiKey": "your-drugbank-api-key"
}
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 drugbank pack
{
"mcpServers": {
"drugbank": {
"url": "https://gateway.pipeworx.io/drugbank/mcp"
}
}
}
See Getting Started for client-specific install steps.