Lazydb

A beautiful and convenient TUI database client with MCP support.

LLM Mart 2 views 65 listing impressions

A keyboard-first database workspace for your terminal, built in Rust.

Quickstart · Databases · Documentation · Releases

LazyDB SQL editor with query execution and results

More screenshots: table data, monitoring, mouse support, MCP, and Neovim
Table Data Monitoring Dashboard
Table data with filtering and ordering Database monitoring dashboard
Mouse Support MCP and Neovim
Mouse interaction in LazyDB LazyDB MCP access alongside Neovim
Neovim SQL Completion and Syntax Highlighting
Neovim SQL editing with LazyDB language-server completion
  • Explore databases — browse schemas, table data, Redis/Valkey keys, and MongoDB documents.
  • Write SQL — use Vim-style editing, catalog-aware completion, and multiple consoles with query results and transaction controls where supported.
  • Work in your tools — integrate with Neovim, coding agents, MCP, and a JSON CLI.

LazyDB is in beta. Feature availability varies by database; see the capability reference and current limitations.

Quickstart

macOS / Linux

curl -fsSL https://lazydb.yelog.org/install.sh | sh

Windows (PowerShell, x86_64)

powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "irm https://lazydb.yelog.org/install.ps1.txt -ErrorAction Stop | iex"

Homebrew (macOS)

brew install yelog/tap/lazydb

Follow the installer's shell instructions or open a new terminal, then start LazyDB:

lazydb
  1. In Explorer, select No profiles and press Enter to create your first connection. Choose a driver, enter its connection details, then save and connect.
  2. Open a table to inspect its data, or press F6 to open the SQL console manager.
  3. Press F2 to search commands and objects. F1 opens help; the footer and help view show contextual controls for the active pane and mode.

Use Ctrl-c to quit from the workspace.

SQL consoles also work offline: write, format, and save SQL before connecting. See the Omni Bar guide and keyboard reference for navigation and execution controls. If icons render incorrectly, start with lazydb --icons unicode or lazydb --icons ascii.

For release channels, Linux requirements, manual downloads, source builds, updates, and removal, see the installation guide.

Supported Databases

Type Databases
Server SQL PostgreSQL, MySQL, MariaDB, Oracle, SQL Server, ClickHouse
Embedded SQL SQLite, DuckDB
Key-value and document Redis, Valkey, MongoDB

Oracle requires Oracle Instant Client. DuckDB requires an optional C API runtime that is not bundled; see runtime setup. Redis and Valkey use a key/value browser; MongoDB uses a document explorer and bounded JSON console. See the MongoDB guide for its scope.

From the project's README.

Related servers

Read and write RAGE Package Format archives

23 views

See how ChatGPT, Claude, Gemini and Perplexity read any website. Scored out of 100.

19 views

MCP server for Geargrafx PC Engine / TurboGrafx-16 emulator

19 views

Read-only on-chain intel for AI agents on Base: balances, tokens, gas, tx status. No API keys.

15 views