# whodb [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/clidey/whodb  
**GitHub Stars:** 5077  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/whodb

## Description
Self-hosted workspace for browsing and querying databases (Postgres, MySQL, SQLite, MongoDB, Redis and more), with an MCP server for agents.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/clidey/whodb), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
docker run --rm -it -p 8080:8080 clidey/whodb
```

2. Configure:

```sh
docker run -it -p 8080:8080 \
  -v whodb-data:/data \
  -e WHODB_ENCRYPTION_KEY=your_saved_64_character_hex_key \
  clidey/whodb
```

3. Install:

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

4. Install:

```sh
npm install -g @clidey/whodb
```

5. Start the server:

```sh
whodb mcp serve   # start the MCP server
```

## Documentation

## 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:

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

An npm installation is also available:

```bash
npm install -g @clidey/whodb
```

Start the MCP server with:

```bash
whodb mcp serve
```

For a browser deployment, run:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/whodb/readme_

