Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

opentargets-database

Skill by davila7

Queries the Open Targets Platform for target-disease associations, tractability, safety, genetic evidence and known drugs. Built for researchers doing therapeutic target identification and drug discovery.

  • Score 94
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install opentargets-database

Built from the published package, never by AI.

git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/opentargets-database ~/.claude/skills/opentargets-database

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install opentargets-database in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The opentargets-database skill lets an AI assistant query the Open Targets Platform. The platform integrates human genetics, omics, literature and chemical data to identify and rank potential therapeutic drug targets. The skill covers target annotations such as tractability, safety and expression, disease associations with evidence scores, and known drugs with their clinical trial phases.

The skill uses the Open Targets GraphQL API, which requires no authentication. A Python helper script wraps common operations, including entity search, target and disease lookups, evidence retrieval, known drug queries and drug details. Custom GraphQL queries are also supported. It is aimed at researchers working on target discovery, target assessment, drug repurposing and competitive intelligence.

Written from the project's SKILL.md and checked against it.

What it can do

  • search_entities()Searches for targets, diseases or drugs to get their identifiers.
  • get_target_info()Retrieves target annotations including tractability, safety and genetic constraint.
  • get_disease_info()Retrieves disease details, therapeutic areas and associated targets.
  • get_target_disease_evidence()Gets evidence supporting a target-disease association, optionally filtered by data type.
  • get_known_drugs_for_disease()Finds drugs used for a disease, with targets, phases and mechanisms.
  • get_drug_info()Retrieves drug details, mechanisms, indications and withdrawal notices.
  • get_target_associations()Lists all diseases associated with a target, with an optional minimum score.
  • execute_query()Runs custom GraphQL queries against the Open Targets API.

What you need

  • Python to run the helper script scripts/query_opentargets.py

Try asking

  • Find top therapeutic targets for Alzheimer disease using EFO_0000249
  • Show tractability and safety data for gene ENSG00000157764
  • List known drugs for EFO_0000249 with their clinical trial phases

Good to know

  • Focuses on the GraphQL API; other platform data access options are not covered.
  • Association scores rank relative strength and are not confidence scores.
  • Text-mining evidence alone requires manual validation according to the skill guidance.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: cli-tool/components/skills/scientific/opentargets-database/SKILL.md, cli-tool/components/skills/scientific/opentargets-database/scripts/query_opentargets.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB
  • references/api_reference.md6 KB
  • references/evidence_types.md9 KB
  • references/target_annotations.md10 KB
  • scripts/query_opentargets.py10 KB

Alternatives to opentargets-database

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

opentargets-database: common questions

Does the Open Targets skill need an API key?

No. The source states that the Open Targets GraphQL API requires no authentication.

What kinds of evidence does it return for a target-disease pair?

The source lists genetic association, somatic mutation, known drug, affected pathway, RNA expression, animal model and literature evidence.

What is the Open Targets endpoint used by this skill?

The skill uses https://api.platform.opentargets.org/api/v4/graphql, and the source also gives an interactive browser at the /graphql/browser path.

How do I install opentargets-database?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is opentargets-database free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is opentargets-database safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to opentargets-database?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

opentargets-database Install

Add to stack

Loading.