DB Mastermind

The database client that
understands your data

Browse and filter data without limits, model a new database or redesign one you have with generated migrations (DeZign for Databases projects open too), and ask an AI that knows your database. Free and open source, nothing to install on Windows.

Windows · macOS (Apple Silicon & Intel) · Linux — Microsoft Store · Scoop, Homebrew, MSI
Table browser with filters and row details

Everything you do every day, done well

No row limits, no paywalled features. Light, dark and high-contrast themes (follow the system or pick one in Settings), in English and Czech.

An SQL editor that knows your schema

Autocomplete suggests tables and columns as you type and writes whole JOINs from foreign keys. Parameters, snippets, execution plans, history and saved queries are built in.

Results open in a fast grid; export every row to CSV, Excel, JSON or SQL, beyond any display limit.

SQL editor with results

Query any file

Drop a CSV, Parquet, JSON or Excel file on the window and query it with SQL right away. Czech exports with semicolons and decimal commas just work.

Import a file into a table with column mapping when you need it in the database.

SQL over a CSV file

Charts in one click

Turn any result into a bar, line or scatter chart, and pin charts and single numbers to a dashboard that refreshes itself.

Chart of a query result

And much more

Advanced filters

Nested AND/OR groups, 25+ operators (in list, between, regex, last N days, this month), raw WHERE, or describe the filter in plain words.

Edit with a safety net

Edit cells, paste from Excel and add rows; every change waits in a change set you review before it's saved.

Compare

Schemas between environments with the migration for the target, and table data with a sync script.

For DBAs too

Running queries and lock waits, cancel or end sessions, users & roles with their privileges, backup and restore.

Enterprise connections

SSH tunnels, SSL, SQL Server Windows authentication, Oracle without Instant Client, import from Beekeeper, DBeaver and DataGrip.

Safe by default

Read-only connections, a production guard, and a confirmation before DELETE or UPDATE without WHERE, DROP or TRUNCATE.

Keyboard first

Command palette (Ctrl/⌘ K), quick table open (Ctrl/⌘ P), split view, tabs that survive a restart.

Big schemas stay fast

Thousands of tables across many schemas: filter the explorer, hide schemas you don't use, pin the tables you do.

Share with your team

A shared team folder with connections, queries and notes, exports without passwords, and a data dictionary as one HTML page.

Model, understand and redesign

Design a database before it exists, or change the one you have. Teams that use DeZign for Databases open their projects here, edit them and save them back, without DeZign installed.

Interactive ER diagrams

Automatic layout, crow's-foot notation, focus on a table and its neighbours, saved subject-area diagrams, and the join path between any two tables as ready SQL.

Join path between two tables in the ER diagram

Design on the live database

Edit tables, columns, keys and indexes right on the diagram. DB Mastermind writes the migration for your database, checks the existing data first and gives you the rollback script.

Schema designer

Model a new database

Draw tables and relationships, rename and retype right on the canvas, and keep everything else in one panel. The model is a DBML text file for Git; generate DDL for any database or compare it with one to get the migration. Opens and saves DeZign for Databases projects too.

A model edited on the canvas with the detail panel

Migrations you can trust

Every change to a database comes as a reviewed script: the existing data is checked first (NULLs, duplicates, orphans) and you get the rollback script with it.

Generated migration with impact checks

AI that knows your database

Bring the AI you already have: your Claude Code or Codex subscription, your own API key, or a model running on your computer.

Ask, explain, fix

The assistant explores the schema, samples data, runs read-only queries and asks before any change. Press Ctrl/⌘ I in the editor to describe a query; failed statements get a Fix with AI button.

A per-database knowledge base of Markdown notes teaches it what your codes and statuses mean — and AI can write the first version for you.

AI assistant

Knowledge base

Markdown notes per database explain what tables, codes and statuses mean. Keep them in Git, share them with the team, let AI draft them.

Design with AI

Describe a change in plain words; the assistant proposes tables and columns as pending design changes with a migration you review.

You stay in control

Per connection: AI off, schema only, read or write. Changes always ask first; IT can turn AI off for everyone.

Your databases in Claude Code, Codex, Cursor and more

DB Mastermind is also an MCP server: agents get schema exploration, read-only queries, join paths and your knowledge base, using the connections you already have. They see only connections where you allow AI, read-only unless you say otherwise.

Easiest: in the app open Settings → MCP server and click Add to Claude Code / Claude Desktop / Codex / Cursor / VS Code. It writes their config for you and keeps a .bak copy. The same page shows the exact command for your computer.


      

Tools for agents: list_connections, list_tables, describe_table, search_schema, get_relationships, find_join_path, sample_rows, run_query, explain_query, search_knowledge, read_knowledge, plus prompts such as document_database.

Private by design

Your databases, queries and passwords stay on your computer. No account, no tracking, nothing sent anywhere you didn't choose.

No telemetry

No analytics, no crash reports, no usage statistics, no sign-in.

Secrets stay local

Passwords and API keys are encrypted with your system keychain and go only to the database or AI provider they belong to.

AI only when you choose

Off until you set up a provider, read-only by default, and switchable off per connection or for the whole company. Ollama keeps it all on your machine.

One request of its own

The only automatic network call asks GitHub whether a new version exists. Turn it off in Settings → General.

Read the full privacy policy →

Install

Free for everyone, with no feature limits. The app keeps itself up to date.

Windows

Microsoft Store (recommended): signed by Microsoft, no warnings, updates through the Store. Get it from the Microsoft Store →

No installation: download the portable zip, unzip it, run DB Mastermind.exe. Settings stay in the folder.

Installer: …-setup.exe, per user, no admin rights. For IT: per-machine .msi.

Scoop:

scoop install https://github.com/eLh0m3r0/db-mastermind/releases/latest/download/db-mastermind.json

macOS

Download the .dmg for Apple Silicon or Intel and drag the app to Applications. The first time, right-click it and choose Open.

Homebrew:

brew tap elh0m3r0/db-mastermind https://github.com/eLh0m3r0/db-mastermind
brew install --cask db-mastermind

Linux

AppImage: make it executable and run it; it updates itself.

Debian / Ubuntu: the .deb package.

All downloads and release notes →