Repository navigation
LAZY SQL v0.1.0
LAZY SQL v0.1.0
First public release. LAZY SQL gives your AI coding tools reviewed access to your databases — read-only queries run instantly, every write opens a review dialog first.
Highlights
- Reviewed execution over MCP —
execute_sql(read-only runs instantly, writes wait for approval),get_db_objects,open_db_config. - Review dialog, not a popup page — the engine session spawns a frameless always-on-top window with an editable SQL editor (CodeMirror 6, schema-aware autocomplete), danger warnings and a countdown. Rejected or expired reviews close themselves.
- Desktop companion app — connections manager (enable/read-only per connection, test, import/export), built-in SQL editor, execution history with status filters, per-project MCP toggles for OpenCode / Claude Code / Kiro / Cursor, settings.
- Multi-database — PostgreSQL, MySQL/MariaDB, SQL Server, SQLite.
- Local-first security — API bound to 127.0.0.1 with a per-session token; connections stored locally (0600);
LAZY_SQL_ALLOWED_CONNECTIONSscopes each project folder to specific databases;LAZY_SQL_FORCE_READ_ONLY=1locks a whole workspace read-only.
Install
Windows x64 — requires Node.js ≥ 22.5 on PATH (the MCP engine runs on system Node):
LAZY-SQL-0.1.0-win-x64-setup.exe— per-user install, no admin rights (NSIS).LAZY-SQL-0.1.0-win-x64.msi— per-machine, for managed deployments (WiX).
macOS (universal: Apple Silicon + Intel) — requires Node.js ≥ 22.5:
LAZY-SQL-0.1.0-macos-universal.dmg— unsigned build. First launch: right-click the app → Open, or runxattr -d com.apple.quarantine "/Applications/LAZY SQL.app".
Verify downloads
af3525859a0b25177d72610c267e0fb45c556cd668b014545c1f561abc18a6fd LAZY-SQL-0.1.0-macos-universal.dmg
e6bb984a1f65c40a15e63d5433d0428c14d59b7de129e6c17cd2ea71e159179c LAZY-SQL-0.1.0-win-x64-setup.exe
7112ae5d6b9083c4ac8dd1dd38e848f22a22e49fb6644a3d85a37dff36706d8d LAZY-SQL-0.1.0-win-x64.msi
Quick start
- Install and open the app, add a database connection.
- Go to AI tools and flip the toggle for your tool (global or per project folder), choosing which connections that scope may use.
- Ask your agent for a query — reads return instantly, writes open the review dialog.