searchEntities

Free

Resolve a gene/protein, disease or drug name (brand names and synonyms included) to Open Targets IDs: Ensembl gene IDs for targets, EFO/MONDO IDs for diseases, ChEMBL IDs for drugs. Use this first; the IDs feed every other Open Targets tool, drug ChEMBL IDs also work in chembl-mcp (getMechanisms, getDrugIndications, getBioactivities, getMolecules). Target IDs here are Ensembl, not ChEMBL target IDs: use the symbol with chembl-mcp searchTargets for those.

Try it

Open in playground
kirha tools run opentargets_searchEntities \
  --input '{
    "query": "EGFR"
  }'

Uses the key saved by kirha auth login.

  • querystring, required

    e.g. EGFR, non-small cell lung carcinoma, Keytruda

  • entityTypesstring[], default ["target","disease","drug"], At least 1 item

    One of target, disease, drug

  • limitinteger, default 5, 1 to 25

Works in any harness

Get your API key, then install with one command

  • Claude Code
  • OpenCode
  • π
  • Windsurf
  • Gemini CLI
  • Codex
  • Cursor
  • GitHub Copilot