A side-by-side look at the ClickHouse and MCP Database Doctor MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose ClickHouse for databases work as a local process; choose MCP Database Doctor for databases as a local process. You can also run both side by side in one mcpServers block.
MCP_CLICKHOUSE_DSN.list_profiles, run_query, analyze_query.CONTROL_PLANE_URL.analyze_query, check_migration, suggest_indexes.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Databases | Databases |
| Quality signal | 57/100 · Good | 56/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | other | No auth required |
| Pricing | Free | Free |
| Required env vars | MCP_CLICKHOUSE_DSN | CONTROL_PLANE_URL |
| Verified owner | Community listing | Community listing |
| GitHub stars | 1 | 0 |
| Directory activity | 3 views 0 installs 0 upvotes | 0 views 0 installs 0 upvotes |
| Tools | 3 | 5 |
| Full listing | View ClickHouse | View MCP Database Doctor |
list_profiles[ClickHouse] List configured connection profiles.run_query[ClickHouse] Execute read-only SELECT or SHOW.analyze_query[ClickHouse] Explain read-only SELECT.
Indexes names only the keys the plan used; confirm absent keys from
system.tables (primary_key, sorting_key, partition_key).
analyze_querySQL anti-patterns with severity and recommendationscheck_migrationDestructive DDL, index locking, constraints, rewrite and transaction riskssuggest_indexesConservative DDL candidates; not appliedexplain_planLarge sequential scans, row estimate errors, sort spills, high loopshealth_reportAggregate review of supplied artifacts onlyPaste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"clickhouse": {
"command": "uvx",
"args": [
"mcp-clickhousex"
],
"env": {
"MCP_CLICKHOUSE_DSN": "YOUR_MCP_CLICKHOUSE_DSN_HERE"
}
}
}
}
{
"mcpServers": {
"mcp-database-doctor": {
"command": "npx",
"args": [
"-y",
"mcp-database-doctor"
],
"env": {
"CONTROL_PLANE_URL": "YOUR_CONTROL_PLANE_URL_HERE"
}
}
}
}