Whodb

by clidey

454 downloads
Not rated
GitHub

About

WhoDB CLI - a powerful database management tool with interactive TUI, programmatic commands, and MCP server for AI assistants.

Details

Author
clidey
Downloads
454
Categories
Other, Database, Developer Tools

- Multi-database support (PostgreSQL, MySQL, SQLite3, MongoDB, Redis, etc.)
- AI-powered natural language to SQL via Ollama, OpenAI, Anthropic, or any OpenAI-compatible provider
- Spreadsheet-like data grid with inline editing and bulk operations
- Interactive schema topology visualization
- Jupyter-like scratchpad query editor
- Mock data generation and flexible export (CSV, Excel, JSON, SQL)

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Whodb
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the CLI via curl -fsSL https://raw.githubusercontent.com/clidey/whodb/main/cli/install/install.sh | bash, npm install -g @clidey/whodb-cli, or upcoming Homebrew. Launch the interactive TUI with whodb-cli or run the MCP server with whodb-cli mcp serve. The server listens on port 8080 by default.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "whodb": {
            "whodb": {
                "command": "npx",
                "args": [
                    "-y",
                    "@clidey/whodb-cli",
                    "mcp",
                    "serve"
                ]
            }
        }
    }
}

McpServers

{
    "whodb": {
        "command": "npx",
        "args": [
            "-y",
            "@clidey/whodb-cli",
            "mcp",
            "serve"
        ]
    }
}

WhoDB

Lightweight, Fast, and Beautiful Database Management

<!-- Build Status -->
Release workflow
release version
release date
docker pulls
release downloads
docker size

[//]: # ([![E2E Tests]&#40;https://github.com/clidey/whodb/actions/workflows/e2e-ce.yml/badge.svg&#41;]&#40;https://github.com/clidey/whodb/actions/workflows/e2e-ce.yml&#41;)

Commits per month
last commit
PRs Welcome
contributors
closed issues
closed PRs

License
GitHub Stars
Go
TypeScript
Go Report Card

Available on

Docker
Windows
macOS
Snap
CLI

๐Ÿš€ Quick Start โ€ข ๐Ÿ“– Documentation โ€ข ๐ŸŽฎ Live Demo โ€ข ๐Ÿ’ฌ Community

</div>

---

<p align="center">WhoDB Interface</p>

๐ŸŽฏ What is WhoDB?

WhoDB is the modern database management tool that developers actually want to use.

Built with GoLang and React, WhoDB is a lightweight (<50MB) yet powerful database client that combines blazing-fast performance with an intuitive, beautiful interface. Whether you're debugging a production issue, exploring a new database schema, or managing data for your next feature, WhoDB makes database management feel effortless.

Why WhoDB?

<table>
<tr>
<td width="50%">

๐Ÿš€ Lightning Fast
- Instant startup (<1s)
- Real-time query results
- Efficient table virtualization
- 90% less resource usage than traditional tools

๐ŸŽจ Beautiful & Intuitive
- Clean, modern interface
- Spreadsheet-like data grid
- Interactive schema visualization
- No training required

</td>
<td width="50%">

๐Ÿค– AI-Powered
- Natural language to SQL
- Talk to your data conversationally
- Supports Ollama, OpenAI, Anthropic, and any OpenAI-compatible provider
- No complex query writing needed

๐Ÿ”ง Developer-Friendly
- Multi-database support
- Query history & management
- Mock data generation
- Flexible export options

</td>
</tr>
</table>

โœจ Key Features

๐Ÿ“Š Visual Data Management

<table>
<tr>
<td width="50%">
Data Grid View
</td>
<td width="50%">

Spreadsheet-Like Data Grid
- View, edit, and manage data intuitively
- Sort, filter, and search with ease
- Inline editing with real-time updates
- Bulk operations for efficiency

</td>
</tr>
</table>

๐Ÿ” Interactive Schema Explorer

<table>
<tr>
<td width="50%">

Visual Schema Topology
- Interactive graph visualization
- Explore table relationships
- Understand foreign keys instantly
- Pan, zoom, and navigate easily

</td>
<td width="50%">
Schema Graph
</td>
</tr>
</table>

๐Ÿ’ป Powerful Query Interface

<table>
<tr>
<td width="50%">
Scratchpad
</td>
<td width="50%">

Scratchpad Query Editor
- Jupyter-like notebook interface
- Syntax highlighting & auto-completion
- Query history & reuse
- Multi-cell organization

</td>
</tr>
</table>

๐Ÿ—„๏ธ Multi-Database Support

Community Edition (CE): PostgreSQL, MySQL, SQLite3, MongoDB, Redis, MariaDB, ElasticSearch

Enterprise Edition (EE): All CE databases plus Oracle, SQL Server, DynamoDB, Athena, Snowflake, Cassandra, and more

๐ŸŽฏ Advanced Capabilities

- Mock Data Generation - Generate realistic test data for development
- Flexible Export Options - Export to CSV, Excel, JSON, or SQL
- Advanced Filtering - Build complex WHERE conditions visually
- AI-Powered Queries - Convert natural language to SQL with Ollama, OpenAI, Anthropic, or any OpenAI-compatible provider

---

๐ŸŽฎ Try WhoDB Now

<div align="center">

Experience WhoDB in action without any setup

<table>
<tr>
<td align="center" width="50%">
<h3>๐ŸŒ Live Demo</h3>
<p>Try WhoDB instantly with our sample database</p>
<a href="https://whodb.com/demo/login?host=quick-container-491288b0-3138-48fa-93b4-1e730296c0b7.hello.svc.cluster.local&username=user&password=password&database=Adventureworks">
Login Page
</a>
<p><a href="https://whodb.com/demo/login?host=quick-container-491288b0-3138-48fa-93b4-1e730296c0b7.hello.svc.cluster.local&username=user&password=password&database=Adventureworks"><strong>Launch Demo โ†’</strong></a></p>
<p><em>Pre-filled with sample PostgreSQL database</em></p>
</td>
<td align="center" width="50%">
<h3>๐ŸŽฅ Video Demo</h3>
<p>Watch WhoDB in action</p>
<a href="https://youtu.be/hnAQcYYzcLo">
WhoDB Demo Video
</a>
<p><a href="https://youtu.be/hnAQcYYzcLo"><strong>Watch Video โ†’</strong></a></p>
<p><em>Complete walkthrough of features</em></p>
</td>
</tr>
</table>

</div>

---

๐Ÿš€ Quick Start

Option 1: Docker (Recommended)

The fastest way to get started with WhoDB:

docker run -it -p 8080:8080 clidey/whodb

Then open http://localhost:8080 in your browser.

Option 2: Docker Compose

For more control and configuration:

version: "3.8"
services:
  whodb:
    image: clidey/whodb
    ports:
      - "8080:8080"
    environment:
      # AI Integration (Optional)
      # Ollama Configuration
      - WHODB_OLLAMA_HOST=localhost
      - WHODB_OLLAMA_PORT=11434

# Anthropic Configuration
- WHODB_ANTHROPIC_API_KEY=your_key_here
# - WHODB_ANTHROPIC_ENDPOINT=https://api.anthropic.com/v1

# OpenAI Configuration
- WHODB_OPENAI_API_KEY=your_key_here
# - WHODB_OPENAI_ENDPOINT=https://api.openai.com/v1

# Generic AI Providers (OpenAI-compatible endpoints)
# Use WHODB_AI_GENERIC_<ID>_* to add any OpenAI-compatible provider.
# <ID> can be any unique identifier (e.g., LMSTUDIO, OPENROUTER).
#
# LM Studio example:
# - WHODB_AI_GENERIC_LMSTUDIO_NAME=LM Studio
# - WHODB_AI_GENERIC_LMSTUDIO_BASE_URL=http://host.docker.internal:1234/v1
# - WHODB_AI_GENERIC_LMSTUDIO_MODELS=mistral-7b,llama-3-8b
#
# OpenRouter example:
# - WHODB_AI_GENERIC_OPENROUTER_NAME=OpenRouter
# - WHODB_AI_GENERIC_OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
# - WHODB_AI_GENERIC_OPENROUTER_API_KEY=your_key_here
# - WHODB_AI_GENERIC_OPENROUTER_MODELS=google/gemini-2.0-flash-001,anthropic/claude-3.5-sonnet
# volumes: # (Optional for SQLite)
# - ./sample.db:/db/sample.db

What's Next?

1. Connect to your database - Enter your database credentials on the login page
2. Explore your schema - Browse tables and visualize relationships
3. Run queries - Use the Scratchpad to execute SQL queries
4. Manage data - Edit, add, and delete records with ease

๐Ÿ“– For detailed installation options and configuration, see our Documentation

---

๐Ÿ’ป WhoDB CLI

WhoDB also offers a powerful command-line interface with an interactive TUI (Terminal User Interface) and MCP server support for AI assistants.

Features

- Interactive TUI - Full-featured terminal interface for database management
- MCP Server - Model Context Protocol support for Claude, Cursor, and other AI tools
- Cross-Platform - Available for macOS, Linux, and Windows

Quick Install

```bash

No reviews yet โ€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.