Open Targets

live BioDrug Discovery

Open Targets disease/target/drug knowledge graph (GraphQL). Keyless.

7 tools
0ms auth
free tier 50 calls/day

Tools

target required: ensembl_id

Target profile by Ensembl id.

Parameters
Name Type Description
ensembl_id req string
Try it
disease required: efo_id

Disease profile by EFO id.

Parameters
Name Type Description
efo_id req string
Try it
drug required: chembl_id

Drug profile by ChEMBL id.

Parameters
Name Type Description
chembl_id req string
Try it
target_associations required: ensembl_id

Top diseases for a target.

Parameters
Name Type Description
ensembl_id req string
size opt number
Try it
disease_associations required: efo_id

Top targets for a disease.

Parameters
Name Type Description
efo_id req string
size opt number
Try it
target_known_drugs required: ensembl_id

Clinically tested drugs for a target.

Parameters
Name Type Description
ensembl_id req string
size opt number
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/opentargets/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/opentargets/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"target","arguments":{"ensembl_id": "example"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("target", {"ensembl_id":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("open targets disease/target/drug knowledge graph (graphql)");

Related packs

Other Pipeworx packs in the same categories (Bio, Drug Discovery):