ACTIVE
Bedazzle
A local DuckDB workbench for exploring, checking and editing data
Built a local data workbench that brings SQL, visual joins, pivots, charts and controlled editing into one browser interface. Python and native DuckDB process the data locally, with an optional permission-based Claude Desktop integration.
The project
Overview
Bedazzle makes it easier to inspect and work with large data files without uploading the dataset to a hosted analysis service. Open a CSV, TSV, Parquet or JSON-family file, query it with SQL or visual controls, inspect the results and export a complete result set.
I brought these workflows together in a portable Windows application: a Python service and native DuckDB engine behind a browser UI. Separate workspaces keep datasets, saved queries, drafts, charts and history together. The downloadable package includes its runtime, so users can start the application without installing Python or creating an account.
What’s involved
Capabilities & features
SQL and visual exploration: query files directly, build joins by connecting dataset fields, and create grouped summaries or pivots with generated SQL available for inspection.
Stable results: retain complete query results on disk so paging, filtering, charting and export use the same run rather than silently rerunning the query.
Charts and dashboards: configure charts from retained data, save dashboards and export PNG or SVG visuals using bundled Apache ECharts.
Controlled data editing: edit persistent drafts with undo and redo, then explicitly choose a working dataset, source table, original file or new export as the destination.
Data checks: inspect columns and query plans, compare pivot connection keys, and run a resumable Image URL Checker that can merge reports back into the original result.
Optional Claude integration: expose permitted local datasets through an MCP extension with folder/task approvals, bounded model responses and separate approval for repairs.
Under the hood
How it works
Local application and query engine
A Python HTTP service binds to the loopback interface and authenticates requests with a random session token. The HTML, CSS and JavaScript interface is served locally. Native DuckDB runs heavy operations in a separate worker process, with configurable memory, thread, timeout and temporary-disk budgets. Cancellation interrupts a query; a stuck or crashed worker can be restarted.
Reliable file and result handling
CSV columns default to text to preserve identifiers and leading zeros. Optional Parquet conversion creates a compressed working copy. Successful queries retain a complete compressed Parquet snapshot, while the browser loads bounded windows. Full exports use the retained data, including values shortened in the grid.
Visual analysis and editing
The query builder translates configured joins, grouping, filters and calculated columns into inspectable SQL. Pivot connections check key uniqueness to avoid multiplying the main records. Chart Studio aggregates retained data and stores chart configurations with local source copies. Editor drafts and typed undo history persist in the workspace database. Source writes check keys and original values for conflicts; supported file rewrites are round-trip checked and backed up before replacement.
Extensibility and AI access
A manifest-based module interface supports reusable local workflows such as image checking. The optional Claude Desktop companion exposes local tools over MCP, with original inspection, edited versions and findings kept distinct. Dataset permissions and response budgets control what the model can inspect. Bedazzle itself makes no inference API calls.
Outcomes
- Packaged a portable Windows data-analysis application with a local runtime and no account requirement.
- Connected SQL, visual analysis, charts, validation modules and editing around the same retained query results.
- Made repeat analysis reusable through separate workspaces, saved queries, persistent editor drafts and chart dashboards.
Scope & limitations
- Large joins, sorts and retained results need sufficient RAM and disk space; the DuckDB buffer budget is not a hard cap on total process memory.
- Chart previews and raw-observation charts have explicit display limits. Filter or summarize in SQL when a complete large distribution is needed.
- The screenshots use Bedazzle’s fictional Example workspace. The product, client and price records are demonstration data.
A closer look