How to Use ChEMBL molecule search in Grok
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 Grok
Copy an example into Grok, or ask in your own words.
Use ChEMBL molecule search to find imatinib and explain which returned names refer to the parent compound or a salt.
Use ChEMBL molecule search for metformin and show the candidate compound names and ChEMBL identifiers in a short comparison table.
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 Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Grok 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.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 50 | 10 | limit |
| Min phase | 0.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 Grok?
Turn a named drug into a readable compound and indication brief. A chat app can explain ChEMBL's returned records and distinguish chemical identity from development progress for a particular disease.
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.
More on ChEMBL molecule search and Grok
Overview
ChEMBL molecule search in other agents
Questions about ChEMBL molecule search in Grok
Can Grok use ChEMBL molecule search?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run ChEMBL molecule search like any built-in tool.
How much does ChEMBL molecule search cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use ChEMBL molecule search in Grok?
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 Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while ChEMBL molecule search runs?
ChEMBL molecule search runs in the background. Grok 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.
Start using ChEMBL molecule search in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


