disease_associations
Pack: opentargets · Endpoint: https://gateway.pipeworx.io/opentargets/mcp
“Best drug targets for [disease]” / “what genes are linked to [condition]” / “druggable targets in [disease]” — top drug-target candidates for a disease (EFO ID), scored by integrated evidence. Use for target discovery in a therapeutic area.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
efo_id | string | yes | |
size | number | no |
Example call
Arguments
{
"efo_id": "EFO_0000270"
}
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":"disease_associations","arguments":{"efo_id":"EFO_0000270"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('disease_associations', {
"efo_id": "EFO_0000270"
});
More examples
{
"efo_id": "EFO_0000270",
"size": 15
}
Response shape
| Field | Type | Description |
|---|---|---|
data | object |
Full JSON Schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"disease": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Disease ID"
},
"name": {
"type": "string",
"description": "Disease name"
},
"associatedTargets": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "Total target associations"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"score": {
"type": "number",
"description": "Association score"
},
"target": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Target ID"
},
"approvedSymbol": {
"type": "string",
"description": "Target symbol"
},
"approvedName": {
"type": "string",
"description": "Target 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.