How to Use ChEMBL molecule search in Muse Code
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 Muse Code
Copy an example into Muse Code, 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.
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 Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code 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: Muse Code 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 Muse Code 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 Muse Code?
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.
More on ChEMBL molecule search and Muse Code
Overview
ChEMBL molecule search in other agents
Questions about ChEMBL molecule search in Muse Code
Can Muse Code use ChEMBL molecule search?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run ChEMBL molecule search like any built-in tool.
How much does ChEMBL molecule search cost in Muse Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need an Alexandria account to use ChEMBL molecule search in Muse Code?
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 Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while ChEMBL molecule search runs?
ChEMBL molecule search runs in the background. Muse Code 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 Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


