[Integrations](https://spiral.ai/integrations) › [Hermes](https://spiral.ai/integrations/hermes) › [ClinicalTrials.gov study details](https://spiral.ai/integrations/hermes/clinicaltrials-gov-study-details)

# How to Use ClinicalTrials.gov study details in Hermes

Returns an individual study record with protocol information, eligibility, locations, and posted results when requested and available. Use it to examine the design and evidence behind a trial found through search.

|  |  |
| --- | --- |
| Model | ClinicalTrials.gov study details |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ClinicalTrials.gov study details in Hermes

- Every Friday, use ClinicalTrials.gov study details for NCT05159778 and report changes to eligibility, outcomes, or posted results since the previous check.
- Every Monday at 9am: use ClinicalTrials.gov study details to look this up and give me the result as a table.
- Pull the latest numbers from ClinicalTrials.gov study details and tell me what changed since last week.
- Check ClinicalTrials.gov study details and summarize what you find in three bullet points.
- Pull the newest data from ClinicalTrials.gov study details and give me the result as a table.

## How to set up ClinicalTrials.gov study details in Hermes

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Hermes 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 Spiral's MCP server

1. **Add the server and sign in**: Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

```bash
hermes mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --auth oauth \
  --connect-timeout 300
```

2. **Check it**: In a chat that was already open, run `/reload-mcp`.

```bash
hermes mcp list
hermes mcp test spiral
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ClinicalTrials.gov study details**: One request; the result comes back by polling or a webhook.

```bash
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": "clinicaltrials-gov/clinical-trials/study",
    "input": {
      "nct_id": "<nct_id>"
    }
  }'
```

Then paste one of the prompts above: Hermes finds ClinicalTrials.gov study details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/hermes

## ClinicalTrials.gov study details tools and prices

- [ClinicalTrials.gov · Study](https://spiral.ai/tools/alexandria/clinicaltrials-gov/clinical-trials/study) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A clinicaltrials.gov/study/NCT... or classic ct2/show/NCT... URL. Mutually exclusive with nct_id. Pattern: ^https?://. |
| fields |  | — | Field pieces to return (names from /api/v2/studies/metadata, e.g. StatusModule, IdentificationModule, EligibilityModule, ResultsSection). Default: every section except results. |
| nct_id |  | — | NCT number, e.g. NCT05159778. Mutually exclusive with url. Pattern: ^[Nn][Cc][Tt][0-9]{8}$. |
| include_results |  | — | Include resultsSection (posted results; can be megabytes) when fields is not given. |

## What can you do with ClinicalTrials.gov study details in Hermes?

Maintain a recurring ClinicalTrials.gov research digest that highlights changes in the returned registry data. Compare each retrieval with the previous one to report changes in terminology, counts, or study information.

### Build a public trial explorer

Provide registry autocomplete, explain phase and status categories with registry-wide counts, display matching trials, open their protocols, and compare milestones with actual or estimated labels.

### Compare a disease portfolio with registry activity

Resolve the registry's condition wording, collect matching trials, and summarize their phases, designs, and milestones. Present registry-wide phase and status counts separately as context for the selected disease portfolio.

### Prepare a sponsor pipeline brief

Find a company's registered sponsor name, discover its studies, examine trial designs, and assemble a milestone table. Keep projected completion dates visibly separate from reported actual dates.

### Teach clinical registry analysis

Build an exercise around registry terminology, overall phase and status distributions, a reproducible trial search, protocol interpretation, and the difference between actual and estimated milestones.

### Screen studies for a systematic review

Resolve condition and intervention terminology, collect candidate NCT records, inspect eligibility and outcomes, and check study status and completion dates before deciding which records warrant review.

### Maintain a trial milestone watchlist

Discover relevant studies, compare their current milestones with previously collected values, and inspect the full record when a status or date changes. Report changes as registry updates.

### Assess competing trial activity near a site

Resolve a hospital's registered facility name, find studies around Boston or another proposed location, and inspect eligibility and study timelines to assess overlap in recruitment.

### Create a registry terminology reference

Combine phase and status counts with condition, intervention, sponsor, and facility suggestions. Link terminology explanations to example trial records so analysts can see how the terms appear in practice.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Hermes guides](https://spiral.ai/integrations/hermes)

## ClinicalTrials.gov study details in other agents

- [Amp](https://spiral.ai/integrations/amp/clinicaltrials-gov-study-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/clinicaltrials-gov-study-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/clinicaltrials-gov-study-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/clinicaltrials-gov-study-details)
- [Cline](https://spiral.ai/integrations/cline/clinicaltrials-gov-study-details)
- [Codex](https://spiral.ai/integrations/codex/clinicaltrials-gov-study-details)
- [Cursor](https://spiral.ai/integrations/cursor/clinicaltrials-gov-study-details)
- [Devin](https://spiral.ai/integrations/devin/clinicaltrials-gov-study-details)
- [dots](https://spiral.ai/integrations/dots/clinicaltrials-gov-study-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/clinicaltrials-gov-study-details)
- [Gemini](https://spiral.ai/integrations/gemini/clinicaltrials-gov-study-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/clinicaltrials-gov-study-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/clinicaltrials-gov-study-details)
- [goose](https://spiral.ai/integrations/goose/clinicaltrials-gov-study-details)
- [Grok](https://spiral.ai/integrations/grok/clinicaltrials-gov-study-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/clinicaltrials-gov-study-details)
- [Instinct](https://spiral.ai/integrations/instinct/clinicaltrials-gov-study-details)
- [Manus](https://spiral.ai/integrations/manus/clinicaltrials-gov-study-details)
- [Muse](https://spiral.ai/integrations/muse/clinicaltrials-gov-study-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/clinicaltrials-gov-study-details)
- [n8n](https://spiral.ai/integrations/n8n/clinicaltrials-gov-study-details)
- [Notion](https://spiral.ai/integrations/notion/clinicaltrials-gov-study-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/clinicaltrials-gov-study-details)
- [opencode](https://spiral.ai/integrations/opencode/clinicaltrials-gov-study-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/clinicaltrials-gov-study-details)
- [Raycast](https://spiral.ai/integrations/raycast/clinicaltrials-gov-study-details)
- [VS Code](https://spiral.ai/integrations/vscode/clinicaltrials-gov-study-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/clinicaltrials-gov-study-details)
- [Zapier](https://spiral.ai/integrations/zapier/clinicaltrials-gov-study-details)

## More Hermes guides

- [ClinicalTrials.gov study dates](https://spiral.ai/integrations/hermes/clinicaltrials-gov-study-dates)
- [ClinicalTrials.gov trial search](https://spiral.ai/integrations/hermes/clinicaltrials-gov-trial-search)
- [ClinicalTrials.gov search suggestions](https://spiral.ai/integrations/hermes/clinicaltrials-gov-search-suggestions)
- [EMA medicine details](https://spiral.ai/integrations/hermes/ema-medicine-details)
- [ClinicalTrials.gov field statistics](https://spiral.ai/integrations/hermes/clinicaltrials-gov-field-statistics)
- [EMA medicine documents](https://spiral.ai/integrations/hermes/ema-medicine-documents)

## Questions about ClinicalTrials.gov study details in Hermes

**Can Hermes use ClinicalTrials.gov study details?**

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run ClinicalTrials.gov study details like any built-in tool.

**How much does ClinicalTrials.gov study details cost in Hermes?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

**Do I need an Alexandria account to use ClinicalTrials.gov study details in Hermes?**

No. Spiral runs ClinicalTrials.gov study details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ClinicalTrials.gov study details in Hermes?**

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

**Does Hermes wait while ClinicalTrials.gov study details runs?**

ClinicalTrials.gov study details runs in the background. Hermes starts the run, checks on it and gives you the json when it's ready.

**Does ClinicalTrials.gov cover every clinical study?**

It includes studies in the United States and many other countries, but coverage is incomplete. Not every study is legally required to register, including some observational studies.

**How current is a study's information?**

Updates depend on submissions from the organizations conducting the studies. For applicable trials covered by the final rule, recruitment-status changes must be submitted within 30 calendar days, so the registry is not a live enrollment feed.

**What does an unknown study status mean?**

ClinicalTrials.gov uses unknown status when certain previously ongoing studies have passed their completion date and their status has not been verified within the past two years. It does not establish that the study is still recruiting.

**Are individual participants' results available?**

ClinicalTrials.gov provides summary-level study results rather than raw data or individual participant-level data. Posted results can include participant flow, baseline characteristics, outcome measures, and adverse events.

**Are completion dates confirmed milestones?**

Only dates labeled actual represent reported events. Estimated completion dates are researchers' projections; primary completion concerns collection of primary-outcome data and can differ from overall study completion.

