Skip to content
Skillpedia
βœ“ Official Β· t8y2● Free and open sourceπŸ’» LocalπŸ”“ No API keyData and databases

DBX

Lets your AI agent query your databases using the connections you already set up in DBX.

29k stars on GitHubby t8y2License Apache-2.0Updated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add dbx -- npx -y @dbx-app/mcp-server

Ready! Now test it

Restart the app and paste one of these requests in the chat:

List the tables in my database and describe what each one holds
How many orders did we get last week? Use the sales database

What it is

DBX is a small database client for desktop, Docker and the command line that supports more than 100 databases. Its MCP server lets AI coding agents query your databases through connections you already configured in DBX. The app also has a built-in AI assistant that writes SQL.

What it can do

  • Query databases through DBX connections
  • Work with MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server and more
  • Use the query editor with autocomplete and history
  • Check AI-generated SQL with built-in safety checks
  • Inspect Kafka, RabbitMQ and other message queues

When to use

  • β€ΊWhen you want your agent to answer questions from your database
  • β€ΊWhen you already manage connections in DBX and want one config for every agent
  • β€ΊWhen you need to look at topics and messages next to your databases

What you need

The DBX app with at least one database connection configured, and an MCP client such as Claude Code, Cursor or Windsurf.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

How big is it?

About 25 MB, with no Java runtime, Python venv or bundled Chromium.

Which databases does it support?

More than 100, including MySQL, PostgreSQL, SQLite, MongoDB, Redis, DuckDB, ClickHouse, SQL Server and Oracle.

Which agents can use the MCP server?

Claude Code, Cursor, Windsurf and other AI coding agents.

Where does it run?

As a desktop app on macOS, Windows and Linux, in Docker for teams, or as a web version.

Does it have its own AI?

Yes. The built-in assistant works with Claude, OpenAI or local models through Ollama.

Does it check AI-written SQL?

The readme says built-in safety checks review AI-generated SQL before it runs.

If it does not work

  • β€ΊSet up and test your database connection in DBX first, since the MCP server uses those connections.
  • β€ΊRestart your MCP client fully after adding the server config.
  • β€ΊCheck the DBX releases page and docs if the desktop app does not start on your system.

5 new skills a week. 1 minute to read.