Back to browse
GitHub Repository

A lightweight next-gen data explorer - Postgres, MySQL, SQLite, MongoDB, Redis, MariaDB, Elastic Search, and Clickhouse with Chat interface

4,856 starsGo

Open-source database CLI that doubles as an MCP server for agents

by modelorona·Apr 23, 2026·3 points·0 comments

AI Analysis

●●SolidSlickShip It

MCP server lets Claude Code query databases when existing tools don't integrate.

Strengths
  • MCP server integration enables AI agents to query schemas and run SQL directly
  • Supports diverse databases including DuckDB, TiDB, plus traditional SQL and NoSQL
  • TUI with multiple windows and ER diagram generation is well-crafted
Weaknesses
  • Database management GUI space is extremely crowded with established tools
  • MCP server for databases isn't novel, similar integrations already exist
Target Audience

Developers using AI coding assistants with local databases

Similar To

DataGrip · DBeaver · TablePlus

Post Description

Hi HN, I work on WhoDB (a database management tool) and we've recently added a lot of updates to our cli so I wanted to share it here.

WhoDB (https://github.com/clidey/whodb) is a database management tool for SQL and NoSQL databases, runs in your browser, can be launched via Docker, and is available on the Apple, Microsoft, and Snap store. The WhoDB cli is both an interactive and command driven client that shares the same WhoDB Go backend and provides a TUI around it alongside an MCP server.

I use the mcp within Claude Code to help me when I develop with local databases (checking schemas, data, running actual SQL, etc) although CC is pretty good with this in general. I haven't yet tried it out with Codex so cannot comment on that.

We've added (in no particular order):

- DuckDB support

- TiDB support

- Updated layout system to support multiple windows

- SQL formatter and extended autocomplete

- SSH support (still testing this one)

- ER diagram generation

- EXPLAIN plan generation

- Mock data generation

- Simple table data audit functionality

- Read-only mode

- Streaming AI chat

- CLI profiles

- Different theme support

- JSON, NDJSON, CSV outputs

Disclaimer: a lot of the CLI code was AI-generated (mostly Claude Code). I point it to existing repos using the same libraries as reference, which helps since I don't have deep CLI development experience.

If you want to install it, there are several ways:

(1) curl -fsSL https://raw.githubusercontent.com/clidey/whodb/main/cli/inst... | bash

(2) brew install whodb-cli

(3) npm install -g @clidey/whodb-cli

(4) docker pull clidey/whodb-cli:latest

(5) Grab the executables from our latest Github release

If you want to add it to CC:

(1) claude mcp add whodb -- npx -y @clidey/whodb-cli mcp serve

(2) or you can configure it with database credentials via an env variable profile: claude mcp add whodb -e WHODB_POSTGRES='[{"alias":"dev","host":"localhost","user":"user","password":"pass","database":"mydb","port":"5432"}]' -- whodb-cli mcp serve

It should work with Codex as such: codex mcp add whodb -- whodb-cli mcp serve

Happy to hear your thoughts on how you might use this, or what additions you might find interesting. Thanks for reading!

Similar Projects

SQL Query Optimizer

LLM-augmented SQL optimizer with schema context, but lacks benchmarks proving it beats manual EXPLAIN review.

Solve My ProblemShip It
hura17
103mo ago
AI/ML●●Solid

CoreMCP – MCP Server for On-Prem DBs

Turkish collation awareness and NOLOCK support show real production thinking.

Ship ItNiche Gem
y11t0
413d ago