Self-hosted, AI-agent-driven analogue of Dune Analytics. Same Parquet + dbt + curated tables on your laptop. 20 MCP tools so AI agents drive the analysis — not just humans clicking buttons.
14 tools spanning discovery, execution, semantics, memory, and output: list_tables, describe, query, metric, chart_render, report, recall, estimate_cost, budget_set, and more. Agents drive it. Humans optional.
Parquet on local disk or S3. DuckDB by default; Trino and ClickHouse pluggable. No vendor API key. No usage cap. Your data never leaves your boundary.
Pre-flight estimate_cost reads the query plan before execution. Per-session budget_set caps spend. Hard stop before a runaway query bills you.
# clone, install, seed
git clone https://github.com/Jacksstt/chainq.git ~/.chainq
cd ~/.chainq && pnpm install && pnpm seed
pnpm test
Dune was built when humans wrote SQL. In 2026, the primary consumer of onchain data is increasingly an AI agent. Agents need machine-readable schemas, cost estimates before execution, structured errors, and persistent memory of what they already queried.
Self-hosted teams need to keep sensitive data inside their boundary. chainq fills the gap: fully OSS, self-hosted, MCP-first, SQL-open.