Whodb logo

Whodb

Self-hosted MCP access to databases for browsing, querying, editing, and schema exploration through the WhoDB CLI.

Install Whodb

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

Setup steps from the project

whodb installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order 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 exposes WhoDB’s self-hosted database workspace to AI agents through an MCP server included with its CLI. It connects to databases including PostgreSQL, MySQL, SQLite, MongoDB, Redis, Elasticsearch, ClickHouse, and others supported by WhoDB. Start it with `whodb mcp serve` after installing the CLI with the project’s installer or npm. Reach for it when an agent needs to inspect, query, or work with database contents without relying on a separate database client.

Use cases

  • Browse tables and records through an AI client
  • Run queries against self-hosted databases
  • Inspect relationships in unfamiliar schemas
  • Edit database records from an agent workflow
  • Generate mock data for development databases

Key features

  • MCP server included with the WhoDB CLI
  • Supports relational, document, key-value, search, and analytics databases
  • Database browsing and querying
  • Schema and relationship exploration
  • Record editing, imports, and exports
  • Optional plain-English AI features

Security & health

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

ActiveLast checked Today

Recent health check succeeded.

29/29 checks healthy over the last 18d

Adoption & maintenance

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

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

How Whodb works

What whodb does

whodb brings WhoDB’s database workspace to MCP-compatible AI clients through a command-line server. It is designed for self-hosted database work and can connect to a broad set of relational, document, key-value, search, analytics, and in-memory systems.

Supported sources include PostgreSQL-compatible databases such as PostgreSQL, CockroachDB, YugabyteDB, and QuestDB; MySQL-compatible systems such as MySQL, MariaDB, and TiDB; SQLite and DuckDB; MongoDB and FerretDB; Redis, Valkey, and Dragonfly; Elasticsearch and OpenSearch; ClickHouse; and Memcached.

The surrounding WhoDB workspace supports data browsing and editing, SQL or database queries, schema visualization, imports and exports, mock-data generation, and a query scratchpad. The MCP server provides an agent-facing way to work with the database environment through the CLI.

How it works

The MCP server is shipped as part of the WhoDB CLI. Once the CLI is installed, run:

bash
whodb mcp serve

The command starts the MCP entry point for an AI client. Database connection examples and the complete command reference are maintained in the CLI guide. Connection support varies by database because different sources expose different capabilities; WhoDB presents the applicable options for each connection.

WhoDB itself can also run as a browser-based workspace, desktop application, terminal interface, or Docker deployment. This makes whodb useful when an agent workflow needs to operate alongside a self-hosted database interface rather than connect through a hosted service.

Setup and configuration

Install the CLI on macOS or Linux with the project installer:

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

Alternatively, install the npm package globally:

Terminal
npm install -g @clidey/whodb

Then launch the MCP process with whodb mcp serve. The broader WhoDB application can be run with Docker, desktop packages, Snap, or the CLI. Docker deployments can persist encrypted login sessions by mounting /data and setting WHODB_ENCRYPTION_KEY; WHODB_SECURE=true is available when serving the web application through an HTTPS reverse proxy. These settings apply to the WhoDB deployment rather than being required for the CLI MCP command.

Tools and capabilities

The WhoDB environment gives agents and users access to database-oriented work such as:

  • Browsing database contents and table data
  • Running database queries
  • Editing records in supported sources
  • Inspecting relationships through a visual schema graph
  • Importing and exporting data
  • Generating mock data for development and testing
  • Working with multiple database families from one workspace

AI features in WhoDB can optionally use Ollama, OpenAI, Anthropic, Gemini, LM Studio, or another OpenAI-compatible provider. Those providers support WhoDB’s plain-English AI features and are separate from starting the MCP server.

Limitations and notes

Support is not identical across all database types. Relational databases, document stores, caches, search engines, and analytics systems expose different operations, so available connection and workspace options depend on the selected source.

The repository contains the Apache-2.0 Community edition. WhoDB Platform is a separate commercial edition with additional organizational features and data sources. The MCP command is part of the Community CLI installation described above.

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 agents to supported databases through WhoDB’s database workspace and provides tools for browsing data, querying sources, editing records, and exploring schemas. It runs from the WhoDB CLI with `whodb mcp serve` and supports self-hosted database workflows.

Install the WhoDB CLI, then run `whodb mcp serve`. On macOS or Linux, use the project’s shell installer, or install the CLI globally with `npm install -g @clidey/whodb`.

whodb supports PostgreSQL, CockroachDB, YugabyteDB, QuestDB, MySQL, MariaDB, TiDB, SQLite, DuckDB, MongoDB, FerretDB, Redis, Valkey, Dragonfly, Elasticsearch, OpenSearch, ClickHouse, and Memcached. Available operations vary by database.

Yes, WhoDB can run in Docker, while the MCP server is started through the CLI with `whodb mcp serve`. A Docker deployment can persist encrypted web-application sessions by mounting `/data` and setting `WHODB_ENCRYPTION_KEY`.

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>