KosmoKrator

data

ClinicalTrials.gov MCP, CLI, and Lua Integration for AI Agents

ClinicalTrials.gov integration docs for AI agents: MCP gateway setup, ClinicalTrials.gov CLI commands, Lua API reference, credentials, and function schemas.

ClinicalTrials.gov for agents

No credentials required; available in web and CLI hosts when runtime dependencies are installed.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
clinicaltrials-gov.clinicaltrials_gov_list_studies Read read 0 Search or list ClinicalTrials.gov studies with API v2 query and filter parameters.
clinicaltrials-gov.clinicaltrials_gov_fetch_study Read read 0 Fetch a single study by NCT ID.
clinicaltrials-gov.clinicaltrials_gov_metadata Read read 0 Retrieve the study data model field tree.
clinicaltrials-gov.clinicaltrials_gov_search_areas Read read 0 Retrieve search documents and search areas.
clinicaltrials-gov.clinicaltrials_gov_enums Read read 0 Retrieve enum types and values used in study records.
clinicaltrials-gov.clinicaltrials_gov_size_stats Read read 0 Retrieve study JSON size statistics.
clinicaltrials-gov.clinicaltrials_gov_field_values_stats Read read 0 Retrieve value statistics for study leaf fields.
clinicaltrials-gov.clinicaltrials_gov_field_sizes_stats Read read 0 Retrieve size statistics for list and array fields.
clinicaltrials-gov.clinicaltrials_gov_version Read read 0 Retrieve API and data version timestamps.