Repository navigation
Closed
Labels
Description
Summary
Notebooks bring multi-cell SQL analysis to the Web Console: queries, prose, charts, and dashboard layouts live together as one document, next to the data. With MCP integration, AI agents from any MCP-compatible client (Claude Code, Codex, and others) connect to the running console and build or edit notebooks for users.
The agent works with explicit read and write permissions, while users stay in control of what runs and what they see.
Current Limitations
- No way to combine SQL, prose, charts, and saved results into one document; multi-step analyses live in scattered files
- No way to keep a live dashboard next to the SQL that produces it
- AI agents cannot operate the console
Features
| Feature | Description |
|---|---|
| SQL + markdown cells | Mix executable SQL with prose in ordered cells; results render inline |
| Charts | Turn any query into various chart types, including candlestick |
| Dashboards | Arrange cells in a drag-and-resize grid; per-cell auto-refresh interval |
| Variables | Define values once, reuse them across every cell |
| Saved results | Notebooks and their results survive reloads |
| Agent access (MCP) | Pair an agent with one click; it can create, edit, and run notebooks, and look up QuestDB documentation through the MCP bridge |
| Background edits | The agent can build notebooks in the background without interrupting the user's work |
| Permissions | Schema access, reads, and writes are granted separately and can be revoked at any time |
Use Cases
- Ask an agent to build a live dashboard from a description, e.g. "show me today's trading activity"
- Investigate incidents query by query, leaving a reproducible trail the team can rerun
- Keep live metrics and indicators auto-refreshing in a grid layout
- Replace drifting wiki runbooks with executable, documented notebooks
Benefits
- A plain-language request becomes a working notebook or dashboard in one step, instead of building every query, chart, and layout by hand
- Analysis, documentation, and visualization live in one shareable, rerunnable artifact inside the console
- The agent runs writes only with explicit permission, and automatic runs are limited to read-only queries, so the data never changes unexpectedly
- The agent operates within the console users already run, honoring the database connection and permissions already in place
- Notebooks stay useful without an agent: everything is editable by hand, so teams are never locked into AI to read or maintain their work
- No external tool needed for everyday dashboards and monitoring
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
bluestreak01 commentedon Sep 2, 2026
Shipped in QuestDB 10.0.0 as Web Console 2.0 notebooks with coding-agent integration: questdb/ui#561, with the MCP server published as @questdb/mcp-server-questdb. Docs: https://questdb.com/docs/getting-started/web-console/mcp-server/