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

# How to Use ChEMBL molecule search in Windsurf

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, no API key |

## Prompts to try with ChEMBL molecule search in Windsurf

- Use ChEMBL molecule search to find aspirin, metformin, and imatinib, then add the candidate names and ChEMBL identifiers to a review table in this project.
- Use ChEMBL molecule search for imatinib mesylate and generate a review report showing the candidate records before changing any identifiers in the project's compound table.
- Use ChEMBL molecule search to look this up and give me the result as a table. Save the result in ./assets.
- 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 Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 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: Windsurf finds ChEMBL molecule search on Spiral, shows the price and runs it.

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

## 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 Windsurf?

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.

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

## 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)
- [n8n](https://spiral.ai/integrations/n8n/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)
- [Zapier](https://spiral.ai/integrations/zapier/chembl-molecule-search)

## More Windsurf guides

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

## Questions about ChEMBL molecule search in Windsurf

**Can Windsurf use ChEMBL molecule search?**

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

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

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

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

No. Spiral runs ChEMBL molecule search 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 molecule search in Windsurf?**

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

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

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

