Back to ClariTrial

ClariTrial for Excel

Windows, macOS, and Excel on the web

Pull live clinical trial, drug, and pipeline data into the models, trackers, and diligence sheets your team already uses. No copy-paste. No manual lookup. No stale tabs.

Fourteen CLARI formulas query ClinicalTrials.gov, PubMed, OpenFDA, WHO ICTRP, compare trials, explore biological targets, map competitive landscapes, pull company and emerging-intelligence summaries, and enrich your spreadsheets with structured clinical data. Open the side panel for interactive search and AI chat.

See It in Action

Watch formulas type themselves and return live results, or try the autocomplete, side panel, and ribbon yourself. All data below is fetched from real API endpoints.

Formula Typing Demo

Click Play to watch a CLARI formula type itself, execute, and return live data.

Formula in Action
ClariTrial for Excel
C3
Click Play to watch a formula execute
A
B
C
D
1
NCT ID
Trial Name
Result
Notes
2
NCT07217015
Kymera STAT6...
3
NCT07217015
4
Example 1 of 4

Formula Autocomplete

Type =CLARI. in the formula bar to see all fourteen functions with autocomplete. Pick one, add arguments, and press Enter to execute.

Formula Autocomplete
ClariTrial for Excel
Try:
B2
A
B
C
D
1
Formula
Result
Source
2
B2
click to type
3
4
Click a quick formula above, or type =CLARI. in the formula bar

Side Panel

Search a trial in the panel, then click any field to insert it into the spreadsheet. This is how the taskpane works inside Excel.

Trial Research.xlsx
ClariTrial for Excel
A
B
C
1
Field
Value
Source
2
3
4
5
6
7
8
ClariTrial

Try one

Results show status, phase, sponsor, enrollment. Click any field to insert it into the sheet.

Search a trial, click values to insert

Ribbon Tab

The add-in creates a dedicated ClariTrial tab in the Excel ribbon with one-click access to the panel, trial search, AI chat, and pipeline tools.

Pipeline Tracker.xlsx
ClariTrial for Excel
Open Panel
Clinical Intelligence
Help
A
B
C
D
1
Program
Target
Phase
Status
2
KT-621
STAT6
Phase 2b
Recruiting
3
KT-474
IRAK4
Phase 2
Active
4

Click a ribbon button above to open the ClariTrial panel

Click a ribbon tab to explore

Install ClariTrial for Excel

Downloads a manifest file (XML, ~4 KB). Open Excel, go to Insert > My Add-ins > Upload My Add-in, and select the file. Full steps below.

What Teams Build With It

Competitive Pipeline Tracker

BD, strategy, portfolio teams

Build a side-by-side view of every company in your target space. Use CLARI.LANDSCAPE to pull all programs for a target, then CLARI.DRUG to dig into specific compounds. Refresh to see movement over time.

=CLARI.LANDSCAPE("STAT6")=CLARI.DRUG("ARV-471", "phase")=CLARI.LANDSCAPE("ER", "count")=CLARI.COMPANY("Kymera", "ceo")=CLARI.PUBMED("protein degrader", "count")

Trial Enrollment Watchlist

Clinical ops, investors, analysts

Start with CLARI.SEARCH to find trials in your space, then use CLARI.TRIAL to track status, enrollment, and completion dates. Use CLARI.COMPARE to spot differences between competing trials.

=CLARI.SEARCH("atopic dermatitis phase 3")=CLARI.TRIAL("NCT07217015", "enrollment")=CLARI.COMPARE("NCT07217015", "NCT07323654")=CLARI.TIMELINE("NCT07217015", "primaryCompletion")=CLARI.SAFETY("dupilumab", "seriousRatio")

Target Biology Deep Dive

BD, investors, M&A, research teams

For due diligence on a target, pull the biological profile with CLARI.TARGET, see who else is working on it with CLARI.LANDSCAPE, and check the company's full pipeline with CLARI.PIPELINE.

=CLARI.TARGET("STAT6", "diseases")=CLARI.LANDSCAPE("STAT6", "company")=CLARI.PIPELINE("Kymera")=CLARI.REGISTRY("STAT6 degrader", "count")=CLARI.EMERGING("competition", "capabilities")

Try It Live

Pick your inputs, watch the formulas type themselves into the sheet, then click Run to execute them with live data from ClinicalTrials.gov, curated profiles, and more.

Target Comparison

Choose 2-4 biological targets, watch the formulas appear in the cells, then run them to pull full profiles side by side.

Pick targets to compare(2-3)

Competitive Landscape

Pick a target and see every company working on it, with compound, modality, phase, and indication data.

Pick a target to landscape

Data Sources and Trust

Thirteen of the fourteen formulas return structured data from APIs, registries, and curated profiles. CLARI.ASK is the exception: it uses an AI model and should be treated as a starting point, not a verified answer.

ClinicalTrials.gov

Deterministic

Data: Trial status, phase, enrollment, sponsors, dates, conditions, interventions, results availability

How: Live REST API v2 queries. Results are cached for 30 minutes. Covers 470,000+ registered studies.

Curated Company Profiles

Deterministic

Data: Pipeline programs, phases, modalities, indications, trial associations

How: Manually curated from SEC filings, investor presentations, press releases, and ClinicalTrials.gov. Updated as companies disclose new data.

TPD Competitive Landscape

Deterministic

Data: Drug/compound names, targets, mechanisms, disease areas, partnership details

How: Curated from public disclosures across targeted protein degradation companies. Cross-referenced with ClinicalTrials.gov NCT IDs where available.

AI Model (CLARI.ASK only)

AI-generated

Data: Natural language answers about clinical trials and pharma

How: Uses Anthropic Claude or OpenAI GPT. Prompted to cite NCT IDs and be concise. Not grounded in a retrieval index; answers may reflect model knowledge, not only ClariTrial data.

A note on CLARI.ASK

CLARI.ASK sends your prompt to an AI model (Anthropic Claude or OpenAI GPT). The model is instructed to cite NCT IDs and answer concisely, but it is not retrieval-augmented: answers may reflect the model's training data, not only ClariTrial's sources. Treat AI answers as a research accelerant, not as a validated output. For regulated workflows, verify AI-generated content against primary sources before use.

Side Panel

Click the ClariTrial button in the Home tab to open an interactive panel inside Excel with three tabs.

Trial Search

Look up any trial by NCT ID. View all fields. Click a value to insert it into the active cell, or insert an entire trial as a row.

AI Chat

Ask questions about trials, drugs, and pipelines. Insert answers into cells. Useful for quick research queries without leaving Excel.

Company Pipelines

Search by company name and see all pipeline programs. Insert the full pipeline as a table, or pick individual programs.

Formula Reference

All formulas use the CLARI namespace. Type =CLARI. in any cell to see available functions with autocomplete.

CLARI.TRIAL

Look up a clinical trial by NCT ID. Returns a single field from the ClinicalTrials.gov record.

Signature
=CLARI.TRIAL("NCT12345678", "status")
Fields
status, phase, title, officialTitle, sponsor, enrollment, conditions, interventions, startDate, completionDate, countries, hasResults, summary
Example
=CLARI.TRIAL("NCT07217015", "phase")
Returns
"Phase 2b"
Source
ClinicalTrials.gov API v2 (live query, cached 30 min)

CLARI.PIPELINE

Return pipeline data for a company. Use "count" for the program count, or omit the field for a full table (spills into adjacent cells).

Signature
=CLARI.PIPELINE("Kymera", "count")
Fields
count, program, target, modality, phase, status, indications
Example
=CLARI.PIPELINE("Kymera")
Returns
Table with program, target, modality, phase, status, indications
Source
Curated company profiles (sourced from SEC filings, investor decks, press releases)

CLARI.DRUG

Look up drug/molecule data from the curated competitive landscape.

Signature
=CLARI.DRUG("KT-621", "mechanism")
Fields
mechanism, target, company, phase, indication, modality, compound
Example
=CLARI.DRUG("ARV-471", "company")
Returns
"Arvinas"
Source
Curated TPD competitive landscape (ClinicalTrials.gov, SEC filings, company disclosures)

CLARI.ASK

Ask a natural language question. Returns a plain-text answer with NCT IDs where applicable. AI-generated; see trust section below.

Signature
=CLARI.ASK("What are active Phase 3 NSCLC trials?")
Fields
N/A (single prompt parameter)
Example
=CLARI.ASK("How many active trials does Kymera have?")
Returns
Plain text answer with trial references
Source
AI model (Anthropic or OpenAI); not deterministic; review before use in regulated contexts

CLARI.SEARCH

Search ClinicalTrials.gov by keyword. Returns a spill-range table of matching trials, a single column, or a count.

Signature
=CLARI.SEARCH("NSCLC pembrolizumab", "count")
Fields
count, nctId, title, status, phase, sponsor, conditions, interventions, startDate
Example
=CLARI.SEARCH("atopic dermatitis phase 3")
Returns
Table with nctId, title, status, phase, sponsor, conditions, interventions, startDate
Source
ClinicalTrials.gov API v2 (live query, up to 25 results)

CLARI.COMPARE

Compare two trials side by side. Returns a full comparison table or a single field comparison.

Signature
=CLARI.COMPARE("NCT07217015", "NCT07323654")
Fields
status, phase, title, sponsor, enrollment, conditions, interventions, startDate, completionDate, countries
Example
=CLARI.COMPARE("NCT07217015", "NCT07323654", "phase")
Returns
Comparison table: Field, Trial A, Trial B
Source
ClinicalTrials.gov API v2 (live query, cached 30 min)

CLARI.TARGET

Look up a biological target profile. Returns data for Kymera's three clinical-stage targets: STAT6, IRAK4, IRF5.

Signature
=CLARI.TARGET("STAT6", "summary")
Fields
fullName, summary, mechanism, classification, diseases, compound, phase, competitors, keyFacts, uniprotId, chemblId, pathway, degradationRationale, patientPotential
Example
=CLARI.TARGET("IRAK4", "diseases")
Returns
"Hidradenitis Suppurativa; Atopic Dermatitis; Rheumatoid Arthritis; IBD"
Source
Curated target profiles (UniProt, literature, Kymera investor materials, ClinicalTrials.gov)

CLARI.LANDSCAPE

TPD competitive landscape. Filter by biological target or return all programs across all companies. Returns a spill-range table.

Signature
=CLARI.LANDSCAPE("STAT6")
Fields
count, company, compound, target, modality, phase, indication, diseaseArea
Example
=CLARI.LANDSCAPE("ER", "company")
Returns
Column of company names with ER-targeting programs
Source
Curated TPD competitive landscape (SEC filings, company disclosures, ClinicalTrials.gov)

CLARI.PUBMED

Search PubMed for publications by disease, drug, or target. Returns title, authors, journal, and PMID.

Signature
=CLARI.PUBMED("STAT6 degrader")
Fields
count, pmid, title, authors, journal, pubDate, doi, abstract
Example
=CLARI.PUBMED("atopic dermatitis IRAK4", "title")
Returns
Table of publications or specific field column
Source
PubMed / NCBI E-utilities

CLARI.SAFETY

FDA adverse event data for any drug. Total reports, serious reports, top reactions, and serious ratio.

Signature
=CLARI.SAFETY("dupilumab")
Fields
totalReports, seriousReports, topReactions, seriousRatio
Example
=CLARI.SAFETY("tofacitinib", "seriousRatio")
Returns
Safety summary or specific metric
Source
OpenFDA Adverse Events API

CLARI.TIMELINE

Key milestone dates for a clinical trial: start, completion, first posted, last updated, results posted.

Signature
=CLARI.TIMELINE("NCT07217015")
Fields
status, phase, startDate, primaryCompletion, studyCompletion, firstPosted, lastUpdated, resultsPosted, enrollment, sponsor
Example
=CLARI.TIMELINE("NCT07217015", "primaryCompletion")
Returns
Date string or full timeline table
Source
ClinicalTrials.gov

CLARI.REGISTRY

Search 60+ international trial registries via WHO ICTRP (ChiCTR, EUCTR, JPRN, ANZCTR, and more).

Signature
=CLARI.REGISTRY("NSCLC immunotherapy")
Fields
count, trialId, title, sponsor, status, phase, countries, conditions, registry
Example
=CLARI.REGISTRY("ChiCTR-2300075821", "title")
Returns
Table of international trials or specific field column
Source
WHO ICTRP (60+ registries)

CLARI.COMPANY

Company-level metadata: HQ, CEO, therapeutic focus, technology platform, pipeline count.

Signature
=CLARI.COMPANY("Kymera")
Fields
name, ticker, hq, focus, technology, pipelineCount, website, founded, ceo
Example
=CLARI.COMPANY("Kymera", "ceo")
Returns
Company profile or specific field value
Source
Curated company profiles

CLARI.EMERGING

Emerging drug intelligence pillars: competitive landscape, success prediction, improvement opportunities, stealth programs.

Signature
=CLARI.EMERGING("competition")
Fields
title, tagline, capabilities, liveCapabilities, liveSources, questions
Example
=CLARI.EMERGING("stealth", "capabilities")
Returns
Pillar summary or specific intelligence metric
Source
ClariTrial intelligence engine

Installation Steps

Excel Desktop (Windows / macOS)

  1. 1Open Excel and go to the Insert tab in the ribbon.
  2. 2Click My Add-ins (or Office Add-ins, then My Add-ins tab).
  3. 3Click Upload My Add-in in the upper-right corner.
  4. 4Browse to the manifest file you downloaded, or paste the manifest URL.
  5. 5Click Upload. The ClariTrial button appears in the Home tab.
  6. 6Click ClariTrial Panel to open the side panel.

Excel on the Web

  1. 1Open a workbook on office.com or OneDrive.
  2. 2Go to Insert > Office Add-ins.
  3. 3In the dialog, click Upload My Add-in (upper-right, under My Add-ins tab).
  4. 4Browse to the manifest file or paste the manifest URL.
  5. 5Click Upload. The add-in loads and appears in the Home tab.

Developer Reference

For contributors and teams running ClariTrial locally.

Local Development Setup

Office.js requires HTTPS. For local development, install trusted dev certificates and edit the manifest to point to localhost.

1. Install dev certificates

npx office-addin-dev-certs install

2. Start the dev server

pnpm dev:web

3. Edit manifest.xml: replace the host (macOS)

sed -i "" "s|https://www.claritrial.com|https://localhost:3000|g" public/excel/manifest.xml

On Linux, omit the empty string after -i

sed -i "s|https://www.claritrial.com|https://localhost:3000|g" public/excel/manifest.xml

After starting the dev server, sideload the modified manifest following the install steps above. Changes to the taskpane reload automatically via Next.js HMR.

Troubleshooting

The add-in does not load or shows a blank panel.

Make sure the manifest URL is reachable. For local dev, you need HTTPS with trusted certificates. Run npx office-addin-dev-certs install and restart Excel.

Formulas return #ERROR.

Check that the server is running and the API endpoints respond. Open your browser to /api/excel/trial?nctId=NCT07217015&field=status to verify.

CORS errors in the console.

The API routes include permissive CORS headers. If you see CORS errors, make sure you are loading the add-in from the same origin as the API.

CLARI.ASK returns 503.

The AI provider is not configured on the server. Set ANTHROPIC_API_KEY or OPENAI_API_KEY in your environment.

Custom functions do not appear.

Custom functions require Excel 2021 or later (or Excel on the web). Ensure the manifest includes the CustomFunctions extension point and functions.json is served correctly.

API Endpoints

All formula and panel features are backed by these routes.

GET/api/excel/trial?nctId=...&field=...ClinicalTrials.gov v2
GET/api/excel/pipeline?company=...&field=...Curated profiles
GET/api/excel/drug?name=...&field=...TPD landscape
POST/api/excel/askAI model
GET/api/excel/search?q=...&field=...ClinicalTrials.gov v2
GET/api/excel/compare?a=...&b=...&field=...ClinicalTrials.gov v2
GET/api/excel/target?gene=...&field=...Curated profiles
GET/api/excel/landscape?target=...&field=...TPD landscape
GET/api/excel/pubmed?q=...&field=...PubMed / NCBI
GET/api/excel/safety?drug=...&field=...OpenFDA adverse events
GET/api/excel/timeline?nctId=...&field=...ClinicalTrials.gov v2
GET/api/excel/registry?q=...&field=...WHO ICTRP
GET/api/excel/company?name=...&field=...Curated profiles
GET/api/excel/emerging?pillar=...&field=...Emerging drug intel

All routes return { value } on success and { error } on failure. CORS is open for all origins. No auth required in the current version.

Build Your Own Add-in

Need formulas specific to your internal data, proprietary APIs, or team workflows? Code Studio can generate a complete Excel add-in project, including the Office manifest, task pane UI, and custom function definitions.

  • Office.js manifest and task pane scaffold
  • Custom function definitions with typed parameters
  • Vitest test harness and Webpack build config
  • Connect to any REST API, database, or internal service
Open Code Studio