How to Use CTIS clinical trial search in opencode
Find trial summaries from EMA’s EU Clinical Trials Information System, including sponsors, medicines, phases, dates, and country statuses. Use it to build a shortlist before reading a full trial record.
Prompts to try with CTIS clinical trial search in opencode
Copy an example into opencode, or ask in your own words.
Use CTIS clinical trial search to find semaglutide trials and add a table to this project with trial number, title, sponsor, phase, and country statuses.
Use CTIS clinical trial search to find Novo Nordisk trials and write a CSV in this project with sponsors, medicines, phases, and planned EEA enrollment.
Use CTIS clinical trial search to find pembrolizumab trials and build a project report comparing conditions, sponsors, phases, and results availability.
Use CTIS clinical trial search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from CTIS clinical trial search and tell me what changed since last week.
How to set up CTIS clinical trial search in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 CTIS clinical trial 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": "euclinicaltrials-eu/clinical-trials/search", "input": { "sort": "newest_decision" } }'
Then paste one of the prompts above: opencode finds CTIS clinical trial search on Spiral, shows the price and runs it.
CTIS clinical trial search providers and prices
Spiral runs CTIS clinical trial search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | newest_decision or oldest_decision | newest_decision | Order by authorisation decision date. CTIS serves the first 10,000 trials of either order. |
| Page size | 1 to 50 | 10 | Trials per page. |
| Has results | on or off | true keeps trials with results submitted to CTIS, false keeps the rest. | |
| Rare disease | on or off | true keeps trials on a rare disease, false keeps the rest. | |
| Orphan designation | on or off | true keeps trials of a product with an EU orphan designation. |
Every API field of EU Clinical Trials (CTIS) · Search is on its tool page: open its card above.
What can you do with CTIS clinical trial search in opencode?
Build a trial comparison table with EU trial numbers, medicines, phases, and country statuses. Use CTIS records to add eligibility and endpoints to your project’s research views.
Map a medicine’s European trial program
Find semaglutide trials, compare sponsors and phases, then examine the eligibility and endpoints of selected studies.
Build a recruitment research brief
Find recruiting melanoma trials, then review country statuses, sites, and participation criteria for an institutional research brief.
Compare sponsor activity
Identify Novo Nordisk’s registered trials and compare their medicines, phases, countries, and study designs.
Follow country recruitment changes
Find relevant obesity trials and compare successive country statuses and site information to report changes observed between checks.
Check public results availability
Identify ended trials for a medicine and examine their public results information to prepare a list for evidence review.
Prepare an oncology trial comparison
Find pembrolizumab trials and compare their conditions, eligibility requirements, endpoints, and participating countries.
More on CTIS clinical trial search and opencode
Overview
CTIS clinical trial search in other agents
Questions about CTIS clinical trial search in opencode
Can opencode use CTIS clinical trial search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CTIS clinical trial search like any built-in tool.
How much does CTIS clinical trial search cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use CTIS clinical trial search in opencode?
No. Spiral runs CTIS clinical trial 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 CTIS clinical trial search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while CTIS clinical trial search runs?
CTIS clinical trial search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does CTIS include observational studies and medical device trials?
No. Its scope is trials of investigational medicinal products; observational trials and studies of medical devices are excluded.
Does CTIS include trials that started before 2022?
It includes older trials transferred into the current regulatory framework. From January 31, 2025, all ongoing EU trials should have been submitted to CTIS, so its coverage is not limited to newly started trials.
How quickly do recruitment updates appear?
Updates to trial and recruitment period notifications appear on the public website within 24 hours after submission. That window starts with the sponsor’s submission, so it does not guarantee that recruitment information reflects an event immediately.
Do the dates describe the entire worldwide trial?
CTIS search dates and locations refer to the EEA. A trial conducted outside the EEA can have different start dates, end dates, and locations there.
Are participant counts actual enrollment?
Counts labeled as planned enrollment are the expected number of participants. They should not be presented as the number already recruited.
Start using CTIS clinical trial search in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


