Spiral gives your agent every tool with one account. Browse the tools →

opencode · Health

How to Use Open Targets target profile in opencode

Returns a human gene target profile with tractability assessments, curated safety liabilities, subcellular locations, and chemical probes. Use it to assess a target's experimental options and potential liabilities before planning drug discovery work.

Prompts to try with Open Targets target profile in opencode

Copy an example into opencode, or ask in your own words.

Use Open Targets target profile for EGFR and add a target review page to this project showing its returned tractability assessments and safety annotations.

Open Targets target profileopencode
Try asking
  • Use Open Targets target profile for BRD4 and create a table in this project's research report containing the chemical probe information returned.

  • Use Open Targets target profile for ERBB2 and add a view that places its subcellular locations beside its antibody tractability assessments.

  • Use Open Targets target profile for BRAF and generate a project report with separate sections for small molecule, antibody, PROTAC, and other clinical assessments.

  • Use Open Targets target profile for JAK2 and populate this project's target review template with the returned safety findings and supporting references, where provided.

How to set up Open Targets target profile in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Open Targets target profile

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "platform-opentargets-org/targets/get_target",
        "input": {
          "target": "<target>"
        }
      }'

Then paste one of the prompts above: opencode finds Open Targets target profile on Spiral, shows the price and runs it.

Open Targets target profile providers and prices

Spiral runs Open Targets target profile through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
Open Targets Platform · Get target
platform-opentargets-org/targets/get_target

What can you do with Open Targets target profile in opencode?

Build a target review screen that presents tractability, safety liabilities, cellular locations, and chemical probes for a selected human gene. A coding agent can use returned Open Targets annotations to populate the project's interface and research reports.

Prepare a target review

Assemble a research brief for EGFR covering available tractability assessments, safety liabilities, subcellular locations, and chemical probes.

Compare therapeutic modalities

Review the small molecule, antibody, PROTAC, and other clinical assessments for BRAF before choosing which experimental approaches to investigate.

Find experimental probes

Inspect chemical probes reported for BRD4 and prepare a shortlist for a chemical biology review.

Review potential safety liabilities

Collect curated safety annotations for JAK2 and turn the reported findings into questions for a target review meeting.

Check cellular accessibility

Examine ERBB2 subcellular locations alongside antibody tractability assessments when reviewing whether an antibody approach warrants further investigation.

Track annotation changes

Compare saved PCSK9 profiles after quarterly Platform updates and report changes in tractability, safety annotations, or chemical probes.

Populate a research application

Add a target detail view that presents returned annotations for a selected human gene, with separate sections for experimental options and potential liabilities.

Questions about Open Targets target profile in opencode

Can opencode use Open Targets target profile?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Open Targets target profile like any built-in tool.

How much does Open Targets target profile cost in opencode?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use Open Targets target profile in opencode?

No. Spiral runs Open Targets target profile on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Open Targets target profile in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Open Targets target profile runs?

Open Targets target profile runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Which genes does Open Targets cover?

Open Targets uses Ensembl to define human targets, including all gene biotypes on canonical chromosomes and genes in alternative assemblies that encode reviewed proteins. Gene fusions and protein complexes are outside its current target definition.

How often does the data change?

Open Targets updates the Platform quarterly. Scheduled comparisons should therefore expect changes around data releases rather than a continuous stream of new annotations.

Does a tractability assessment prove that a target can be drugged?

The assessments are computational, so they should be read as evidence for further investigation. Open Targets assesses four modalities separately: small molecules, antibodies, PROTACs, and other clinical modalities.

Where do the safety annotations come from?

Open Targets manually curates experimental data and insights from publications and established safety and toxicity sources. The annotations describe potential target liabilities supported by those sources.

Are the listed chemical probes ready to use as drugs?

Chemical probes do not need to meet the same pharmacokinetic, pharmacodynamic, or bioavailability requirements as drugs. Use the probe information to investigate experimental tools, without treating a listing as evidence of a medicine's suitability.

Get started

Start using Open Targets target profile in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options