clinicaltrials-database

Query and retrieve clinical trial data from ClinicalTrials.gov API v2.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/robotlearning123/claude-scientific-skills --skill clinicaltrials-database-robotlearning123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinicaltrials-database
Source: https://github.com/robotlearning123/claude-scientific-skills/tree/main/scientific-skills/clinicaltrials-database
Command: npx skills add https://github.com/robotlearning123/claude-scientific-skills --skill clinicaltrials-database-robotlearning123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Manually searching and filtering clinical trial data from ClinicalTrials.gov can be time-consuming and inefficient. This Skill simplifies the process by automating the search, retrieval, and analysis of clinical trials, saving valuable time for researchers and healthcare professionals.

Core Features & Use Cases

  • Automated Search: Quick and efficient search for clinical trials based on various criteria like condition, intervention, location, and sponsor.
  • Data Retrieval: Retrieve detailed information about specific clinical trials, including eligibility criteria, outcomes, and contacts.
  • Data Export: Export search results to CSV format for further analysis in spreadsheet software or data analysis tools.
  • Use Case: A researcher looking for Phase 3 trials testing a specific drug can use this Skill to find and analyze the relevant trials without manually searching through the database.

Quick Start

Search for clinical trials by condition, such as "breast cancer", and retrieve detailed information about each trial using the NCT ID.

Frequently Asked Questions about clinicaltrials-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve clinical trial data from ClinicalTrials.gov using API v2?

You can retrieve clinical trial data from ClinicalTrials.gov using API v2 by running Python scripts with the requests library to automate querying, filtering by condition or sponsor, and fetching comprehensive trial details.

Can I filter clinical trials by condition and sponsor when searching ClinicalTrials.gov?

Yes, you can filter clinical trials by condition, intervention, location, and sponsor when querying ClinicalTrials.gov, allowing you to narrow down search results to specific research parameters.

How do I export clinical trial search results to CSV for data analysis?

You can export clinical trial search results to CSV format after retrieving them via the API, enabling further analysis in spreadsheet software or data analytics tools.

What details can I retrieve for a specific clinical trial using its NCT ID?

Retrieving a clinical trial by its NCT ID provides comprehensive details including eligibility criteria, study outcomes, and contact information, giving a full overview of the trial.

Do I need Python and the requests library to query ClinicalTrials.gov API v2?

Yes, you need Python and the requests library installed to interact with ClinicalTrials.gov API v2, as the Skill relies on these dependencies to automate querying and data retrieval scripts.

What is the best way to automate searching for Phase 3 clinical trials testing a specific drug?

The best way to automate searching for Phase 3 clinical trials testing a specific drug is using API v2 scripts that filter by intervention and phase, retrieving detailed trial data without manual database searches.