Whodb logo

Whodb

Connects AI tools to self-hosted databases through WhoDB’s CLI MCP server for browsing and querying.

Install Whodb

Run the project’s own setup commands, in order.

Setup steps from the project

whodb installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    docker run --rm -it -p 8080:8080 clidey/whodb
    
  2. 2. Configure
    docker run -it -p 8080:8080 \
      -v whodb-data:/data \
      -e WHODB_ENCRYPTION_KEY=your_saved_64_character_hex_key \
      clidey/whodb
    
  3. 3. Install
    curl -fsSL https://raw.githubusercontent.com/clidey/whodb/main/cli/install/install.sh | bash
    
  4. 4. Install
    npm install -g @clidey/whodb
    
  5. 5. Start the server
    whodb mcp serve   # start the MCP server
    

Overview

whodb is a self-hosted database workspace whose CLI includes an MCP server for AI tools. It connects agents to databases including PostgreSQL, MySQL, SQLite, MongoDB, Redis, Elasticsearch, ClickHouse, and others supported by WhoDB. Use it when an agent needs to inspect or query database data through a locally run service. The same project also provides browser, desktop, Docker, and terminal interfaces for database work.

Use cases

  • Connect an AI tool to a self-hosted database for exploration
  • Query unfamiliar schemas from an agent-accessible terminal service
  • Inspect local development databases without a heavyweight client
  • Generate and move test data through the WhoDB workspace

Key features

  • CLI MCP server for AI tools
  • Support for relational, document, key-value, search, and analytical databases
  • Interactive terminal user interface
  • Schema graph and query scratchpad
  • Data editing, import, export, and mock-data generation
  • Docker, desktop, browser, and Snap deployment options

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

58/58 checks healthy over the last 45d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5.1kStargazers on the source repository.
Last commit5d agoMost recent push to the default branch.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Whodb works

What whodb does

whodb combines a database workspace with a command-line MCP server. The server lets AI tools work with databases configured through WhoDB, while the wider workspace supports browsing, editing, querying, schema exploration, imports, exports, and mock-data generation.

Supported sources include PostgreSQL, CockroachDB, YugabyteDB, QuestDB, MySQL, MariaDB, TiDB, SQLite, DuckDB, MongoDB, FerretDB, Redis, Valkey, Dragonfly, Elasticsearch, OpenSearch, ClickHouse, and Memcached. Available operations vary by database because each system exposes different concepts and capabilities.

How it works

Install the WhoDB CLI, then start the MCP service with whodb mcp serve. The CLI also includes an interactive terminal interface, so the same installation can be used for direct terminal-based database work. AI tools connect through the MCP server and use WhoDB as the database access layer.

WhoDB can also run as a Docker container, in a browser-based deployment, or through desktop applications for macOS, Windows, and Snap. The Docker quick start publishes port 8080 and opens the workspace at http://localhost:8080; database connection details are entered there.

Setup and configuration

On macOS or Linux, install the CLI with the project’s installation script:

Terminal
curl -fsSL https://raw.githubusercontent.com/clidey/whodb/main/cli/install/install.sh | bash

An npm installation is also available:

Terminal
npm install -g @clidey/whodb

Start the MCP server with:

bash
whodb mcp serve

For a browser deployment, run:

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

Persistent Docker sessions require a generated encryption key, a mounted /data directory, and WHODB_ENCRYPTION_KEY. If HTTPS is terminated by a reverse proxy, set WHODB_SECURE=true so session cookies are restricted to HTTPS. Changing the encryption key invalidates existing sessions.

Tools and capabilities

The WhoDB workspace provides the following database features:

  • Browse, filter, sort, paginate, and edit rows in a grid.
  • Explore tables and relationships through an interactive schema graph.
  • Run queries in a multi-cell scratchpad with autocomplete, history, and adjacent results.
  • Import and export data.
  • Generate mock data for development and testing.
  • Ask database questions in plain language using a configured AI provider.

The MCP server is included with the CLI and is intended to expose WhoDB’s database workflow to AI tools.

Limitations and notes

Database support is not uniform across all connectors, so the available connection options and operations depend on the selected source. The default x86-64 Docker image requires AVX2, BMI2, and FMA support; older CPUs and virtual machines that hide those features should use the clidey/whodb:latest-compat image.

AI providers are optional. WhoDB Community supports hosted providers such as OpenAI, Anthropic, and Gemini, plus local Ollama and LM Studio options. These providers relate to WhoDB’s AI features and are not required to start the CLI MCP server.

WhoDB Community is the Apache-2.0-licensed edition. A separate commercial WhoDB Platform edition adds organizational features such as shared projects, SSO, access controls, audit logs, pipelines, reporting, and internal apps.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Whodb

whodb is an MCP server that connects AI tools to databases supported by WhoDB, including PostgreSQL, MySQL, SQLite, MongoDB, Redis, Elasticsearch, and ClickHouse. Its main capabilities are database browsing and querying through the WhoDB CLI, which also provides an interactive terminal interface for direct database work.

Install the WhoDB CLI, then run `whodb mcp serve`. macOS and Linux users can use the project’s installation script, or install the package globally with `npm install -g @clidey/whodb`. The CLI includes both the MCP server and an interactive terminal interface.

whodb supports PostgreSQL, CockroachDB, YugabyteDB, QuestDB, MySQL, MariaDB, TiDB, SQLite, DuckDB, MongoDB, FerretDB, Redis, Valkey, Dragonfly, Elasticsearch, OpenSearch, ClickHouse, and Memcached. Available features vary by database because each connector exposes different capabilities.

Yes, run `docker run --rm -it -p 8080:8080 clidey/whodb` and open `http://localhost:8080`. For persistent encrypted sessions, mount `/data` and set `WHODB_ENCRYPTION_KEY`; use `WHODB_SECURE=true` when serving WhoDB behind an HTTPS reverse proxy.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWhodb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/whodb?style=directory)](https://allmcps.com/mcp/whodb)
HTML Embed
<a href="https://allmcps.com/mcp/whodb"><img src="https://allmcps.com/api/badge/whodb?style=directory" alt="Whodb on AllMCPs" /></a>