DBX: A 15MB Database Client With Built-In AI and MCP Support
DBX is a 15MB, open-source database client that supports 40+ databases â with a built-in AI SQL assistant and native MCP server support for AI coding agents. It ships as a single binary with zero runtime dependencies: no Java, no Python, no bundled Chromium. Available on macOS, Windows, Linux, Docker, and as a web app.
If youâve ever waited for DBeaver to launch â watching Java churn through its startup ritual â you know the pain. Database clients have been bloated for years. DBeaver bundles a JRE. DataGrip needs a JetBrains subscription. TablePlus is slick but macOS-only (with limited Windows/Linux support). And none of them were built for the AI-native workflow developers are adopting in 2026.
DBX changes this equation.
What Makes DBX Different?
The size alone is remarkable. DBeaverâs installer is 150MB+. DBX is 15MB â reminiscent of the Portable AI USB philosophy where less is more. Itâs built with Tauri 2 (Rust backend, Vue 3 frontend), which explains the tiny footprint and native performance.
But size is table stakes. What makes DBX genuinely interesting for the AI/developer crowd is two features: the AI SQL assistant and MCP integration.
How Does the AI SQL Assistant Work?
DBX has a built-in AI assistant that works with Claude, OpenAI, or local models via Ollama. Highlight a table, describe what you want in plain language, and get SQL back. It can explain queries, optimize SQL, fix errors, and â critically â runs AI-generated SQL through built-in safety checks before execution.
This isnât a plugin or an afterthought. Itâs baked into the editor experience. You donât copy-paste between ChatGPT and your database client. If youâve seen tools like QueryWeaver tackling the text-to-SQL problem, DBX bundles that capability directly into a full-featured database client.
The Ollama support is worth highlighting: if youâre working with sensitive data and canât send schemas to cloud APIs, you can run everything locally. Thatâs a real consideration for teams with compliance requirements.
Why Does DBXâs MCP Support Matter?
Hereâs where DBX gets ahead of every other database client on the market.
DBX ships an MCP server â meaning AI coding agents like Claude Code, Cursor, and Windsurf can query your databases directly through connections youâve already configured in DBX. Weâve covered the MCP database landscape before â from Googleâs managed servers vs MindsDBâs federated approach to Universal DB MCPâs natural language querying â but DBX takes a different angle: itâs a full GUI database client that also speaks MCP.
Setup is dead simple:
{
"mcpServers": {
"dbx": { "command": "npx", "args": ["-y", "@dbx-app/mcp-server"] }
}
}
Drop that in your .mcp.json and your AI coding agent can list connections, browse table schemas, execute queries, and even open tables in DBXâs UI. Your agent doesnât need database credentials hardcoded â it uses the connections youâve already set up and secured in DBX.
This is a big deal. The gap between âAI that writes codeâ and âAI that understands your dataâ has been one of the friction points in agentic workflows â something OpenViking from ByteDance has also been tackling from the context database angle. DBX bridges it at the tool level.
Thereâs also a CLI package (@dbx-app/cli) for terminal and script workflows â useful for CI pipelines or Codex-style agents that prefer command-line interfaces.
What Databases Does DBX Support?
DBX supports 40+ databases in a single ~15MB app:
- Relational: MySQL, PostgreSQL, SQLite, MariaDB, SQL Server, Oracle, CockroachDB, TiDB, OceanBase
- Analytics: DuckDB, ClickHouse, Doris, StarRocks, Redshift
- NoSQL: Redis, MongoDB (with Atlas support), Elasticsearch
- Via JDBC plugins: Snowflake, Trino, Hive, BigQuery, Neo4j, Cassandra, DB2
Everything Else Worth Knowing
Beyond the AI angle, DBX is a capable database client:
- Query editor with CodeMirror 6, SQL autocomplete, formatting, diagnostics, and 9 themes
- Virtual-scrolled data grid that handles large result sets with inline editing
- Schema tools including ER diagrams, schema diff, explain plans, and field lineage
- Data operations â import CSV/Excel, transfer between databases, drag-and-drop Parquet/JSON/CSV preview (powered by DuckDB)
- Specialized browsers for Redis (key patterns, TTL editing, all data types) and MongoDB (document CRUD)
- Deployment flexibility â native desktop, Docker self-hosting (
docker run -d -p 4224:4224 t8y2/dbx), and web version
How Does DBX Compare?
| DBX | DBeaver | TablePlus | |
|---|---|---|---|
| Size | ~15MB | ~150MB+ | ~50MB |
| Runtime | None | Java JRE | None |
| AI Assistant | Built-in | Plugin | No |
| MCP Support | Native | No | No |
| Platforms | macOS/Win/Linux/Docker/Web | macOS/Win/Linux | macOS (primary) |
| Price | Free (AGPL-3.0) | Free/Paid | Paid |
Bottom Line
DBX is what happens when someone builds a database client in 2026 instead of maintaining one from 2010. Itâs small, fast, AI-native, and open source. The MCP integration alone makes it worth trying if youâre using AI coding agents â and the 15MB install means thereâs essentially no cost to giving it a shot.
Install via Homebrew (brew install --cask t8y2/tap/dbx), Scoop on Windows, or grab a release from GitHub.