data-workbench
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Data Workbench 2.3
Local-first Visual Data Transformation & Automation Studio — Turn messy files into reliable, repeatable, testable data workflows.
Data Workbench 2.0 unifies browser-local visual data cleaning, explainable data quality auditing, primary-key diffing, Schema Guardian drift checks, and deterministic workflow automation across Web Studio, CLI (dw), GitHub Actions, and MCP Server — all powered by a single zero-dependency engine.

v2.3 Highlights
Native Zero-Dependency
.xlsx(Excel) Support: Read & write Excel workbooks locally in Browser and CLI (source.xlsx,output.xlsx) + Parquet header inspection & DuckDB-Wasm handoff (source.parquet).OpenRefine-Style Fuzzy Clustering:
clean.clusterMerge(Key-Collision Fingerprint + Levenshtein).npxReady & Launch Kit: Run vianpx data-workbenchornpx data-workbench-mcp --sandbox ./data. See docs/LAUNCH_PLAYBOOK.md.
Related MCP server: doc-redactor
v2.1 Engine Architecture
ColumnarTable + Copy-on-Write (
packages/engine-core): NumericFloat64Array+ null validity bitmaps +DictionaryColumnencoding (Uint32Array), sharing untouched columns zero-copy across nodes.Pluggable Execution Adapters: Built-in Tier-1
ColumnarJsAdapter(zero cold-start) + standardDuckDbWasmAdaptercontract +OpfsStorageAdapter.True Incremental CSV Stream State Machine:
CsvStreamParserhandles arbitrary byte/chunk boundaries across quotes, CRLF, and multibyte UTF-8.Named Multi-Port DAG & Dynamic Plugin SDK: Supports
out/errorssplit ports,left/rightjoin/diff ports,registerNode(), JSON SchemaparamSchemavalidation, andmigrate(params, fromVersion)hooks.Dedicated Web Worker Execution: Runs DAG workflows off the browser main thread with instant Cancel and live memory telemetry.
Core Capabilities
100% Local-First Privacy: Files are parsed, profiled, diffed, and transformed locally in your browser or terminal. Zero uploads, zero telemetry of cell values.
3 Synchronized Modes (Single Source of Truth):
Table Mode: Virtualized Data Grid with Data Quality Radar (Completeness, Uniqueness, Validity, Consistency), clickable issue filters, Fix Preview + Confidence, PII Sentinel, and Explain This Dataset.
Canvas Mode: Interactive DAG node editor with drag-to-arrange nodes, Bezier connections, auto-layout, zoom, node status indicators, and Before/After Data Diff per step.
Code Mode: Live read-only SQL Preview, Workflow JSON v1.0, and CLI command generated from the same workflow definition.
28 Deterministic Versioned Nodes: CSV, JSON, NDJSON, YAML, XML sources/outputs, CSV dialect repair, text/date normalization, PII masking (
mask/hash/remove/synthetic/keepLast), deduplication, filtering, sorting, flatten/unflatten, RFC 9535 JSONPath, local SQL-lite query, Data Contracts, JSON Schema 2020-12, and primary-key/JSON diffs.Data Trust Built In: Schema Guardian (snapshot & breaking-change drift detection), Data Contracts, Workflow Regression Tests, CSV Formula Injection Protection, and Portable Workflow Packages.
Local Deterministic AI Rule Copilot: Translates English or Chinese instructions into a reviewable, approval-gated operation plan with zero external data transfer.
10 Standalone SEO Tool Views: CSV Cleaner, JSON Formatter, JSON Validator, JSON Diff, CSV↔JSON, CSV Deduplicator, Compare Two CSV Files, JSON Schema Generator, and RFC 9535 JSONPath Tester.
Quick Start
No npm install is required — the entire monorepo runs natively on Node.js ≥ 18 with zero third-party dependencies.
git clone https://github.com/waterdolphinkiller/data-workbench.git
cd data-workbench
# Run the full automated test suite
npm test
# Run performance benchmarks (10k & 100k rows)
npm run bench
# Build the standalone offline Web Studio (apps/web/dist/index.html)
npm run build:webOpen apps/web/dist/index.html directly in any modern browser (or deploy apps/web/dist/ to GitHub Pages).
CLI Usage (dw)
# Run a repeatable workflow on a new CSV file
node apps/cli/bin/dw.js run examples/01-messy-customers-cleanup/workflow.json \
--input examples/01-messy-customers-cleanup/sample-input.csv \
--output ./out/clean-customers.json \
--report ./out/run-report.json
# Validate an input dataset against a Data Contract (exits 1 on failure)
node apps/cli/bin/dw.js validate examples/01-messy-customers-cleanup/sample-input.csv \
--contract examples/01-messy-customers-cleanup/contract.json
# Run Workflow Regression Tests
node apps/cli/bin/dw.js test examples/01-messy-customers-cleanup/workflow.json \
--input examples/01-messy-customers-cleanup/sample-input.csv \
--expectations examples/01-messy-customers-cleanup/expectations.json
# Primary-key CSV diff (Markdown, JSON, or XSS-safe HTML)
node apps/cli/bin/dw.js diff old.csv new.csv --key sku --format html --output diff.htmlMCP Server (Sandboxed AI Agent Integration)
Start the JSON-RPC 2.0 stdio MCP server confined to an explicit directory sandbox:
node apps/mcp-server/src/server.js --sandbox ./examplesAvailable 10 AI-Native tools: list_nodes, validate_workflow, compile_plan, inspect_file, profile_dataset, validate_schema, preview_transform, run_workflow (inline workflow + dryRun), compare_files, and get_run_report — all with fuzzy alias resolution, structured self-healing didYouMean error hints, token-budget compact mode, and automatic PII redaction.
Local OpenAPI 3.1 REST Server
npm run api # binds strictly to http://127.0.0.1:4173 (OpenAPI spec at /openapi.json)Repository Structure
data-workbench/
├── apps/
│ ├── web/ # Local-first Visual Workbench Studio + 10 SEO Tool Views
│ ├── cli/ # `dw` deterministic CLI runner
│ └── mcp-server/ # Sandboxed JSON-RPC 2.0 MCP Server
├── packages/
│ ├── csv-engine/ # Dialect/encoding detector, streaming parser, formula guard
│ ├── json-engine/ # Validator, formatter, NDJSON, Flatten, RFC 9535 JSONPath, YAML/XML
│ ├── quality-engine/ # Data Quality Radar, PII Sentinel, Fix Preview, Explain Dataset
│ ├── diff-engine/ # CSV primary-key/row-hash diff, JSON diff, safe report exporters
│ ├── workflow-schema/ # Workflow JSON v1.0 DAG validator, JSON Schema 2020-12, Drift, Contracts
│ ├── node-registry/ # 28 deterministic versioned workflow nodes
│ ├── workflow-core/ # DAG Executor, Recorder (Undo/Redo), Regression Tests, Copilot, Packages
│ └── test-fixtures/ # 3 onboarding datasets & benchmark generator
├── examples/ # 5 runnable workflow packages
├── scripts/ # Zero-dependency standalone HTML bundler
├── tests/ # Automated unit/integration/CLI/MCP tests & benchmarks
└── .github/ # CI workflow & reusable Data Workbench GitHub ActionContributing & Governance
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Profile, clean and validate CSV/Excel data: schemas, dates, numbers, duplicates. Never guesses.
Query, join, profile, clean and convert CSV/JSON/Parquet with server-side DuckDB over MCP.
Messy CSV, JSON, Excel, SPSS/Stata/SAS and PDF tables to typed Parquet; inspect, query, join.
Standardize, reshape, and normalize messy data — CSV, Excel, Parquet, S3, databases.
Related MCP Servers
- AlicenseBqualityBmaintenanceLocal-first MCP server for data quality that finds suspicious data, explains findings with evidence, tracks drift, and supports human-approved, reversible repair workflows. Deterministic by default, with AI optional.25264 PyPI2Apache 2.0
- AlicenseAqualityDmaintenanceProvides a local-first MCP server for multi-format document redaction, enabling detection of sensitive content, physical removal from PDFs, DOCX, XLSX, PPTX, and text files, and forensic audit with zero network calls.7AGPL 3.0
- AlicenseAqualityCmaintenanceEnables validating CSV structure, checking simple schemas, converting between CSV and JSON, sampling rows, and finding duplicate keys on local files. All processing stays local, so no user data is ever uploaded.6MIT
- AlicenseAqualityBmaintenanceLocal-first data quality validation for Excel/CSV: schema-aware checks with 10 zero-code constraint types (uniqueness, ranges, foreign keys and more) and row-level error reports.43Apache 2.0