Skip to main content

Docglow

docglow

Next-generation documentation site generator for dbt™ Core projects.

Live Demo · Docs · Website · PyPI · Changelog

PyPI version PyPI downloads GitHub stars CI status License

Why Docglow?

Thousands of teams use dbt Core without access to dbt Cloud's documentation features. The built-in dbt docs generate && dbt docs serve generates a useful, but somewhat dated static site, with limited functionality that doesn't scale well.

Docglow replaces it with a modern, interactive single-page application — and it works with any dbt Core project out of the box.

  • No dbt Cloud required — generate and serve docs locally or deploy anywhere
  • Unlimited models, unlimited viewers — no seat caps, no model limits
  • Zero configuration — just point it at a dbt project with compiled artifacts and go
  • Interactive lineage explorer — drag, filter, and trace upstream/downstream dependencies visually
  • Project health scoring — get a coverage report for descriptions, tests, and documentation completeness

Switching from dbt docs serve? See the migration guide for a side-by-side comparison and step-by-step instructions.

Interactive lineage explorer — layer-grouped DAG with upstream/downstream filtering, depth control, and folder grouping

Lineage explorer with layer bands

Column-level lineage — expand nodes to trace individual columns across models with transformation labels (direct, derived, aggregated) (guide)

Column-level lineage tracing

Column table with lineage — view types, descriptions, tests, and upstream/downstream dependencies for every column. Click a lineage badge to jump directly to that column in the linked model.

Column table with upstream and downstream lineage

Install

pip install docglow

Try It in 60 Seconds

pip install docglow
git clone https://github.com/docglow/docglow.git
cd docglow
docglow generate --project-dir examples/jaffle-shop --output-dir ./demo-site
docglow serve --dir ./demo-site

This uses the bundled jaffle_shop example project with pre-built dbt artifacts.

Quick Start

# Generate the site from your dbt project
docglow generate --project-dir /path/to/dbt/project --output-dir ./site

# Serve locally
docglow serve --dir ./site

Features

  • Interactive lineage explorer — drag, filter, and explore upstream/downstream dependencies with configurable depth and layer visualization
  • Column-level documentation — searchable column tables with descriptions, types, and test status
  • Project health score — coverage metrics for descriptions, tests, and documentation completeness (details)
  • Full-text search — instant search across all models, sources, and columns
  • Single static site — no backend required, deploy anywhere (S3, GitHub Pages, Netlify, etc.)
  • AI chat (BYOK) — ask natural language questions about your project using your own Anthropic API key
  • Dark mode — auto, light, and dark themes (follows system preference by default)

CLI Commands

Command Description
docglow generate Generate the documentation site from dbt artifacts
docglow serve Serve the generated site locally
docglow health Show project health score and coverage metrics
docglow mcp-server Start MCP server for AI editor integration
docglow init Generate a starter docglow.yml configuration file
docglow profile Run column-level profiling (requires docglow[profiling])

Single-File Mode

Generate a completely self-contained HTML file — no server needed:

docglow generate --project-dir /path/to/dbt --static
# Open target/docglow/index.html directly in your browser

The entire site (data, styles, JavaScript) is embedded in one file. Perfect for sharing via email, Slack, or committing to a repository.

Docglow Cloud

Hosted documentation with AI features — coming soon.

Everything in the open-source CLI, plus:

  • AI-powered Q&A — ask natural language questions about your dbt project
  • Slack bot — answer data questions where your team already works
  • Hosted doc sites — publish with docglow publish, share a link
  • Project health dashboard — track documentation quality over time

Unlimited models, unlimited viewers. You only pay for AI features you use.

Join the waitlist →

Configuration

Add a docglow.yml to your dbt project root for optional customization (layer definitions, display settings, etc.). Docglow works out of the box without any configuration — just point it at a dbt project with compiled artifacts in target/.

Generate a starter config with all options documented:

docglow init

Theme

Docglow supports three themes: auto (follows system preference), light, and dark.

docglow generate --theme dark

Or in docglow.yml:

theme: dark  # auto | light | dark

AI Chat (Bring Your Own Key)

Docglow includes a built-in AI chat panel powered by Claude. Ask natural language questions about your dbt project and get answers grounded in your actual metadata — models, columns, lineage, tests, and health scores.

Enable it:

# Option 1: Pass your key as a flag (for local use only)
docglow generate --ai --ai-key sk-ant-...

# Option 2: Set the environment variable
export ANTHROPIC_API_KEY=sk-ant-...
docglow generate --ai

# Option 3: Enable in docglow.yml
# ai:
#   enabled: true

Open the chat panel with Ctrl+J (or click the chat icon in the header), enter your Anthropic API key, and start asking questions.

Example questions:

Question What it does
What models depend on the orders source? Traces the lineage graph to find all downstream consumers
Which columns might contain PII? Scans column names and descriptions for personally identifiable information
What would break if I changed stg_customers? Lists all downstream models that depend on stg_customers
Show me all models related to revenue Searches model names, descriptions, and tags for revenue-related content
Which models have the most failing tests? Cross-references test results with model metadata
What's the overall health of this project? Summarizes the health score breakdown across all six dimensions
Explain what dim_employee does Describes the model using its SQL, columns, upstream dependencies, and description
What's the difference between stg_orders and fct_orders? Compares two models side-by-side using their metadata

How it works: When you generate with --ai, Docglow builds a compact project context (model names, descriptions, columns, lineage, test status, health scores) and embeds it in the site. The chat panel sends this context as a system prompt to the Anthropic API along with your question. Responses stream back in real-time with clickable model references.

Security: Your API key is never embedded in the generated site. It's stored in your browser's localStorage when you enter it in the chat panel, and sent directly to the Anthropic API from your browser. You can safely deploy AI-enabled sites — they contain the project context but not your key.

Limits: 20 requests per session (clear chat to reset). Uses Claude Sonnet 4 with streaming.

AI Editor Integration (MCP)

Docglow includes a Model Context Protocol server that exposes your dbt project to AI editors like Claude Code, Cursor, and Copilot.

Add to your editor's MCP config (e.g. ~/.claude.json):

{
  "mcpServers": {
    "docglow": {
      "command": "docglow",
      "args": ["mcp-server", "--project-dir", "/path/to/dbt/project"]
    }
  }
}

The server provides 9 tools: model/source lookup, lineage traversal, health scores, undocumented/untested discovery, cross-model column search, and full-text search. No API keys or network access required — it runs locally over stdio.

CI/CD Deployment

Use Docglow as a CI quality gate with the --fail-under flag:

# .github/workflows/docs.yml
- name: Check documentation health
  run: docglow health --project-dir . --fail-under 75

- name: Generate and deploy docs
  run: docglow generate --project-dir . --output-dir ./site

Column-level lineage runs by default. For large projects, use --skip-column-lineage to speed up generation, or --slim to strip SQL source from the output and reduce payload size by 40–60%.

See the CI/CD Deployment Guide for complete walkthroughs covering GitHub Pages, S3, GitLab CI, health score thresholds, and enterprise private Pages.

Ready-to-copy workflow files: GitHub Pages (recommended), S3, and PR health check.

Pre-commit

Add Docglow's health check to your existing pre-commit workflow:

# .pre-commit-config.yaml
repos:
  - repo: https://github.com/docglow/docglow
    rev: v0.5.5
    hooks:
      - id: docglow-health
        args: ['--fail-under', '75']

Requirements

  • Python 3.10+
  • A dbt project with target/manifest.json (run dbt compile or dbt run first)
  • See Compatibility for supported dbt versions and adapters

Telemetry

Docglow has fully opt-in, anonymous telemetry that helps us understand which dbt adapters and project sizes are used in the wild. It is off by default, easy to disable with DOCGLOW_NO_TELEMETRY=1 or docglow telemetry disable, and the exact payload is documented at docs/telemetry.md.

Contributing

Contributions are welcome — bug reports, feature requests, and pull requests alike.

CONTRIBUTING.md covers local dev setup, the site generation pipeline architecture, code style, and how to add a CLI command or MCP tool.

Before opening a PR, verify your branch with the checklist the maintainers use — run /pr-verify if you work in Claude Code, or read .claude/skills/pr-verify/SKILL.md and work through it by hand. It covers the flag interactions, dbt artifact edge cases, and payload compatibility rules that the test suite alone does not catch.

Have a question or an idea? Open an issue.

License

MIT


dbt is a trademark of dbt Labs, Inc. Docglow is not affiliated with or endorsed by dbt Labs.

Metadata

Release files for docglow 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docglow 0.9.1
File Size Uploaded
docglow-0.9.1.tar.gz 362.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for docglow 0.9.1
File Interpreter ABI Platform
docglow-0.9.1-py3-none-any.whl Python 3 none any Details

Total release size: 759.3 kB

Release files / docglow-0.9.1.tar.gz

Download URL docglow-0.9.1.tar.gz
Size 362.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d21c79a26bb3028fd9692ccf7322c2a8036203f5d30c8df9ba8a60bab2b1fc13
BLAKE2b-256 checksum
How to use checksums
0e2fb09b356b0c04b66e7d51729acca8bbbbb365af08a784544c03dec7e20e96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release files / docglow-0.9.1-py3-none-any.whl

Download URL docglow-0.9.1-py3-none-any.whl
Size 396.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
125a9a40431d7f131239c78a5d4620a15138d731adc55d6b86ff56c27e17f473
BLAKE2b-256 checksum
How to use checksums
01aa787b0319f626e52c93b04ef03924d48ba7b87cdbe319707e67e29d372f53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 release files

0.9.0

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page