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

Gemini CLI · Health

How to Use ChEMBL molecule search in Gemini CLI

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.

Prompts to try with ChEMBL molecule search in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

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.

ChEMBL molecule searchGemini CLI
Try asking
  • 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 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:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    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.

    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.

    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: Gemini CLI finds ChEMBL molecule search on Spiral, shows the price and runs it.

ChEMBL molecule search providers and prices

Spiral runs ChEMBL molecule search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
ChEMBL · Search molecules
ebi-ac-uk/molecules/search_molecules

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 5010

limit

Min phase0.5, 1, 2, 3, or 4

Only molecules whose max_phase is at least this: 4 approved, 3/2/1 clinical, 0.5 early phase 1.

Every API field of ChEMBL · Search molecules is on its tool page: open its card above.

What can you do with ChEMBL molecule search 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.

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.

Questions about ChEMBL molecule search in Gemini CLI

Can Gemini CLI use ChEMBL molecule search?

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

How much does ChEMBL molecule search 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 molecule search in Gemini CLI?

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 Gemini CLI?

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

Does Gemini CLI wait while ChEMBL molecule search runs?

ChEMBL molecule search 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.

Get started

Start using ChEMBL molecule search in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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