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 Secure, read-only access to Google BigQuery datasets for LLMs, with field-level PII/PHI protection. Unverified stdio (local) No auth TypeScript | |
|---|---|---|
| Category | Databases | Databases |
| Language | TypeScript | TypeScript |
| Transport | stdio (local) | stdio (local) |
| Auth | None | None |
| GitHub stars | 3.0k | 142 |
| Last commit | 1 month ago | 2 months ago |
| Verified | ||
| Actively maintained | ||
| Install | npx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname" | npx -y @ergut/mcp-bigquery-server --project-id your-project-id |
| Repo | Open | Open |
Verdict
Pick DBHub if you prefer the more popular, battle-tested option.
Pick BigQuery MCP Server if you prefer its approach (secure, read-only access to google bigquery datasets for llms, with field-level pii/phi protection).
Add DBHub
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
npx -y @ergut/mcp-bigquery-server --project-id your-project-idPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"bigquery-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ergut/mcp-bigquery-server",
"--project-id",
"your-project-id"
]
}
}
}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 (secure, read-only access to google bigquery datasets for llms, with field-level pii/phi protection).
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.