Skip to content

Open the same context in the browser ​

Outcome ​

A web_url (and review_url) from CLI JSON opens the web UI on the same Inventory query or resource you analyzed in the terminal.

When to use this ​

SurfaceUse when
CLIYou already ran discover, explain, or impact and want a shareable browser view
MCPSkip—use CLI for handoff URLs or open the web app manually
WebDestination of the deep link

with DBT_TOOLS_WEB_BASE_URL set, CLI discover or explain JSON includes a web_url that a browser opens into the same Web UI context.

MCP is skipped for this handoff; use CLI JSON or open the web app manually.

Steps ​

  1. Start dbt-tools-web, export DBT_TOOLS_WEB_BASE_URL to its origin (deep links).
  2. Run discover, explain, or impact with --json.
  3. Copy web_url (or review_url) from the JSON payload into a browser (or follow the human “Open in web” line).

Published npx @dbt-tools/web listens on 3000. Vite dev (pnpm dev:web) uses 5173. Set the env var to the origin the process printed.

Example ​

bash
export DBT_TOOLS_WEB_BASE_URL=http://127.0.0.1:3000
dbt-tools discover --dbt-target ./target "orders" --json
dbt-tools explain model.my_project.orders --dbt-target ./target --json
dbt-tools impact model.my_project.orders --dbt-target ./target --json

Typical Inventory URLs:

text
http://127.0.0.1:3000/?view=inventory&q=orders
http://127.0.0.1:3000/?view=inventory&resource=model.my_project.orders&assetTab=summary
http://127.0.0.1:3000/?view=inventory&resource=model.my_project.orders&assetTab=lineage

Next ​

Released under the repository license terms.