UQL is a clinical-research query language that compiles to federated execution, returns aggregate-only results, and leaves a replayable artefact behind. Write the cohort once. Run it everywhere your data lives.
UQL looks like the protocol, not like SQL. Cohort, exclusions, outcome, comparator, federation, return shape — expressed once, versioned, replayable.
UQL exposes its grammar, concept catalogue, and federation topology through an MCP server. An LLM can reason about cohorts without inventing schema — and every generated query lands as a versioned, replayable artefact.