DearSQL
github.com/dunkbing/dearsql- Category
- Developer Tools
- Rank
- No. 3823Tools index
Previous survey · No. 3724 ·
- Type
- APP
- Use case
- Data, Retrieval & Knowledge
- Interfaces
- Desktop · CLI · MCP
- GitHub
- 199 stars
- Latest release
- v0.8.1
- Date
About
DearSQL is a cross-platform desktop database client built with C++ and Dear ImGui, with a schema browser, SQL query runner with formatted results, query history and saved connections. It supports SQLite, DuckDB, PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, MongoDB, Redis and more. The same binary also offers a terminal UI, an MCP server for coding agents and an LSP for SQL completion.
At a glance
DearSQL is a cross-platform database client that can also expose schema and queries to a coding agent. Try it if you want to inspect a database yourself and give an agent a narrowly scoped way to investigate the same data.
Good fit
Developers using several databases who want a desktop client, terminal view or SQL completion from one tool.
Consider something else when
If you only need an occasional query or your database cannot be exposed to an assistant, the agent integration may add little.
Start here
Open a disposable SQLite file and run a simple SELECT in the desktop app. To evaluate agent access, point dearsql --mcp at that one file and compare the rows with the desktop result.
Cost and requirements
The project provides desktop releases for macOS, Linux and Windows. Agent access requires a compatible MCP client and a database connection or local file.
Limits to know
MCP is read-only by default and can still return query results to the assistant. The optional --allow-writes flag adds a separate tool that can change data or schema.
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Media
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.