[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [ChEMBL molecule search](https://spiral.ai/integrations/n8n/chembl-molecule-search)

# How to Use ChEMBL molecule search in n8n

Returns compound matches and their ChEMBL identifiers for a name search. Use it to resolve a drug name into candidate records before choosing the compound whose details or indications you need.

|  |  |
| --- | --- |
| Model | ChEMBL molecule search |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with ChEMBL molecule search in n8n

- Every three months, use ChEMBL molecule search for imatinib and report changes in the returned candidate names and ChEMBL identifiers compared with the previous check.
- Every three months, use ChEMBL molecule search for metformin and flag changes in the candidate records that need compound identity review.
- Every Monday at 9am: use ChEMBL molecule search to look this up and give me the result as a table.
- Pull the latest numbers from ChEMBL molecule search and tell me what changed since last week.
- Check ChEMBL molecule search and summarize what you find in three bullet points.

## How to set up ChEMBL molecule search in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run ChEMBL molecule search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds ChEMBL molecule search, prices it and runs it each time the step fires.

### 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 molecule search**: 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/search_molecules",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: n8n finds ChEMBL molecule search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## ChEMBL molecule search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 50 | 10 | 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 molecules whose max_phase is at least this: 4 approved, 3/2/1 clinical, 0.5 early phase 1. |

## What can you do with ChEMBL molecule search in n8n?

Produce a review of changes in ChEMBL records for a fixed drug shortlist after database updates. A scheduled agent can compare returned compound matches, molecular descriptions, or disease indications with its previous results.

### Prepare a compound research brief

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

### Resolve drug names in a research table

Match names such as aspirin and metformin to candidate ChEMBL records, then check synonyms and structures before assigning identifiers.

### 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 n8n guides](https://spiral.ai/integrations/n8n)

## ChEMBL molecule search in other agents

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

## More n8n guides

- [ChEMBL molecule details](https://spiral.ai/integrations/n8n/chembl-molecule-details)
- [ChEMBL target details](https://spiral.ai/integrations/n8n/chembl-target-details)
- [ChEMBL drug indications](https://spiral.ai/integrations/n8n/chembl-drug-indications)
- [ChEMBL target search](https://spiral.ai/integrations/n8n/chembl-target-search)
- [ChEMBL compound and target activities](https://spiral.ai/integrations/n8n/chembl-compound-and-target-activities)
- [ClinVar genetic change details](https://spiral.ai/integrations/n8n/clinvar-genetic-change-details)

## Questions about ChEMBL molecule search in n8n

**Can n8n use ChEMBL molecule search?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run ChEMBL molecule search like any built-in tool.

**How much does ChEMBL molecule search cost in n8n?**

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

**Do I need an Alexandria account to use ChEMBL molecule search in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs ChEMBL molecule search on its own Alexandria account.

**How long does it take to set up ChEMBL molecule search in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while ChEMBL molecule search runs?**

ChEMBL molecule search runs in the background. n8n 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.

