프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Dbt

제작자: us-all버전 1.0.7i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.us-all/dbt

설치

개요

제작자가 쓴 설명(영어 원문)

dbt MCP — manifest/run_results/sources/catalog parsing + DQ result tables (BigQuery/Postgres)

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 데이터베이스 및 데이터셋
  • 입력해야 할 값: DBT_PROJECT_DIR, PG_CONNECTION_STRING

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: DBT_PROJECT_DIR, DBT_TARGET_DIR, DBT_RUN_HISTORY_DIR, DQ_BACKEND, DQ_RESULTS_TABLE, DQ_SCORE_TABLE, GOOGLE_APPLICATION_CREDENTIALS, BQ_PROJECT_ID, PG_CONNECTION_STRING, DBT_ALLOW_WRITE, DQ_SCHEMA, DQ_COL_RUN_AT, DQ_COL_CHECK_TYPE, DQ_COL_STATUS, DQ_COL_DATASET, DQ_COL_TABLE_NAME, DQ_COL_SEVERITY, DQ_COL_FAILURE_COUNT, DQ_COL_MESSAGE, DQ_COL_CHECK_NAME, DQ_COL_SCORE_DATE, DQ_COL_SCOPE, DQ_COL_TIER, DQ_TIER1_TARGET_PCT, DBT_SLA_CONFIG_PATH, DBT_TOOLS, DBT_DISABLE

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

  • npmNode.js 설치(npx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "dbt": {
      "command": "npx",
      "args": [
        "-y",
        "@us-all/dbt-mcp"
      ],
      "env": {
        "DBT_PROJECT_DIR": "your-value",
        "DBT_TARGET_DIR": "your-value",
        "DBT_RUN_HISTORY_DIR": "your-value",
        "DQ_BACKEND": "your-value",
        "DQ_RESULTS_TABLE": "your-value",
        "DQ_SCORE_TABLE": "your-value",
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value",
        "BQ_PROJECT_ID": "your-value",
        "PG_CONNECTION_STRING": "your-value",
        "DBT_ALLOW_WRITE": "your-value",
        "DQ_SCHEMA": "your-value",
        "DQ_COL_RUN_AT": "your-value",
        "DQ_COL_CHECK_TYPE": "your-value",
        "DQ_COL_STATUS": "your-value",
        "DQ_COL_DATASET": "your-value",
        "DQ_COL_TABLE_NAME": "your-value",
        "DQ_COL_SEVERITY": "your-value",
        "DQ_COL_FAILURE_COUNT": "your-value",
        "DQ_COL_MESSAGE": "your-value",
        "DQ_COL_CHECK_NAME": "your-value",
        "DQ_COL_SCORE_DATE": "your-value",
        "DQ_COL_SCOPE": "your-value",
        "DQ_COL_TIER": "your-value",
        "DQ_TIER1_TARGET_PCT": "your-value",
        "DBT_SLA_CONFIG_PATH": "your-value",
        "DBT_TOOLS": "your-value",
        "DBT_DISABLE": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add dbt --env DBT_PROJECT_DIR=your-value --env DBT_TARGET_DIR=your-value --env DBT_RUN_HISTORY_DIR=your-value --env DQ_BACKEND=your-value --env DQ_RESULTS_TABLE=your-value --env DQ_SCORE_TABLE=your-value --env GOOGLE_APPLICATION_CREDENTIALS=your-value --env BQ_PROJECT_ID=your-value --env PG_CONNECTION_STRING=your-value --env DBT_ALLOW_WRITE=your-value --env DQ_SCHEMA=your-value --env DQ_COL_RUN_AT=your-value --env DQ_COL_CHECK_TYPE=your-value --env DQ_COL_STATUS=your-value --env DQ_COL_DATASET=your-value --env DQ_COL_TABLE_NAME=your-value --env DQ_COL_SEVERITY=your-value --env DQ_COL_FAILURE_COUNT=your-value --env DQ_COL_MESSAGE=your-value --env DQ_COL_CHECK_NAME=your-value --env DQ_COL_SCORE_DATE=your-value --env DQ_COL_SCOPE=your-value --env DQ_COL_TIER=your-value --env DQ_TIER1_TARGET_PCT=your-value --env DBT_SLA_CONFIG_PATH=your-value --env DBT_TOOLS=your-value --env DBT_DISABLE=your-value -- npx -y @us-all/dbt-mcp

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "dbt": {
      "command": "npx",
      "args": [
        "-y",
        "@us-all/dbt-mcp"
      ],
      "env": {
        "DBT_PROJECT_DIR": "your-value",
        "DBT_TARGET_DIR": "your-value",
        "DBT_RUN_HISTORY_DIR": "your-value",
        "DQ_BACKEND": "your-value",
        "DQ_RESULTS_TABLE": "your-value",
        "DQ_SCORE_TABLE": "your-value",
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value",
        "BQ_PROJECT_ID": "your-value",
        "PG_CONNECTION_STRING": "your-value",
        "DBT_ALLOW_WRITE": "your-value",
        "DQ_SCHEMA": "your-value",
        "DQ_COL_RUN_AT": "your-value",
        "DQ_COL_CHECK_TYPE": "your-value",
        "DQ_COL_STATUS": "your-value",
        "DQ_COL_DATASET": "your-value",
        "DQ_COL_TABLE_NAME": "your-value",
        "DQ_COL_SEVERITY": "your-value",
        "DQ_COL_FAILURE_COUNT": "your-value",
        "DQ_COL_MESSAGE": "your-value",
        "DQ_COL_CHECK_NAME": "your-value",
        "DQ_COL_SCORE_DATE": "your-value",
        "DQ_COL_SCOPE": "your-value",
        "DQ_COL_TIER": "your-value",
        "DQ_TIER1_TARGET_PCT": "your-value",
        "DBT_SLA_CONFIG_PATH": "your-value",
        "DBT_TOOLS": "your-value",
        "DBT_DISABLE": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "dbt": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@us-all/dbt-mcp"
      ],
      "env": {
        "DBT_PROJECT_DIR": "your-value",
        "DBT_TARGET_DIR": "your-value",
        "DBT_RUN_HISTORY_DIR": "your-value",
        "DQ_BACKEND": "your-value",
        "DQ_RESULTS_TABLE": "your-value",
        "DQ_SCORE_TABLE": "your-value",
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value",
        "BQ_PROJECT_ID": "your-value",
        "PG_CONNECTION_STRING": "your-value",
        "DBT_ALLOW_WRITE": "your-value",
        "DQ_SCHEMA": "your-value",
        "DQ_COL_RUN_AT": "your-value",
        "DQ_COL_CHECK_TYPE": "your-value",
        "DQ_COL_STATUS": "your-value",
        "DQ_COL_DATASET": "your-value",
        "DQ_COL_TABLE_NAME": "your-value",
        "DQ_COL_SEVERITY": "your-value",
        "DQ_COL_FAILURE_COUNT": "your-value",
        "DQ_COL_MESSAGE": "your-value",
        "DQ_COL_CHECK_NAME": "your-value",
        "DQ_COL_SCORE_DATE": "your-value",
        "DQ_COL_SCOPE": "your-value",
        "DQ_COL_TIER": "your-value",
        "DQ_TIER1_TARGET_PCT": "your-value",
        "DBT_SLA_CONFIG_PATH": "your-value",
        "DBT_TOOLS": "your-value",
        "DBT_DISABLE": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • DBT_PROJECT_DIR 필수 env
    Path to dbt project root (where dbt_project.yml lives).
  • DBT_TARGET_DIR env
    dbt target dir for manifest.json/run_results.json (default: $DBT_PROJECT_DIR/target).
  • DBT_RUN_HISTORY_DIR env
    Optional dir for archived run_results.json history (glob-scanned).
  • DQ_BACKEND env
    DQ result table backend: 'bigquery' (default) or 'postgres'.
  • DQ_RESULTS_TABLE env
    Fully qualified DQ checks table, e.g. 'project.data_ops.quality_checks'.
  • DQ_SCORE_TABLE env
    Fully qualified DQ score-daily table, e.g. 'project.data_ops.quality_score_daily'.
  • GOOGLE_APPLICATION_CREDENTIALS env
    Service account key path for BigQuery (ADC fallback supported).
  • BQ_PROJECT_ID env
    Explicit BigQuery project ID for DQ queries.
  • PG_CONNECTION_STRING 비밀 env
    Postgres connection string when DQ_BACKEND=postgres.
  • DBT_ALLOW_WRITE env
    Reserved for future write tools. Default read-only.
  • DQ_SCHEMA env
    DQ result-table schema preset: 'generic' (default) or 'us-all'. Use DQ_COL_* env vars to override individual columns on top of the preset.
  • DQ_COL_RUN_AT env
    Override for the timestamp/date column on the DQ checks table. Default depends on DQ_SCHEMA preset.
  • DQ_COL_CHECK_TYPE env
    Override for the check-type column on the DQ checks table. Default 'check_type'.
  • DQ_COL_STATUS env
    Override for the status column on the DQ checks table. Default 'status'.
  • DQ_COL_DATASET env
    Override for the dataset/source column on the DQ checks table. Default depends on preset.
  • DQ_COL_TABLE_NAME env
    Override for the table/target-name column on the DQ checks table. Default depends on preset.
  • DQ_COL_SEVERITY env
    Override for the severity/dimension column on the DQ checks table. Default depends on preset.
  • DQ_COL_FAILURE_COUNT env
    Override for the numeric failure-count column on the DQ checks table. Default depends on preset.
  • DQ_COL_MESSAGE env
    Override for the message column on the DQ checks table. Default depends on preset.
  • DQ_COL_CHECK_NAME env
    Override for the check_name column on the DQ checks table. Set to 'none'/'null'/'-' to synthesize check_name from check_type and table_name.
  • DQ_COL_SCORE_DATE env
    Override for the date column on the DQ score-daily table. Default depends on preset.
  • DQ_COL_SCOPE env
    Override for the scope column on the DQ score-daily table. Set to 'none'/'null'/'-' if the table has no per-scope rollup.
  • DQ_COL_TIER env
    Override for the tier column on the DQ score-daily table. Set to 'none'/'null'/'-' if the table has no tier dimension.
  • DQ_TIER1_TARGET_PCT env
    When no tier column is configured (us-all preset or DQ_COL_TIER=none), the overall_score threshold dq-tier-status compares against (default 99.5). Superseded by DBT_SLA_CONFIG_PATH tier_sla.1 if both…
  • DBT_SLA_CONFIG_PATH env
    Optional path to a YAML file that defines tier_sla (per-tier overall_score targets) and dbt_sla (test/freshness pass rates). When set, dq-tier-status and dq-tier-by-source read tier targets from this…
  • DBT_TOOLS env
    Comma-separated category allowlist (dbt,quality,meta).
  • DBT_DISABLE env
    Comma-separated category disablelist.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 us-all 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

데이터베이스 및 데이터셋 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 953개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 953개 중 16%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 953개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Dbt, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: DBT_PROJECT_DIR, PG_CONNECTION_STRING

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.0.7)은 5개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Supabase

제작자: supabase

MCP server for interacting with the Supabase platform

컴퓨터 또는 클라우드★ 2,993Apache-2.0어제 업데이트
설치

MongoDB MCP Server

제작자: mongodb-js

MongoDB Model Context Protocol Server

내 컴퓨터에서 실행★ 1,157Apache-2.0그저께 업데이트
설치

Elasticsearch MCP Server

제작자: cr7258

MCP server for interacting with Elasticsearch

내 컴퓨터에서 실행★ 315Apache-2.014개월 전 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

@us-all/dbt-mcp

dbt MCP server — manifest.json, run_results.json, sources.json, catalog.json, plus DQ result tables (BigQuery / Postgres) behind one stdio MCP. Built on @us-all/mcp-toolkit.

A read-only window into your dbt project for LLM clients. No dbt run triggering — just deep introspection, run-history analysis, source freshness, per-column test coverage, lineage walks, and (if you have a custom DQ result table) historical check trends and Tier SLA status.

For DAG triggering / run history / log tails, install the companion [@us-all/airflow-mcp](https://www.npmjs.com/package/@us-all/airflow-mcp) alongside.

  • 27 tools across 3 categories (dbt, quality, meta) — 21 primitive tools + 5 aggregations + 1 meta
  • 4 MCP Prompts for triage workflows
  • 5 aggregation tools that replace 3-5 round-trips of "list / get / list"
  • extractFields response projection on high-volume reads
  • Read-only by default
  • Hybrid backend: BigQuery (default) or Postgres for DQ result tables — both peer-imported lazily

Install

# 1. add the MCP server

pnpm add -D @us-all/dbt-mcp

2. add the DQ backend you actually use (only if you query custom DQ tables):

pnpm add -D @google-cloud/bigquery # OR pnpm add -D pg

Run

DBT_PROJECT_DIR=/path/to/dbt-project \

DQ_RESULTS_TABLE=my-project.data_ops.quality_checks \ npx @us-all/dbt-mcp

The server speaks MCP stdio; wire it into Claude Desktop / Cursor / any MCP client. Set MCP_TRANSPORT=http to opt in to Streamable HTTP transport (Bearer auth, /health endpoint).

Categories

CategoryToolsPurpose
dbt15 + 3 aggregationsParse manifest.json / run_results.json / sources.json / catalog.json
quality6 + 2 aggregationsQuery quality_checks and quality_score_daily (BQ or PG); per-tier rollup via dq-tier-by-source
meta1 (always on)search-tools for natural-language tool discovery

Toggle with DBT_TOOLS=dbt (allowlist) or DBT_DISABLE=quality (denylist).

Tools at a glance

dbt (15 + 3)

dbt-list-models, dbt-get-model, dbt-list-tests, dbt-get-test, dbt-list-sources, dbt-get-source, dbt-list-exposures, dbt-list-macros, dbt-get-macro, dbt-list-runs, dbt-get-run-results, dbt-failed-tests, dbt-slow-models, dbt-coverage, dbt-graph, freshness-status, incident-context, dbt-sla-status

quality (6 + 2)

dq-list-checks, dq-get-check-history, dq-failed-checks-by-dataset, dq-score-trend, dq-tier-status, dq-tier-by-source, failed-tests-summary, dq-score-snapshot

Prompts
PromptUse when
investigate-failed-tests"What's broken in the last 24h?"
freshness-degradation-triage"Are any sources stale?" (Tier 1 focus optional)
dq-trend-report"Give me a stakeholder-friendly DQ trend report"
incident-triage"Triage " — bundles all signals

Environment variables

EnvRequiredNotes
DBT_PROJECT_DIRyesdbt project root (where dbt_project.yml lives)
DBT_TARGET_DIRnoDefaults to $DBT_PROJECT_DIR/target
DBT_RUN_HISTORY_DIRnoOptional dir for archived run_results.json history
DQ_BACKENDnobigquery (default) or postgres
DQ_RESULTS_TABLEnoFQN of the checks table; required only for checks-based quality tools
DQ_SCORE_TABLEnoFQN of the score-daily table; required for score-only tools
GOOGLE_APPLICATION_CREDENTIALSnoFor BigQuery backend (ADC fallback supported)
BQ_PROJECT_IDnoExplicit BQ project (otherwise inferred from ADC)
PG_CONNECTION_STRINGnoWhen DQ_BACKEND=postgres (secret)
DQ_SCHEMAnogeneric (default) or us-all — base schema preset for the quality category
DQ_COL_*noPer-column overrides on top of DQ_SCHEMA (see below). Overrides must be simple SQL identifiers.
DQ_TIER1_TARGET_PCTnoTier 1 SLA threshold for dq-tier-status when no tier column is configured (default 99.5). Superseded by DBT_SLA_CONFIG_PATH tier_sla.1 if both are set.
DBT_SLA_CONFIG_PATHnoOptional YAML path with tier_sla and dbt_sla blocks. Drives dq-tier-status thresholds and dq-tier-by-source per-tier targets. Mtime cached.
DBT_ALLOW_WRITEnoReserved for future write tools (none currently)
DBT_TOOLS / DBT_DISABLEnoCategory toggles

DQ result-table schema flavors

The quality category supports two schema presets via DQ_SCHEMA:

DQ_SCHEMA=generic (default)

Columns assumed on DQ_RESULTS_TABLE: run_at, check_name, check_type, dataset, table_name, status, severity, failure_count, message.

Columns assumed on DQ_SCORE_TABLE: score_date, scope, tier, completeness_pct, freshness_pct, validity_pct, anomaly_free_pct, overall_score.

dq-tier-status rolls up by Tier 1/2/3 against the per-scope rows.

DQ_SCHEMA=us-all

Real schema used at us-all (Postgres data_ops database):

quality_checks: run_date, check_type, dimension, source, target_name, status, metric_value, threshold, details (JSONB).

quality_score_daily: run_date, completeness_pct, freshness_pct, validity_pct, anomaly_free_pct, overall_score, total_checks, failed_checks.

In this flavor quality_score_daily is one row per day (no per-scope rollup, no tier column). dq-tier-status falls back to comparing the day's overall_score against DQ_TIER1_TARGET_PCT (default 99.5).

dq-get-check-history requires checkName formatted as ' : ' since us-all has no native check_name column.

Per-column overrides — DQ_COL_*

If your DQ tables don't match either preset, layer per-column overrides on top of DQ_SCHEMA. Any DQ_COL_* env var, when set, replaces the preset value for that single column. Unset vars keep the preset default.

Overrides are validated as simple SQL identifiers to avoid injecting raw SQL through environment variables. Table names in DQ_RESULTS_TABLE / DQ_SCORE_TABLE are also validated and quoted for the configured backend.

Env varLogical conceptGeneric presetus-all preset
DQ_COL_RUN_ATtimestamp/date on the checks tablerun_atrun_date
DQ_COL_CHECK_TYPEcheck type / dimension familycheck_typecheck_type
DQ_COL_STATUSpass/fail/warn/errorstatusstatus
DQ_COL_DATASETdataset / source / schemadatasetsource
DQ_COL_TABLE_NAMEtable or target nametable_nametarget_name
DQ_COL_SEVERITYseverity / dimensionseveritydimension
DQ_COL_FAILURE_COUNTnumeric failure count / metricfailure_countmetric_value
DQ_COL_MESSAGEfree-text or JSON messagemessagedetails::text
DQ_COL_CHECK_NAMEnatural identifier of the checkcheck_name_(none)_
DQ_COL_SCORE_DATEdate column on the score tablescore_daterun_date
DQ_COL_SCOPEscope/tenant column on score tablescope_(none)_
DQ_COL_TIERtier column on score tabletier_(none)_

For the three nullable columns (DQ_COL_CHECK_NAME, DQ_COL_SCOPE, DQ_COL_TIER), set the value to none / null / - to declare "no native column":

  • Without check_name → the tools synthesize one from check_type || ':' || table_name. dq-get-check-history then expects checkName formatted as ' : '.
  • Without scope → dq-score-trend's scope filter is ignored (with a caveat) and dq-tier-status switches to the single-overall_score path that compares against DQ_TIER1_TARGET_PCT.
  • Without tier → same single-overall_score fallback.

Example — generic preset against a Postgres schema where columns happen to be named differently:

DQ_SCHEMA=generic

DQ_COL_RUN_AT=checked_at DQ_COL_DATASET=schema_name DQ_COL_TABLE_NAME=tbl DQ_COL_FAILURE_COUNT=fail_n DQ_COL_CHECK_NAME=none # synthesize from check_type+tbl DQ_COL_SCOPE=none # no per-team rollup DQ_COL_TIER=none # use DQ_TIER1_TARGET_PCT instead

SLA config (optional) — DBT_SLA_CONFIG_PATH

Set DBT_SLA_CONFIG_PATH to a YAML file to surface project-defined tier targets and DBT SLAs to the quality tools. Schema (extra keys ignored):

dbt_sla:

test_pass_pct: 99.0 # consumed by dbt-sla-status (test pass rate threshold) freshness_pass_pct: 99.5 # consumed by dbt-sla-status (source freshness pass rate threshold)

tier_sla: 1: 99.5 # tier-1 overall_score / per-source pass-rate target 2: 99.0 3: 95.0

When set, the tier_sla map drives:

  • dq-tier-status — per-tier rollup compares each row's overall_score against the matching target. Without this file, hardcoded {1: 99.5, 2: 99.0, 3: 95.0} is used.
  • dq-tier-by-source — per-source pass-rate is compared to the target for that source's tier (resolved from dbt sources.yml meta.tier).
  • dq-tier-status no-tier-column path (us-all preset / DQ_COL_TIER=none) — uses tier_sla.1 as the single target. DQ_TIER1_TARGET_PCT env still works as a fallback when no SLA file is set.

The dbt_sla block drives:

  • dbt-sla-status — computes test pass rate from latest run_results.json and freshness pass rate from sources.json, then compares each axis against dbt_sla.test_pass_pct / dbt_sla.freshness_pass_pct. Returns passPct, target, meeting per axis plus caveats when fields or artifacts are missing.

The file is mtime-cached; edits between tool calls are picked up automatically.

Per-tier rollup from quality_checks — dq-tier-by-source

For schemas where quality_score_daily has only one row per day (no per-scope/tier breakdown), dq-tier-by-source reconstructs a per-tier picture from the raw quality_checks rows. Two modes:

mode: "source" (default) — group by source/dataset column

Use when each row of quality_checks represents a check on a *source group* and the dataset/source column carries the dbt source-group name directly.

  1. Builds a source_name -> tier map from the dbt manifest's sources. . .meta.tier (first table's tier per source group).
  2. Groups quality_checks rows by the dataset/source column and computes pass rate per source over a date or sinceHours window.
  3. Looks up each source's tier and target (from SLA config or defaults), reports meeting / missing per tier.
mode: "table" — group by table_name column

Use when the dataset/source column is a category (bq / dbt / airflow) and the actual dbt source-table identifier lives in the table_name / target_name column as . . Common in checks tables that consolidate signals from heterogeneous backends.

  1. Builds a . -> tier map from the manifest using each source entry's source_name + name + meta.tier — picks up *table-level* tier overrides naturally.
  2. Groups quality_checks rows by the table_name column. Pre-filter via sourceFilter (e.g. sourceFilter: "bq") when only some categories produce parseable target names.
  3. Each rollup key is parsed as . ; rows without a . or whose key is not in the manifest land in caveats[].

Untiered rows (no manifest meta.tier) and unparseable rows always appear in caveats[] so you can tier them or accept the gap.

Tested-against schemas

  • dbt manifest schema v11 / v12 — the current top version. dbt 1.7 emits v11; dbt 1.8 through 1.12 all emit v12 (the schema evolves additively in-place). Newer/unknown versions still parse, but a caveats line will flag them.

Companio

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기