search

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/search for the schema, then POST the same URL with its arguments for the data.

“Find [disease / drug / gene target]” / “Open Targets lookup for [name]” / “what’s the Open Targets ID for [X]” — text search across diseases, drug targets, and drugs in the Open Targets Platform (the leading drug-discovery knowledge graph). Returns ranked matches with their canonical IDs (ENSG… for targets, EFO_… for diseases, CHEMBL… for drugs). Use first to find IDs, then call target/disease/drug for details.

Parameters

NameTypeRequiredDescription
querystringyes
entitystringnotarget | disease | drug (omit for all)
sizenumberno1-50 (default 10)

Example call

Arguments

{
  "query": "TP53"
}

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":"search","arguments":{"query":"TP53"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search', {
  "query": "TP53"
});

More examples

{
  "query": "cancer",
  "entity": "disease",
  "size": 20
}

Response shape

FieldTypeDescription
searchobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "search": {
      "type": "object",
      "properties": {
        "total": {
          "type": "number"
        },
        "hits": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "entity": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "description": {
                "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