target_known_drugs

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

“What drugs target [gene]” / “approved drugs against [target]” / “clinical-trial drugs for [gene]” — drugs that have been clinically tested or approved against a drug target (Ensembl gene ID). Returns drug names, mechanisms, indications, clinical trial phases. Use for competitive landscape / drug-repositioning queries.

Parameters

NameTypeRequiredDescription
ensembl_idstringyes
sizenumberno1-100 (default 25)

Example call

Arguments

{
  "ensembl_id": "ENSG00000141510"
}

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":"target_known_drugs","arguments":{"ensembl_id":"ENSG00000141510"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('target_known_drugs', {
  "ensembl_id": "ENSG00000141510"
});

More examples

{
  "ensembl_id": "ENSG00000141510",
  "size": 50
}

Response shape

FieldTypeDescription
dataobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "target": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "Target ID"
            },
            "approvedSymbol": {
              "type": "string",
              "description": "Target symbol"
            },
            "knownDrugs": {
              "type": "object",
              "properties": {
                "count": {
                  "type": "integer",
                  "description": "Total known drugs"
                },
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "phase": {
                        "type": "integer",
                        "description": "Clinical trial phase"
                      },
                      "drugId": {
                        "type": "string",
                        "description": "Drug ID"
                      },
                      "drug": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "Drug name"
                          },
                          "maximumClinicalTrialPhase": {
                            "type": "integer",
                            "description": "Max trial phase"
                          }
                        }
                      },
                      "disease": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "Disease name"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

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