MCP Directory

YDB MCP vs DBHub

A side-by-side comparison of two Databases servers — tools, transport, auth, maintenance, and copy-paste config for each.

 YDB MCP

Query and explore YDB databases from any MCP-compatible LLM using natural language.

Unverified
stdio (local)
API key
Python
DBHub

Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, and SQLite.

Unverified
stdio (local)
No auth
TypeScript
CategoryDatabasesDatabases
LanguagePythonTypeScript
Transportstdio (local)stdio (local)
AuthAPI keyNone
GitHub stars273.0k
Last commit7 days ago1 day ago
Verified
Actively maintained
Installpip install ydb-mcpnpx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname"
RepoOpen Open

Verdict

Pick YDB MCP if you need the broadest set of tools.

Pick DBHub if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

Add YDB MCP

Install / run
pip install ydb-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "ydb-mcp": {
      "command": "uvx",
      "args": [
        "ydb-mcp",
        "--ydb-endpoint",
        "grpc://localhost:2136",
        "--ydb-database",
        "/local"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Add DBHub

Install / run
npx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname"

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": [
        "@bytebase/dbhub@latest",
        "--transport",
        "stdio",
        "--dsn",
        "postgres://user:password@localhost:5432/dbname"
      ]
    }
  }
}

FAQ

YDB MCP or DBHub — which is better?

Pick YDB MCP if you need the broadest set of tools. Pick DBHub if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

Can I use both YDB MCP and DBHub?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do YDB MCP and DBHub work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.