A side-by-side look at the Sql Query MCP and Dbhub MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Sql Query MCP for databases work as a local process; choose Dbhub for databases as a local process. You can also run both side by side in one mcpServers block.
SQL_QUERY_MCP_CONFIG.dbhub.toml.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Databases | Databases |
| Quality signal | 51/100 · Good | 57/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | other | Not declared |
| Pricing | Free | Not declared |
| Required env vars | SQL_QUERY_MCP_CONFIG | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 7 | 3,691 |
| Directory activity | 5 views 0 installs 0 upvotes | 1 views 0 installs 0 upvotes |
| Tools | Not listed | 1 |
| Full listing | View Sql Query MCP | View Dbhub |
No tool names declared yet. Check the project README from the listing page.
dbhub.tomlPaste 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": {
"andywang1688-sql-query-mcp": {
"command": "pipx",
"args": [
"run",
"sql-query-mcp",
"sql-query-mcp"
],
"env": {
"SQL_QUERY_MCP_CONFIG": "YOUR_SQL_QUERY_MCP_CONFIG_HERE"
}
}
}
}
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub@latest"
]
}
}
}