MCP Directory

DBHub vs BigQuery MCP server

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

 DBHub

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

Unverified
stdio (local)
No auth
TypeScript
BigQuery MCP server

Inspect BigQuery schemas and run SQL queries from your LLM client.

Unverified
stdio (local)
No auth
Python
CategoryDatabasesDatabases
LanguageTypeScriptPython
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars3.0k127
Last commit1 month ago4 months ago
Verified
Actively maintained
Installnpx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname"npx -y @smithery/cli install mcp-server-bigquery --client claude
RepoOpen Open

Verdict

Pick DBHub if you prefer the more popular, battle-tested option.

Pick BigQuery MCP server if you prefer its approach (inspect bigquery schemas and run sql queries from your llm client).

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"
      ]
    }
  }
}

Add BigQuery MCP server

Install / run
npx -y @smithery/cli install mcp-server-bigquery --client claude

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

{
  "mcpServers": {
    "bigquery-mcp-server": {
      "command": "uvx",
      "args": [
        "mcp-server-bigquery"
      ],
      "env": {
        "BIGQUERY_PROJECT": "{{GCP_PROJECT_ID}}",
        "BIGQUERY_LOCATION": "{{GCP_LOCATION}}"
      }
    }
  }
}

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

FAQ

DBHub or BigQuery MCP server — which is better?

Pick DBHub if you prefer the more popular, battle-tested option. Pick BigQuery MCP server if you prefer its approach (inspect bigquery schemas and run sql queries from your llm client).

Can I use both DBHub and BigQuery MCP server?

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 DBHub and BigQuery MCP server work with Claude, Cursor and Windsurf?

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