ScriptsJul 14, 2026·3 min read

WhoDB — Lightweight Database Explorer with AI Integration

An open-source, lightweight database management tool that connects to PostgreSQL, MySQL, SQLite, MongoDB, Redis, ClickHouse, and Elasticsearch with a clean web UI and optional AI-powered query assistance.

Agent ready

Ready-to-run agent install

This asset can be installed after the agent chooses its runtime, checks the plan, and runs the matching command.

Native · 98/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
WhoDB
Direct install command
npx -y tokrepo@latest install 6b454b0c-7fc3-11f1-9bc6-00163e2b0d79 --target codex

Run after dry-run confirms the install plan.

Introduction

WhoDB is an open-source, lightweight database management tool that provides a clean web UI for exploring and querying multiple database types. It supports PostgreSQL, MySQL, SQLite, MongoDB, Redis, ClickHouse, and Elasticsearch out of the box. The tool also integrates optional AI assistance for generating and explaining SQL queries, making it useful for both daily database work and learning.

What WhoDB Does

  • Connects to PostgreSQL, MySQL, SQLite, MongoDB, Redis, ClickHouse, and Elasticsearch
  • Provides a web-based UI for browsing tables, collections, and keys
  • Supports SQL query execution with syntax highlighting and result formatting
  • Offers AI-powered query generation and explanation via configurable LLM backends
  • Visualizes table relationships and data distributions

Architecture Overview

WhoDB is built with a Go backend and a React/TypeScript frontend. The backend uses database-specific drivers to connect to each supported engine, abstracting differences behind a unified query and schema interface. The frontend presents a tabbed workspace where users can manage multiple database connections, browse schemas, run queries, and view results in table or JSON format. The AI integration sends schema context and natural language questions to an LLM endpoint, returning generated queries or explanations.

Self-Hosting & Configuration

  • Deploy with a single Docker command for instant setup
  • Configure database connections through the web UI or environment variables
  • Optional AI features require an LLM API key (supports OpenAI, Ollama, and compatible endpoints)
  • Runs as a single container with no external dependencies
  • Data and connection configs persist in a local volume

Key Features

  • Multi-database support covering SQL, NoSQL, search, and cache engines
  • Single Docker container deployment with no additional infrastructure
  • AI-powered SQL generation and query explanation
  • Clean, modern web UI with syntax highlighting and result formatting
  • Lightweight resource footprint suitable for development and homelab use

Comparison with Similar Tools

  • DBeaver — desktop Java application; WhoDB is a lightweight web-based tool
  • Adminer — PHP-based with limited database support; WhoDB covers more engines including MongoDB and Redis
  • pgAdmin — PostgreSQL-only; WhoDB supports 7+ database types
  • Chat2DB — AI database client; WhoDB is lighter and supports more backends
  • pgweb — PostgreSQL web browser; WhoDB adds multi-database and AI features

FAQ

Q: Is WhoDB suitable for production database management? A: It is designed for development, exploration, and learning. For production, use it behind authentication and network restrictions.

Q: Can I connect to remote databases? A: Yes. Provide the host, port, and credentials for any reachable database instance.

Q: Does the AI feature send my data to external services? A: The AI feature sends schema metadata and your question to the configured LLM endpoint. Row-level data is not sent unless included in your query context.

Q: Which LLM providers are supported for AI features? A: OpenAI, Ollama, Anthropic, and any OpenAI-compatible API endpoint.

Sources

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets