t8y2/dbx

20 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 90+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP Server。

What it solves

DBX is a lightweight, all-in-one database management tool designed to replace bloated alternatives. It provides a single interface to manage over 90 different types of databases, eliminating the need for multiple specialized tools or heavy runtimes like Java JRE or bundled Chromium browsers.

How it works

Built with Rust, DBX operates as a small (~20 MB) binary that connects to various databases via native and agent-based drivers. It includes a built-in AI SQL assistant that integrates with Claude, OpenAI, or local models (via Ollama) to generate and optimize queries. Additionally, it implements the Model Context Protocol (MCP), allowing AI coding agents like Cursor or Claude Code to query databases using the user's existing DBX configurations.

Who it’s for

Developers, database administrators, and data engineers who need a fast, low-resource database client that supports a vast array of SQL and NoSQL databases across macOS, Windows, and Linux.

Highlights

  • Massive Database Support: Compatible with 90+ databases including MySQL, PostgreSQL, MongoDB, Redis, DuckDB, and ClickHouse.
  • AI-Powered SQL: Plain-language to SQL generation, query explanation, and optimization with built-in safety checks.
  • MCP Integration: An MCP server that lets AI agents access database connections for automated querying.
  • Advanced Schema Tools: Includes ER diagrams, schema diffing, field lineage analysis, and visual explain plans.
  • Data Operations: Supports table imports/exports, data transfer between databases, and instant file previews for Parquet, CSV, and JSON via DuckDB.
  • Resource Efficient: Single binary with no external runtime dependencies.

Related

  • Project
  • Project
  • Project
  • Project
  • Project