npx claudepluginhub dunkbing/dearsqlYour DearSQL connections as agent tools: schema search, read-only queries, query plans with index warnings, index review, S3 storage
A simple, cross-platform database client built with Dear ImGui.

The same binary runs in the terminal (docs):
dearsql --tui [connection] # browse and query in the terminal
dearsql --mcp # database tools for coding agents (MCP)
dearsql --lsp # SQL completion and hover for editors
dearsql query "SELECT ..." # the same tools as commands: search, describe, query, ...

A connection is a saved name, a URL, or a SQLite/DuckDB/CSV file.
DearSQL gives an agent your saved connections (credentials stay encrypted in DearSQL, SSH tunnels included) as tools, with compact text results (docs):
| Tool | |
|---|---|
search_schema, describe_table, list_tables | find tables and columns (fuzzy, typo-tolerant), then keys, indexes and foreign keys |
run_query | one read-only statement, paged with a cursor |
explain_query | the query plan plus warnings: full scans a filter mostly discards, scans repeated per join row, spilled sorts, bad estimates |
review_indexes | foreign keys with no index, indexes another one covers |
explain_finding | what a warning code means, how to confirm it, the usual fix |
profile_table | per column: nulls, distinct values, min and max, the common values |
diff_schema | the statements that would make one database's schema match another's |
execute_sql | a change, approved by you first (--allow-writes over MCP) |
list_objects, read_object, ... | S3 buckets and files |
The dearsql command has to be on your PATH: Settings → Command Line → Install 'dearsql' Command in the app, or the install script below.
Claude Code: the plugin registers the MCP server and adds a skill that teaches the workflow (search before writing SQL, explain before suggesting an index, approve every write):
/plugin install dearsql --marketplace dunkbing/dearsql
or only the MCP server: claude mcp add dearsql -- dearsql --mcp.
Codex: register the server and add the skill to ~/.agents/skills:
codex mcp add dearsql -- dearsql --mcp
mkdir -p ~/.agents/skills/dearsql && curl -fsSL https://raw.githubusercontent.com/dunkbing/dearsql/main/plugins/dearsql/skills/dearsql/SKILL.md -o ~/.agents/skills/dearsql/SKILL.md
Anything else: any MCP client can run dearsql --mcp over stdio, and an agent with a shell can use the same tools as commands (dearsql tools lists them). The skill in plugins/dearsql/skills/dearsql/SKILL.md works as a prompt for any of them.
Download the latest release for macOS, Linux, and Windows from GitHub Releases, or on macOS/Linux:
curl -fsSL https://dearsql.dev/install.sh | sh
yay -S dearsql
# or
paru -S dearsql
./scripts/build
# or
claude "build this project"
7-day visitors to each marketplace page
UI/UX design intelligence skill with 80 styles, 194 palettes, 74 font pairings, 25 charts, and 22 stack guidelines
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Editorial diagrams in your brand, as self-contained HTML and SVG. Architecture, flowcharts, sequence, state machines, ER and database schemas, timelines, swimlanes, org charts, Gantt, Wardley maps, user journeys, service blueprints, UML class, lifecycle phase maps, and charts from bar, line and scatter to Sankey, treemap and heatmap, plus many more. Redraws draw.io, Mermaid, Excalidraw and PlantUML files. Exports SVG and PNG.