# Drugbank [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-drugbank  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1007  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/drugbank

## Description
DrugBank MCP — wraps the DrugBank Clinical API (api.drugbank.com)

## Tools
Capabilities this server exposes over MCP:

- **drugbank_ddi** — Check drug-drug interactions among a set of drugs. Returns curated interactions with severity, description, and management guidance. Accepts drug names or DrugBank IDs (comma-separated). Example: drugbank_ddi({ drugs: "warfarin, acetaminophen", _apiKey: "your-key" }) or drugbank_ddi({ drugs: "DB00682,DB00316", _apiKey: "your-key" })
- **drugbank_drug_names** — 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" })
- **drugbank_drug** — 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" })

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "drugbank": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-drugbank"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Drugbank does

Drugbank MCP server gives MCP-compatible clients access to selected DrugBank Clinical API operations. Its three primary tools cover drug lookup, single-drug reference data, and drug-drug interaction checks:

- `drugbank_drug_names` searches by a drug name or product and returns matching DrugBank drugs or products with their DrugBank IDs.
- `drugbank_drug` retrieves a structured monograph for one DrugBank drug, including indication, mechanism of action, dosing information, and a summary of adverse effects.
- `drugbank_ddi` evaluates a comma-separated list of drug names or DrugBank IDs and returns curated interactions with severity, descriptions, and management guidance.

This makes the server suitable for medication-information assistants, drug reference workflows, and applications that need to resolve a human-readable drug name before requesting DrugBank-specific data.

## How it works

The hosted MCP endpoint is `https://gateway.pipeworx.io/drugbank/mcp`. Add that URL to an MCP client to connect the DrugBank pack. Calls are forwarded through the Pipeworx gateway to the DrugBank Clinical API. The tool examples pass a DrugBank API key in the `_apiKey` argument, and the key is required for DrugBank tool access.

The endpoint also exposes shared Pipeworx gateway tools in addition to the DrugBank tools. These may include routing and discovery functions such as `ask_pipeworx`, `discover_tools`, `search_within`, `remember`, and `recall`. The exact scope is reported by the MCP `initialize` response. `ask_pipeworx` can route a natural-language question across the broader Pipeworx catalog, including when connecting through the DrugBank pack endpoint.

## Setup and configuration

For a hosted connection, configure the MCP client with the DrugBank endpoint:

```json
{
  "mcpServers": {
    "drugbank": {
      "url": "https://gateway.pipeworx.io/drugbank/mcp"
    }
  }
}
```

A local stdio option is available through the `@pipeworx/mcp-drugbank` npm package. The client starts it with `npx`, and the bridge forwards calls to the same hosted endpoint:

```json
{
  "mcpServers": {
    "drugbank": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-drugbank"]
    }
  }
}
```

The npm bridge requires network access and has no offline mode. Without a Pipeworx key, anonymous use is capped at 50 calls per day. Setting `PIPEWORX_API_KEY` raises the limit to 200 calls per day; the key is sent as a Bearer token. Set `PIPEWORX_META_TOOLS=1` if the local bridge should list the shared gateway tools as well as the DrugBank tools.

## Tools and capabilities

### `drugbank_drug_names`

Resolve a query such as a brand or generic drug name to matching DrugBank drugs, products, and IDs.

### `drugbank_drug`

Fetch monograph-style data for one DrugBank ID, including indications, mechanism of action, dosages, and adverse-effect summaries.

### `drugbank_ddi`

Check interactions among multiple drugs supplied as names or DrugBank IDs. Results include interaction severity, explanatory text, and management guidance.

## Limitations and notes

The integration is independent and unofficial; it is not affiliated with, endorsed by, or published by DrugBank. DrugBank calls depend on network access and an API key supplied to the tool. The local npm bridge adds a Pipeworx usage limit and forwards requests rather than providing a local DrugBank data store. Hosted and local connections can also expose shared Pipeworx meta-tools, which increases the tool list beyond the three DrugBank-specific tools.

_Full upstream README: https://allmcps.com/mcp/drugbank/readme_

