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

Claude Code · Health

How to Use Open Targets target-disease associations in Claude Code

Returns ranked gene-disease links with overall and evidence-type association scores from Open Targets. Use it to shortlist targets for a disease, explore diseases linked to a gene, or assess one pair before reviewing its underlying evidence.

Prompts to try with Open Targets target-disease associations in Claude Code

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

Use Open Targets target-disease associations to fetch the top 20 asthma targets and add a table of their overall and genetic evidence scores to this project.

Open Targets target-disease associationsClaude Code
Try asking
  • Use Open Targets target-disease associations for IL6R and write a CSV of the top 20 associated diseases with their scores.

  • Use Open Targets target-disease associations to compare overall and genetic rankings for rheumatoid arthritis, then add a rank comparison chart to the app.

  • Use Open Targets target-disease associations to retrieve the CFTR and cystic fibrosis scores and add the result to our research notebook.

  • Use Open Targets target-disease associations for NOD2 and inflammatory bowel disease, compare direct-only and expanded disease evidence, and save both results in the project.

How to set up Open Targets target-disease associations in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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-disease associations

    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/associations/list_associations",
        "input": {
          "limit": 25
        }
      }'

Then paste one of the prompts above: Claude Code finds Open Targets target-disease associations on Spiral, shows the price and runs it.

Open Targets target-disease associations providers and prices

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

AlexandriaHealth
Open Targets Platform · List associations
platform-opentargets-org/associations/list_associations

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 10025

Rows per page, 1 to 100.

Indirecton or off

Include indirect evidence, which propagates evidence on a disease's descendants up to it (e.g. Crohn's disease evidence counts for inflammatory bowel disease). Defaults to false for a target's diseases and true when a disease is given, as on the Open Targets pages.

Order byscore, genetic_association, genetic_literature, somatic_mutation, clinical, affected_pathway, rna_expression, literature and 1 morescore

Rank by the overall score or by one evidence type's score, descending.

Min score0 to 1

Stop at rows whose ranking score (overall, or the order_by evidence type) is below this.

Every API field of Open Targets Platform · List associations is on its tool page: open its card above.

What can you do with Open Targets target-disease associations in Claude Code?

Build an asthma target comparison table in your research app from Open Targets association scores. A coding agent can join the returned genes to a project shortlist and show how evidence priorities affect the ranking.

Build a disease target shortlist

Rank targets associated with asthma and select candidates for a research review using their overall and genetic evidence scores.

Explore indications for a gene

List diseases associated with IL6R to identify indications worth investigating in an early drug discovery program.

Compare evidence priorities

Compare a rheumatoid arthritis shortlist ranked by overall support with one ranked by genetic support to see which targets change position.

Check disease scope

Compare NOD2 associations with inflammatory bowel disease using direct evidence alone and then including narrower diagnoses.

Review a proposed gene-disease link

Retrieve the CFTR and cystic fibrosis association scores to prepare a focused review of the evidence behind that pair.

Monitor changes across releases

Compare saved psoriasis target rankings after quarterly Platform updates and flag changes for a scientific review.

Questions about Open Targets target-disease associations in Claude Code

Can Claude Code use Open Targets target-disease associations?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Open Targets target-disease associations like any built-in tool.

How much does Open Targets target-disease associations cost in Claude Code?

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

Do I need an Alexandria account to use Open Targets target-disease associations in Claude Code?

No. Spiral runs Open Targets target-disease associations 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-disease associations in Claude Code?

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

Does Claude Code wait while Open Targets target-disease associations runs?

Open Targets target-disease associations runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

How fresh are Open Targets associations?

Open Targets maintains the Platform with quarterly updates. Association rankings follow those releases rather than a continuous feed of newly published studies.

Does a score of 0.8 mean an 80% chance that a gene causes a disease?

No. Overall association scores range from 0 to 1 and summarize available evidence; they are not probabilities of causality.

Can a broad disease include evidence from narrower diagnoses?

Yes. Indirect associations include evidence from ontology descendants, so inflammatory bowel disease can include evidence annotated to Crohn's disease.

Does Open Targets cover only protein-coding genes?

No. Human target coverage includes RNAs and pseudogenes, while gene fusions and protein complexes are not represented as target entities.

Are all disease-side results diagnoses?

No. Open Targets also includes phenotypes, biological processes, and measurements, using the Experimental Factor Ontology to organize them.

Get started

Start using Open Targets target-disease associations in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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