Skip to content
google-deepmind avatar

Clinical Trials Database

Query ClinicalTrials.gov through its APIv2 wrapper, filtering by condition, drug, status, phase, and sponsor.

CCM score
71 of 100
skills.sh installs
2.6K
GitHub stars
3.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers searching by condition, intervention, status, phase, age group, study type, and sponsor, plus retrieval by NCT ID
  • Includes scripts/clinical_trials_api.py with search and get-study commands, and --fields, --count-total, and --page-token for paging
  • Enforces the --fields restriction and a count check before large fetches, and requires a one-time terms notice saved to .licenses/
  • Designed for researchers and patient-matching workflows that need recruiting trial lists and eligibility criteria

Install

$ npx -y skills add google-deepmind/science-skills --skill clinical-trials-database -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Clinical Trials Database

Prerequisites

  1. uv: Read the uv skill and follow its Setup instructions to ensure uv is installed and on PATH.
  2. User Notification: If .licenses/clinical_trials_database_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://clinicaltrials.gov/, then (2) create the file recording the notification text and timestamp.

Overview

Access worldwide clinical trial data from ClinicalTrials.gov via the REST API v2. The CLI script at scripts/clinical_trials_api.py wraps the API with dedicated flags for common filters (phase, age group, status, intervention, sponsor, etc.) so you rarely need to construct raw queries.

Core Rules

Details

Repository
github.com/google-deepmind/science-skills
Categories
Research & Academic, Data Science & Analytics
First seen
Jul 14, 2026

Questions

What does the clinical-trials-database skill do?

It queries ClinicalTrials.gov through its APIv2 so an agent can search trials by condition, drug, location, status, or phase, and retrieve trial details by NCT ID. It can also check eligibility criteria, count trials across conditions or time periods, and find recruiting trials for patient matching.

How do I install the clinical-trials-database skill?

Run npx -y skills add google-deepmind/science-skills --skill clinical-trials-database -y in your project. Once installed, the agent can query ClinicalTrials.gov for trials, sponsor portfolios, and eligibility details.

Where does clinical-trials-database stand in the Research & Academic category?

It is listed in the Research & Academic category alongside skills such as research, paper-context-resolver, and repo-intake-and-plan. Its focus is narrower than those, covering clinical trial lookup and patient-matching searches on ClinicalTrials.gov.

What does the skill need before it runs?

It needs uv installed and on PATH, which the skill's setup instructions cover. It also asks the user to check the ClinicalTrials.gov terms and records that notice in a license file in the workspace.

More from google-deepmind/science-skills

All 36

Similar to Clinical Trials Database

More Research & Academic