[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [ChEMBL drug indications](https://spiral.ai/integrations/gemini-cli/chembl-drug-indications)

# How to Use ChEMBL drug indications in Gemini CLI

Returns diseases linked to a drug, the highest development phase recorded for each indication, and supporting references. Use it to compare disease-specific development records rather than a compound's overall clinical progress.

|  |  |
| --- | --- |
| Model | ChEMBL drug indications |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ChEMBL drug indications in Gemini CLI

- Use ChEMBL drug indications for imatinib and create a table in this project with each returned disease, its maximum recorded development phase, and supporting references.
- Use ChEMBL drug indications to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from ChEMBL drug indications and tell me what changed since last week.
- Check ChEMBL drug indications and summarize what you find in three bullet points.
- Pull the newest data from ChEMBL drug indications and give me the result as a table.

## How to set up ChEMBL drug indications in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ChEMBL drug indications**: One request; the result comes back by polling or a webhook.

```bash
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": "ebi-ac-uk/molecules/drug_indications",
    "input": {
      "chembl_id": "<chembl_id>"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds ChEMBL drug indications on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## ChEMBL drug indications tools and prices

- [ChEMBL · Drug indications](https://spiral.ai/tools/alexandria/ebi-ac-uk/molecules/drug_indications) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 100 | 25 | limit |
| cursor |  | — | next_cursor from the previous page of the same request. Pattern: ^[0-9]{1,8}$. |
| min_phase | 0.5, 1, 2, 3, 4 | — | Only indications whose max_phase_for_ind is at least this (4 approved). |

## What can you do with ChEMBL drug indications in Gemini CLI?

Build a research table that connects drug names, compound records, and disease indications. A coding agent can add ChEMBL identifiers to project data and keep overall development progress separate from disease-specific phases.

### Prepare a compound research brief

Resolve imatinib by name, inspect the selected compound record, and summarize its recorded disease indications with supporting references.

### Compare oncology research records

Find imatinib, dasatinib, and nilotinib, confirm their compound identities, and compare the diseases and development phases recorded for each.

### Review repurposing research leads

Resolve a shortlist of named drugs, inspect their compound records, and organize recorded indications by disease-specific development phase for further literature review.

### Check changes after database releases

Repeat searches for a fixed drug shortlist and compare compound details and indication records with an earlier saved response to identify changes for review.

### Build a drug discovery teaching example

Use aspirin and imatinib to demonstrate name resolution, compound identification, molecular descriptions, and the difference between overall and disease-specific development progress.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## ChEMBL drug indications in other agents

- [Amp](https://spiral.ai/integrations/amp/chembl-drug-indications)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/chembl-drug-indications)
- [Claude](https://spiral.ai/integrations/claude-desktop/chembl-drug-indications)
- [Claude Code](https://spiral.ai/integrations/claude-code/chembl-drug-indications)
- [Cline](https://spiral.ai/integrations/cline/chembl-drug-indications)
- [Codex](https://spiral.ai/integrations/codex/chembl-drug-indications)
- [Cursor](https://spiral.ai/integrations/cursor/chembl-drug-indications)
- [Devin](https://spiral.ai/integrations/devin/chembl-drug-indications)
- [dots](https://spiral.ai/integrations/dots/chembl-drug-indications)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/chembl-drug-indications)
- [Gemini](https://spiral.ai/integrations/gemini/chembl-drug-indications)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/chembl-drug-indications)
- [goose](https://spiral.ai/integrations/goose/chembl-drug-indications)
- [Grok](https://spiral.ai/integrations/grok/chembl-drug-indications)
- [Grok Build](https://spiral.ai/integrations/grok-build/chembl-drug-indications)
- [Hermes](https://spiral.ai/integrations/hermes/chembl-drug-indications)
- [Instinct](https://spiral.ai/integrations/instinct/chembl-drug-indications)
- [Manus](https://spiral.ai/integrations/manus/chembl-drug-indications)
- [Muse](https://spiral.ai/integrations/muse/chembl-drug-indications)
- [Muse Code](https://spiral.ai/integrations/muse-code/chembl-drug-indications)
- [n8n](https://spiral.ai/integrations/n8n/chembl-drug-indications)
- [Notion](https://spiral.ai/integrations/notion/chembl-drug-indications)
- [OpenClaw](https://spiral.ai/integrations/openclaw/chembl-drug-indications)
- [opencode](https://spiral.ai/integrations/opencode/chembl-drug-indications)
- [Perplexity](https://spiral.ai/integrations/perplexity/chembl-drug-indications)
- [Raycast](https://spiral.ai/integrations/raycast/chembl-drug-indications)
- [VS Code](https://spiral.ai/integrations/vscode/chembl-drug-indications)
- [Windsurf](https://spiral.ai/integrations/windsurf/chembl-drug-indications)
- [Zapier](https://spiral.ai/integrations/zapier/chembl-drug-indications)

## More Gemini CLI guides

- [ChEMBL compound and target activities](https://spiral.ai/integrations/gemini-cli/chembl-compound-and-target-activities)
- [ChEMBL molecule details](https://spiral.ai/integrations/gemini-cli/chembl-molecule-details)
- [California physician license](https://spiral.ai/integrations/gemini-cli/california-physician-license)
- [ChEMBL molecule search](https://spiral.ai/integrations/gemini-cli/chembl-molecule-search)
- [California HCAI drug launch reports](https://spiral.ai/integrations/gemini-cli/california-hcai-drug-launch-reports)
- [ChEMBL target details](https://spiral.ai/integrations/gemini-cli/chembl-target-details)

## Questions about ChEMBL drug indications in Gemini CLI

**Can Gemini CLI use ChEMBL drug indications?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run ChEMBL drug indications like any built-in tool.

**How much does ChEMBL drug indications cost in Gemini CLI?**

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

**Do I need an Alexandria account to use ChEMBL drug indications in Gemini CLI?**

No. Spiral runs ChEMBL drug indications on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ChEMBL drug indications in Gemini CLI?**

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

**Does Gemini CLI wait while ChEMBL drug indications runs?**

ChEMBL drug indications runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**How fresh is ChEMBL data?**

ChEMBL publishes releases approximately two to three times a year. A newly reported approval or research result may therefore be absent from the available release.

**Does ChEMBL cover every published compound?**

ChEMBL routinely extracts data from seven core journals. Its selected literature coverage should not be read as a complete inventory of every published compound.

**Does a compound's highest development phase apply to every disease?**

The molecule-level phase summarizes progress across all indications. ChEMBL separately records the maximum phase for a specified drug-disease relationship, so disease-specific comparisons need the indication record.

**Why can a drug name lead to several compound records?**

ChEMBL includes parent compounds and alternative forms such as salts, hydrates, and radioisotopes. Its molecule hierarchy links those forms to the parent compound.

**Where does ChEMBL's scientific data come from?**

Its core structure-activity relationship data is manually extracted and curated from medicinal chemistry and pharmacology publications. These are curated scientific records rather than patient medical records.

