dbt-llm-agent

Self-hosted web app/agent for answering data questions about a dbt project using a knowledge base built from dbt models and documentation. It includes a Next.js dashboard, a Django/DRF backend, background workers, and an optional self-hosted MCP server with OAuth2 authentication for LLM clients to query dbt model/project information.

Evaluated Mar 30, 2026 (22d ago)
Homepage ↗ Repo ↗ Ai Ml ai-data-analysis dbt mcp rag semantic-search slack self-hosted
⚙ Agent Friendliness
44
/ 100
Can an agent use this?
🔒 Security
65
/ 100
Is it safe for agents?
⚡ Reliability
24
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
68
Documentation
55
Error Messages
0
Auth Simplicity
70
Rate Limits
10

🔒 Security

TLS Enforcement
60
Auth Strength
80
Scope Granularity
75
Dep. Hygiene
40
Secret Handling
60

README documents OAuth2 with PKCE and organization-scoped access for MCP, plus JWT token expiry behavior. However, it provides a potentially unsafe CORS example (ALLOWED_ORIGINS='*') and does not provide details on TLS enforcement, secrets logging practices, or dependency/Vuln management. LLM provider API keys are required via environment variables.

⚡ Reliability

Uptime/SLA
0
Version Stability
35
Breaking Changes
35
Error Recovery
25
AF Security Reliability

Best When

You run Ragstar self-hosted with Docker Compose, have a dbt project connected, and want LLM-driven analysis plus optional MCP tool access from compatible LLM clients.

Avoid When

You cannot or will not handle OAuth2 configuration, database/pgvector setup, and operational overhead of a self-hosted stack (Django/Next.js/Celery/DB).

Use Cases

  • Natural-language Q&A over dbt models and documentation
  • Assisted data analysis workflows for analytics teams using dbt as the source of truth
  • LLM clients querying dbt model metadata via MCP (self-hosted deployments)
  • Semantic search across dbt docs/models to find relevant tables and logic
  • Slack-based /ask integration for querying and exploration

Not For

  • Hosted/SaaS deployments where MCP is not available (per README limitation)
  • Use cases requiring a client-agnostic, fully documented public API contract (OpenAPI/SDKs not shown)
  • Strict environments that disallow OAuth client auto-registration or relaxed CORS settings (ALLOWED_ORIGINS='*' is mentioned as a config example)

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: NextAuth (session cookies) for dashboard login (NEXTAUTH_SECRET/NEXTAUTH_URL) OAuth 2.0 (PKCE) for MCP server (self-hosted only) using RFC 8414 metadata discovery
OAuth: Yes Scopes: Yes

README indicates organization-scoped access for MCP via OAuth2 with PKCE and JWT tokens. For MCP, configuration includes an ALLOWED_ORIGINS option (example shows '*' which may be risky if used as-is).

Pricing

Free tier: No
Requires CC: No

No SaaS pricing described; project appears MIT open source and self-hosted. Costs depend on LLM provider API keys, embedding generation, and infrastructure.

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • MCP server is described as self-hosted only and may be temporarily disabled while stabilizing streaming support (beta/experimental caveat).
  • 1:1 client-server relationship: each MCP client needs a dedicated server instance per README limitation.
  • ALLOWED_ORIGINS example is set to '*'—agents/services in security-restricted environments should override to specific origins.
  • Need dbt models loaded/connected; otherwise MCP 'No Models Found' scenario is possible.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for dbt-llm-agent.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-30.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered