Dbhub MCP Server

DBHub is a minimal MCP server: token-efficient, zero-dependency, and just two tools by default with opt-in extras. It runs locally over stdio via the published package.

People connecting database tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-21 · ★ 3,395 · #3 OF 151 MAINTAINED DATABASE · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Dbhub

Claude Code

claude mcp add bytebase-dbhub -- npx -y @bytebase/dbhub

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "bytebase-dbhub": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @bytebase/dbhub - published under the repo owner's npm scope (@bytebase)

registry namespace io.github.bytebase is GitHub-verified and matches the repo owner

03 · What Dbhub can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v1.2.1 · 2026-08-21

split DSN credentials on the last @ of the authority · replace deprecated --max-rows flag reference in execute_sql docs · support per-source AWS profiles · Add truncated flag to execute_sql results when max_rows cuts…

v1.2.0 · 2026-07-31

kill server-side query on timeout instead of leaking it into the pool · SQL Server max_rows not enforced across UNION/INTERSECT/EXCEPT · return per-statement result sets, wire up frontend tabs · add bearer token auth…

v1.1.0 · 2026-07-31

block SELECT-invocable escape-hatch functions in readonly mode (#377) · add opt-in explain_sql tool · add opt-in health_check tool

04 · Who maintains Dbhub

DBHub is maintained by bytebase. It's the only MCP server we track from this author; the repo dates to Mar 2025.

05 · Facts

category
database - ranked #3 of 151 actively-maintained database servers as of 2026-08-25.
release cadence
7 releases in the last 90 days (latest 2026-08-21)
registry
io.github.bytebase/dbhub (active, first published 2025-12-17 · 9 versions)
packages
npm:@bytebase/dbhub

06 · Dbhub FAQ

What is Dbhub?

DBHub is a minimal MCP server: token-efficient, zero-dependency, and just two tools by default with opt-in extras. It runs locally over stdio via the published package.

Is Dbhub still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-21 and it shipped 7 releases in the last 90 days. We re-verify nightly.

How do I install Dbhub?

Run `npx -y @bytebase/dbhub`. You can also paste the ready-made client config above.

Does Dbhub run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Dbhub

head to head · Dbhub vs Supabase · Dbhub vs MongoDB MCP Server · Dbhub vs Dbx

More database MCP servers · Nyc Property Intel · Place Root · ClickHouse · Codegraph · Colabfit MCP

More TypeScript MCP servers · Server Browser · Server Commands · Server Search · Peak Window · see all