target_associations

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

“What diseases is [gene] involved in” / “diseases associated with [target]” / “what does [gene] cause” — top disease associations for a drug target (Ensembl gene ID), scored by integrated Open Targets evidence (genetics, expression, animal models, drugs, literature, pathways). Use to triage what diseases a candidate target might address.

Parameters

NameTypeRequiredDescription
ensembl_idstringyes
sizenumberno1-50 (default 10)

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

TypeScript (@pipeworx/sdk)

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

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

More examples

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

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"
            },
            "associatedDiseases": {
              "type": "object",
              "properties": {
                "count": {
                  "type": "integer",
                  "description": "Total disease associations"
                },
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "score": {
                        "type": "number",
                        "description": "Association score"
                      },
                      "disease": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Disease ID"
                          },
                          "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