Skip to content

dct semantics

List what a source's MetricFlow bundle offers, so semantic SQL names only what the bundle declares.

dct semantics [OPTIONS] SOURCE

Prints each dataset (columns, calculations, relationships), each entity (key, attributes), and each constellation (roles, metrics). It reads the bundle's files and never connects to the warehouse. A source that is not declared, or declares no metricflow:, fails with ERR-METRICFLOW-NO-BUNDLE.

Arguments

Argument Description
SOURCE A source from dbt_charts.yml that declares metricflow:.

Options

Flag Description
--json Output as JSON.
--project-dir PATH Project directory for resolving relative paths.

Examples

dct semantics warehouse
dct semantics warehouse --json

The local MCP server offers the same listing as the describe_semantics tool.