target_known_drugs

Pack: opentargets · 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/target_known_drugs for the schema, then POST the same URL with its arguments for the data.

“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
targetobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "target": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "approvedSymbol": {
          "type": "string"
        },
        "drugAndClinicalCandidates": {
          "type": "object",
          "properties": {
            "count": {
              "type": "number"
            },
            "rows": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "maxClinicalStage": {
                    "type": "string"
                  },
                  "drug": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "drugType": {
                        "type": "string"
                      }
                    }
                  },
                  "diseases": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "diseaseFromSource": {
                          "type": "string"
                        },
                        "disease": {
                          "type": [
                            "null",
                            "object"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

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 opentargets pack
{
  "mcpServers": {
    "opentargets": {
      "url": "https://gateway.pipeworx.io/opentargets/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026