drug

Pack: opentargets · Endpoint: https://gateway.pipeworx.io/opentargets/mcp

“Drug info for [ChEMBL ID]” / “look up [drug] target info” / “[CHEMBL…] mechanism” — fetch a drug profile from Open Targets by ChEMBL ID. Returns name, mechanisms of action, indications, target genes, trade names, clinical-trial phase. Use for drug research, mechanism queries.

Parameters

NameTypeRequiredDescription
chembl_idstringyese.g. “CHEMBL1201583” (imatinib)

Example call

Arguments

{
  "chembl_id": "CHEMBL1201583"
}

curl

curl -X POST https://gateway.pipeworx.io/opentargets/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"drug","arguments":{"chembl_id":"CHEMBL1201583"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('drug', {
  "chembl_id": "CHEMBL1201583"
});

More examples

{
  "chembl_id": "CHEMBL25"
}

Response shape

FieldTypeDescription
dataobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "drug": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "ChEMBL drug ID"
            },
            "name": {
              "type": "string",
              "description": "Drug name"
            },
            "tradeNames": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "Trade name"
              }
            },
            "maximumClinicalTrialPhase": {
              "type": "integer",
              "description": "Max clinical trial phase"
            },
            "drugType": {
              "type": "string",
              "description": "Drug type"
            },
            "mechanismsOfAction": {
              "type": "object",
              "properties": {
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "actionType": {
                        "type": "string",
                        "description": "Mechanism action type"
                      },
                      "mechanismOfAction": {
                        "type": "string",
                        "description": "Mechanism description"
                      },
                      "targets": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Target ID"
                            },
                            "approvedSymbol": {
                              "type": "string",
                              "description": "Target symbol"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "indications": {
              "type": "object",
              "properties": {
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "disease": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Disease ID"
                          },
                          "name": {
                            "type": "string",
                            "description": "Disease name"
                          }
                        }
                      },
                      "maxPhaseForIndication": {
                        "type": "integer",
                        "description": "Max phase for indication"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "opentargets": {
      "url": "https://gateway.pipeworx.io/opentargets/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026