Dbhub vs Sql Query MCP

A side-by-side look at the Dbhub and Sql Query MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Dbhub logoDbhubDatabases · Local subprocess (stdio)Minimal Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB57GoodAuth: not declaredSql Query MCP logoSql Query MCPDatabases · Local subprocess (stdio)A general-purpose MCP server that lets AI work with multiple databases within clear boundaries. Supports PostgreSQL and MySQL today with schema discovery, sampling, read-only queries, and query-plan inspection.51GoodAuth: other

Verdict: choose Dbhub for databases work as a local process; choose Sql Query MCP for databases as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Dbhub logoChoose Dbhub when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like dbhub.toml.
Explore Dbhub

Sql Query MCP logoChoose Sql Query MCP when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: other.
  • You have the keys it needs: SQL_QUERY_MCP_CONFIG.
Explore Sql Query MCP

Feature & specification comparison

Rows where the two servers differ are marked.

SpecDbhub logoDbhubSql Query MCP logoSql Query MCP
CategoryDatabasesDatabases
Quality signal57/100 · Good51/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredother
PricingNot declaredFree
Required env varsNone listedSQL_QUERY_MCP_CONFIG
Verified ownerCommunity listingCommunity listing
GitHub stars3,6917
Directory activity 1 views 0 installs 0 upvotes 5 views 0 installs 0 upvotes
Tools1Not listed

Tools & capabilities

Dbhub tools 1

  • dbhub.toml

Sql Query MCP tools

No tool names declared yet. Check the project README from the listing page.

Ready-to-paste client configs

Paste 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.

Dbhub

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub@latest"
      ]
    }
  }
}

Sql Query MCP

mcpServers (Claude Desktop / Cursor)
{
  "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"
      }
    }
  }
}

Frequently asked questions

Dbhub is categorized under Databases and uses a local stdio subprocess. Sql Query MCP belongs to Databases and uses a local stdio subprocess. Pick Dbhub for databases work and Sql Query MCP for databases.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Dbhub has no declared pricing — check the project's own site. Sql Query MCP is listed as free. Auth: other. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add dbhub and andywang1688-sql-query-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Dbhub has a quality signal of 57/100 (Good) with 1 views, 0 installs and 3,691 GitHub stars. Sql Query MCP has 51/100 (Good) with 5 views, 0 installs and 7 GitHub stars.