{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.us-all/dbt",
  "slug": "io.github.us-all.dbt",
  "title": "dbt",
  "summary": "dbt MCP — manifest/run_results/sources/catalog parsing + DQ result tables (BigQuery/Postgres)",
  "version": "1.0.7",
  "serverKey": "dbt",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.us-all.dbt",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.us-all.dbt/install.md",
  "trust": {
    "score": 86,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T02:09:41.115918296Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@us-all/dbt-mcp@1.0.7"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add dbt -e 'DBT_PROJECT_DIR=<DBT_PROJECT_DIR>' -- npx -y @us-all/dbt-mcp@1.0.7"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"dbt\": {\n      \"args\": [\n        \"-y\",\n        \"@us-all/dbt-mcp@1.0.7\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DBT_PROJECT_DIR\": \"<DBT_PROJECT_DIR>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"dbt\": {\n      \"args\": [\n        \"-y\",\n        \"@us-all/dbt-mcp@1.0.7\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DBT_PROJECT_DIR\": \"<DBT_PROJECT_DIR>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"DBT_PROJECT_DIR\",\n      \"id\": \"dbt-project-dir\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"dbt\": {\n      \"args\": [\n        \"-y\",\n        \"@us-all/dbt-mcp@1.0.7\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DBT_PROJECT_DIR\": \"${input:dbt-project-dir}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.dbt]\ncommand = \"npx\"\nargs = [\"-y\", \"@us-all/dbt-mcp@1.0.7\"]\nenv = { \"DBT_PROJECT_DIR\" = \"<DBT_PROJECT_DIR>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "DBT_PROJECT_DIR",
      "required": true,
      "secret": false,
      "description": "Path to dbt project root (where dbt_project.yml lives).",
      "help": "Path to dbt project root (where dbt_project.yml lives).",
      "placeholder": "<DBT_PROJECT_DIR>"
    },
    {
      "name": "DBT_TARGET_DIR",
      "required": false,
      "secret": false,
      "description": "dbt target dir for manifest.json/run_results.json (default: $DBT_PROJECT_DIR/target).",
      "help": "dbt target dir for manifest.json/run_results.json (default: $DBT_PROJECT_DIR/target).",
      "placeholder": "<DBT_TARGET_DIR>"
    },
    {
      "name": "DBT_RUN_HISTORY_DIR",
      "required": false,
      "secret": false,
      "description": "Optional dir for archived run_results.json history (glob-scanned).",
      "help": "Optional dir for archived run_results.json history (glob-scanned).",
      "placeholder": "<DBT_RUN_HISTORY_DIR>"
    },
    {
      "name": "DQ_BACKEND",
      "required": false,
      "secret": false,
      "description": "DQ result table backend: 'bigquery' (default) or 'postgres'.",
      "help": "DQ result table backend: 'bigquery' (default) or 'postgres'.",
      "placeholder": "<DQ_BACKEND>"
    },
    {
      "name": "DQ_RESULTS_TABLE",
      "required": false,
      "secret": false,
      "description": "Fully qualified DQ checks table, e.g. 'project.data_ops.quality_checks'.",
      "help": "Fully qualified DQ checks table, e.g. 'project.data_ops.quality_checks'.",
      "placeholder": "<DQ_RESULTS_TABLE>"
    },
    {
      "name": "DQ_SCORE_TABLE",
      "required": false,
      "secret": false,
      "description": "Fully qualified DQ score-daily table, e.g. 'project.data_ops.quality_score_daily'.",
      "help": "Fully qualified DQ score-daily table, e.g. 'project.data_ops.quality_score_daily'.",
      "placeholder": "<DQ_SCORE_TABLE>"
    },
    {
      "name": "GOOGLE_APPLICATION_CREDENTIALS",
      "required": false,
      "secret": false,
      "description": "Service account key path for BigQuery (ADC fallback supported).",
      "help": "Service account key path for BigQuery (ADC fallback supported).",
      "placeholder": "<GOOGLE_APPLICATION_CREDENTIALS>"
    },
    {
      "name": "BQ_PROJECT_ID",
      "required": false,
      "secret": false,
      "description": "Explicit BigQuery project ID for DQ queries.",
      "help": "Explicit BigQuery project ID for DQ queries.",
      "placeholder": "<BQ_PROJECT_ID>"
    },
    {
      "name": "PG_CONNECTION_STRING",
      "required": false,
      "secret": true,
      "description": "Postgres connection string when DQ_BACKEND=postgres.",
      "help": "Postgres connection string when DQ_BACKEND=postgres.",
      "placeholder": "<PG_CONNECTION_STRING>"
    },
    {
      "name": "DBT_ALLOW_WRITE",
      "required": false,
      "secret": false,
      "description": "Reserved for future write tools. Default read-only.",
      "help": "Reserved for future write tools. Default read-only.",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "DQ_SCHEMA",
      "required": false,
      "secret": false,
      "description": "DQ result-table schema preset: 'generic' (default) or 'us-all'. Use DQ_COL_* env vars to override individual columns on top of the preset.",
      "help": "DQ result-table schema preset: 'generic' (default) or 'us-all'. Use DQ_COL_* env vars to override individual columns on top of the preset.",
      "default": "generic",
      "placeholder": "generic"
    },
    {
      "name": "DQ_COL_RUN_AT",
      "required": false,
      "secret": false,
      "description": "Override for the timestamp/date column on the DQ checks table. Default depends on DQ_SCHEMA preset.",
      "help": "Override for the timestamp/date column on the DQ checks table. Default depends on DQ_SCHEMA preset.",
      "placeholder": "<DQ_COL_RUN_AT>"
    },
    {
      "name": "DQ_COL_CHECK_TYPE",
      "required": false,
      "secret": false,
      "description": "Override for the check-type column on the DQ checks table. Default 'check_type'.",
      "help": "Override for the check-type column on the DQ checks table. Default 'check_type'.",
      "placeholder": "<DQ_COL_CHECK_TYPE>"
    },
    {
      "name": "DQ_COL_STATUS",
      "required": false,
      "secret": false,
      "description": "Override for the status column on the DQ checks table. Default 'status'.",
      "help": "Override for the status column on the DQ checks table. Default 'status'.",
      "placeholder": "<DQ_COL_STATUS>"
    },
    {
      "name": "DQ_COL_DATASET",
      "required": false,
      "secret": false,
      "description": "Override for the dataset/source column on the DQ checks table. Default depends on preset.",
      "help": "Override for the dataset/source column on the DQ checks table. Default depends on preset.",
      "placeholder": "<DQ_COL_DATASET>"
    },
    {
      "name": "DQ_COL_TABLE_NAME",
      "required": false,
      "secret": false,
      "description": "Override for the table/target-name column on the DQ checks table. Default depends on preset.",
      "help": "Override for the table/target-name column on the DQ checks table. Default depends on preset.",
      "placeholder": "<DQ_COL_TABLE_NAME>"
    },
    {
      "name": "DQ_COL_SEVERITY",
      "required": false,
      "secret": false,
      "description": "Override for the severity/dimension column on the DQ checks table. Default depends on preset.",
      "help": "Override for the severity/dimension column on the DQ checks table. Default depends on preset.",
      "placeholder": "<DQ_COL_SEVERITY>"
    },
    {
      "name": "DQ_COL_FAILURE_COUNT",
      "required": false,
      "secret": false,
      "description": "Override for the numeric failure-count column on the DQ checks table. Default depends on preset.",
      "help": "Override for the numeric failure-count column on the DQ checks table. Default depends on preset.",
      "placeholder": "<DQ_COL_FAILURE_COUNT>"
    },
    {
      "name": "DQ_COL_MESSAGE",
      "required": false,
      "secret": false,
      "description": "Override for the message column on the DQ checks table. Default depends on preset.",
      "help": "Override for the message column on the DQ checks table. Default depends on preset.",
      "placeholder": "<DQ_COL_MESSAGE>"
    },
    {
      "name": "DQ_COL_CHECK_NAME",
      "required": false,
      "secret": false,
      "description": "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.",
      "help": "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.",
      "placeholder": "<DQ_COL_CHECK_NAME>"
    },
    {
      "name": "DQ_COL_SCORE_DATE",
      "required": false,
      "secret": false,
      "description": "Override for the date column on the DQ score-daily table. Default depends on preset.",
      "help": "Override for the date column on the DQ score-daily table. Default depends on preset.",
      "placeholder": "<DQ_COL_SCORE_DATE>"
    },
    {
      "name": "DQ_COL_SCOPE",
      "required": false,
      "secret": false,
      "description": "Override for the scope column on the DQ score-daily table. Set to 'none'/'null'/'-' if the table has no per-scope rollup.",
      "help": "Override for the scope column on the DQ score-daily table. Set to 'none'/'null'/'-' if the table has no per-scope rollup.",
      "placeholder": "<DQ_COL_SCOPE>"
    },
    {
      "name": "DQ_COL_TIER",
      "required": false,
      "secret": false,
      "description": "Override for the tier column on the DQ score-daily table. Set to 'none'/'null'/'-' if the table has no tier dimension.",
      "help": "Override for the tier column on the DQ score-daily table. Set to 'none'/'null'/'-' if the table has no tier dimension.",
      "placeholder": "<DQ_COL_TIER>"
    },
    {
      "name": "DQ_TIER1_TARGET_PCT",
      "required": false,
      "secret": false,
      "description": "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 are set.",
      "help": "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 are set.",
      "placeholder": "<DQ_TIER1_TARGET_PCT>"
    },
    {
      "name": "DBT_SLA_CONFIG_PATH",
      "required": false,
      "secret": false,
      "description": "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 file, and dbt-sla-status compares run_results / sources pass rates against dbt_sla.test_pass_pct / freshness_pass_pct. Mtime cached.",
      "help": "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 file, and dbt-sla-status compares run_results / sources pass rates against dbt_sla.test_pass_pct / f",
      "placeholder": "<DBT_SLA_CONFIG_PATH>"
    },
    {
      "name": "DBT_TOOLS",
      "required": false,
      "secret": false,
      "description": "Comma-separated category allowlist (dbt,quality,meta).",
      "help": "Comma-separated category allowlist (dbt,quality,meta).",
      "placeholder": "<DBT_TOOLS>"
    },
    {
      "name": "DBT_DISABLE",
      "required": false,
      "secret": false,
      "description": "Comma-separated category disablelist.",
      "help": "Comma-separated category disablelist.",
      "placeholder": "<DBT_DISABLE>"
    }
  ],
  "expectedTools": [
    "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",
    "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",
    "search-tools"
  ],
  "agentSteps": [
    "Ask the user for: DBT_PROJECT_DIR. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: dbt-list-models, dbt-get-model, dbt-list-tests, dbt-get-test, dbt-list-sources, dbt-get-source, dbt-list-exposures, dbt-list-macros, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T02:09:41.115918296Z"
}
