1. Conduid
  2. Search
  3. Whodb CLI
MCP server · Search

Whodb CLI

Where data access meets operational intelligence

87Strong

Scored 17 hours ago · breakdown

About Whodb CLI

Whodb CLI is an MCP server published by clidey in the Search category: where data access meets operational intelligence. Conduid read 17 tools from its source: whodb_audit, whodb_columns, whodb_confirm, whodb_connections, whodb_diff, whodb_erd and 11 more. It is published to npm as @clidey/whodb-cli and starts with npx.

The clidey/whodb monorepo this package is published from has 5.1K stars and 247 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is 0.139.0 (17 Nov 2026): Security and fixes Update response headers Fix generated-column forms Fix database read-guard tests Upgrade Go for security fixes Features and UI Update UI components Ad… It follows 0.138.0 (28 Oct 2026), and the 5 most recent releases go back to 0.135.0 (15 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include clickhouse, data-analysis, data-visualization, database, elasticsearch and explorer.

Install

Claude Code
claude mcp add whodb-cli -- npx -y @clidey/whodb-cli
npx
npx -y @clidey/whodb-cli
From source
git clone https://github.com/clidey/whodb

Tools (17)

whodb_auditRun data-quality checks on one schema or table. **Best for:** Finding null-rate spikes, missing primary keys, low-cardinality issues, duplicate rows, and orphaned foreign keys. **Not recommended for:** Replacing a full observability or data-governance system. **Common mistakes:** Forgetting to scope the audit to one table when you only need one table. **Usage Example:**```json{ "name": "whodb_audit", "arguments": { "connection": "mydb", "schema": "public", "table": "orders", "null_warning": 15, "null_error": 60 } }```**Returns:** Audit results per table, including issue summaries and the underlying table/column findings.
whodb_columnsDescribe the columns in a database table. **Best for:** Understanding table structure before writing queries; discovering primary keys and foreign key relationships. **Not recommended for:** When you need actual data (use whodb_query with SELECT). **Common mistakes:** Forgetting to specify the table name; not using this before writing INSERT/UPDATE queries. **Usage Example:**```json{ "name": "whodb_columns", "arguments": { "connection": "mydb", "table": "users", "schema": "public" } }```**Returns:** Array of column objects with: - name: Column name - type: Data type (varchar, integer, timestamp, etc.) - is_primary: Whether this is a primary key - is_foreign_key: Whether this references another table - referenced_table/referenced_column: Foreign key target (if applicable) **Pro tip:** Always call this before writing INSERT queries to ensure correct column names and types.
whodb_confirmConfirm and execute a pending write operation. **Best for:** Executing write queries after user approval in confirm-writes mode. **Not recommended for:** Read queries (they execute immediately without confirmation). **Common mistakes:** Using an expired token (tokens expire after 5 minutes); not explaining the query to the user before confirming. **Usage Example:**```json{ "name": "whodb_confirm", "arguments": { "token": "550e8400-e29b-41d4-a716-446655440000" } }```**Workflow:** 1. Call whodb_query with a write operation (INSERT, UPDATE, DELETE, etc.) 2. Receive confirmation_required=true, a confirmation_token, and confirmation_expiry 3. Explain to the user what the query will do in plain language 4. After user approves, call whodb_confirm with the token 5. Query executes and returns results **Token behavior:** Tokens are valid for 5 minutes (expiry time is in the response). If confirmation fails due to a connection error or timeout, you can retry with the same token — it is only consumed after successful execution. Use whodb_pending to list active tokens if you lose track.
whodb_connectionsList all available database connections. **Best for:** Discovering what databases are configured; choosing which connection to use. **Not recommended for:** When you already know the connection name. **Common mistakes:** Not calling this first when connection name is unknown. **Usage Example:**```json{ "name": "whodb_connections", "arguments": {} }```**Returns:** Array of connection objects with: - name: Connection identifier to use in other tools - type: Database type (postgres, mysql, sqlite, duckdb, etc.) - host/port/database: Connection details (passwords are never exposed) - source: "saved" (from CLI config) or "env" (from environment variables) **Note:** If only one connection exists, other tools will use it automatically when connection is omitted.
whodb_diffCompare schema metadata between two database connections. **Best for:** Spotting drift between environments; comparing staging vs production; reviewing storage-unit, column, and relationship changes. **Not recommended for:** Row-level data comparison. **Common mistakes:** Forgetting to specify both connections; comparing the same connection and schema without overrides. **Usage Example:**```json{ "name": "whodb_diff", "arguments": { "from_connection": "staging", "to_connection": "prod", "from_schema": "public", "to_schema": "public" } }```**Returns:** A structured schema diff with storage-unit, column, and relationship summaries plus per-object changes.
whodb_erdLoad backend graph metadata for a schema or database. **Best for:** Understanding how tables relate before writing joins; inspecting primary/foreign key relationships programmatically. **Not recommended for:** Query execution. **Common mistakes:** Expecting row data instead of metadata. **Usage Example:**```json{ "name": "whodb_erd", "arguments": { "connection": "mydb", "schema": "public" } }```**Returns:** Storage units with columns plus normalized relationship edges sourced from backend graph metadata.
whodb_explainRun EXPLAIN for a SQL query using the database's native explain mode. **Best for:** Understanding query plans; checking whether a query will scan too much data before you run the real query. **Not recommended for:** Fetching actual data (use whodb_query for that). **Common mistakes:** Passing a non-SQL string; forgetting that EXPLAIN output is database-specific. **Usage Example:**```json{ "name": "whodb_explain", "arguments": { "connection": "mydb", "query": "SELECT * FROM users WHERE email LIKE '%@example.com' LIMIT 10" } }```**Returns:** The database-native EXPLAIN output with columns and rows, ready for follow-up analysis.
whodb_mcp_setupStart here for self-contained WhoDB MCP guidance and setup, without skills or shell access. inspect returns settings/schema/choices; preview validates a patch without saving; apply saves only a token-bound, user-approved preview; verify checks active targets. Restart after changes. Never send credentials.
whodb_pendingList all pending write confirmations that are waiting for approval. **Best for:** Recovering lost confirmation tokens; checking what operations are pending. **Not recommended for:** Anything else — this is a utility tool for the confirm-writes workflow. **Usage Example:**```json{ "name": "whodb_pending", "arguments": {} }```**Returns:** Array of pending confirmations with token, query, connection, and expiry time. **Important:** Tokens are single-use and expire after 60 seconds. If expired, re-submit the original query to get a new token.
whodb_platform_function_waitWait for a persisted hosted function run to complete, fail or be canceled, then return its output, logs and error. Use the run id returned by the function start_run action and keep the timeout bounded; a run keeps going after a timed-out wait.
whodb_platform_resolve_resourceResolve a hosted resource name or id to an exact project resource before reading, planning, or writing it.
whodb_platform_transform_waitWait for a real hosted transform run to reach success or failure. Use the run id returned by whodb_platform_action and keep the timeout bounded.
whodb_platform_workflow_recipeReturn a goal-oriented, read-first recipe for using the hosted WhoDB platform. This never executes writes; use its steps to build and apply a confirmed workflow.
whodb_query
whodb_schemasList all schemas (namespaces) in a database. **Best for:** Discovering what schemas exist in a database; understanding database organization before exploring tables. **Not recommended for:** When you already know the schema name (proceed directly to whodb_tables). **Common mistakes:** Calling this repeatedly - schema lists rarely change during a session. **Usage Example:**```json{ "name": "whodb_schemas", "arguments": { "connection": "mydb" } }```**Returns:** Array of schema names (e.g., ["public", "analytics", "audit"]). **Typical workflow:** whodb_schemas → whodb_tables(include_columns=true) → whodb_query **Optional parameter:** Set "include_tables": true to also return all tables within each schema in a single call. This populates a "details" array with schema names and their tables, saving you a separate whodb_tables call per schema.
whodb_suggestionsLoad backend-generated starter queries for a schema or database. **Best for:** Quickly orienting yourself in an unfamiliar database; suggesting first queries for exploration. **Not recommended for:** Exhaustive SQL tutoring. **Common mistakes:** Treating the suggestions as guaranteed-valid business logic rather than onboarding hints. **Usage Example:**```json{ "name": "whodb_suggestions", "arguments": { "connection": "mydb", "schema": "public" } }```**Returns:** A short list of backend-generated query suggestions derived from the actual storage units in the resolved schema.
whodb_tablesList all tables in a database schema. **Best for:** Discovering what tables exist in a schema; getting table metadata like row counts. **Not recommended for:** When you already know the table name (proceed directly to whodb_columns or whodb_query). **Common mistakes:** Not specifying schema when the database has multiple schemas with same-named tables. **Usage Example:**```json{ "name": "whodb_tables", "arguments": { "connection": "mydb", "schema": "public" } }```**Returns:** Array of table objects with name and attributes (row count, size, etc.). **Note:** If schema is omitted, uses the connection's default schema or the first available schema. **Optional parameter:** Set "include_columns": true to also return column details (name, type, primary key, foreign keys) for each table. This saves you separate whodb_columns calls and gives you everything needed to write queries in a single round-trip.

Security checks

From the clidey/whodb monorepo, not this package alone.

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.1K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by cli/go.sum and 5 more.

2 checks have not been run yet.

Releases

From the clidey/whodb monorepo.

0.139.0Release 0.139.0 · 17 Nov 2026Security and fixes Update response headers Fix generated-column forms Fix database read-guard tests Upgrade Go for security fixes Features and UI Update UI components Add CLI sync support Improve MCP support Rename desktop app to WhoDB…
0.138.0Release 0.138.0 · 28 Oct 2026Security and fixes Guard multipart uploads Limit connection probes Hide advanced profile values DuckDB test fix Features and UI Add a better 404 page Update CLI support and CLI feature fixes Update translations Tooling and maintenance…
0.137.00.137.0 · 28 Oct 2026What's Changed chore(deps): bump the minor-and-patch group across 1 directory with 6 updates by @dependabot[bot] in https://github.com/clidey/whodb/pull/1368 chore(deps): bump the minor-and-patch group across 1 directory with 3 updates by…
0.136.0Release 0.136.0 · 21 Oct 2026Security fix for MySQL allowAllFiles option (https://github.com/clidey/whodb/security/advisories/GHSA-xpmq-qfwr-f4c6) UI contrast fixes CLI MCP functionality updates Removed old code Library updates across backend, frontend, sdk, cli…
0.135.0Release 0.135.0 · 15 Oct 2026Security fix for TestSourceConnection bypass (https://github.com/clidey/whodb/security/advisories/GHSA-jcvx-4v4m-p5v9) Security fix for DuckDB bypass (https://github.com/clidey/whodb/security/advisories/GHSA-x3h5-pr45-fx4r) Update UI to…

README

The repository's README runs to about 1.1K words, fetched 6 days ago. The original in the repository is authoritative.

Read full README
Questions

About Whodb CLI

How do I install Whodb CLI?

In Claude Code, run claude mcp add whodb-cli -- npx -y @clidey/whodb-cli. Other MCP clients take the command after "--" in their server configuration.

Is Whodb CLI safe to use with an AI agent?

Its trust score is 87 out of 100 (strong). It passes all 4 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Whodb CLI still maintained?

Yes — the latest release in the clidey/whodb monorepo is 0.139.0 (17 Nov 2026), and the last commit was 20 hours ago. The clidey/whodb monorepo has 5.1K stars and 41 open issues.

What tools does Whodb CLI provide?

Conduid read 17 tools from the source: whodb_audit, whodb_columns, whodb_confirm, whodb_connections, whodb_diff, whodb_erd, whodb_explain, whodb_mcp_setup and 9 more.

What license is Whodb CLI released under?

The repository declares the Apache-2.0 license. That applies to the latest release, 0.139.0, as well.