MCP.Market

DBHub MCP server

by bytebase·io.github.bytebase/dbhub·v1.5.1·3.6k stars

Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

A85/100grade A
What users say
No reviews yet
Be the first
Safety scan
A85/100

not scanned yet

Adoption
Widely used

3.6k stars40k downloads/wk

Reviews

Write one

Nobody has reviewed DBHub yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

DBHub tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How DBHub compares

Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
85/100
higher than 65% of 802 Databases servers
GitHub stars
3,645
more than 96% of 602 Databases servers
Downloads a week
40,078
more than 97% of 328 Databases servers with a package

Release history: 6 versions in the registry since 2026-09-02, latest 2026-11-03, typically one every 11 days.

Install DBHub in Claude Code, Cursor or VS Code

Runs npx -y @bytebase/dbhub on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add dbhub -- npx -y @bytebase/dbhub
Add to Cursor

What the publisher says

From the DBHub repository's README, as published. We do not edit it. Read it on GitHub

[!NOTE]

If you need an enterprise-level database MCP server with built-in guardrails like approval flow, access control, data masking, and audit logging beyond what DBHub offers, check out Bytebase.

+------------------+    +--------------+    +------------------+
            |                  |    |              |    |                  |
            |  Claude Desktop  +--->+              +--->+    PostgreSQL    |
            |                  |    |              |    |                  |
            |  Claude Code     +--->+              +--->+    SQL Server    |
            |                  |    |              |    |                  |
            |  Cursor          +--->+    DBHub     +--->+    Oracle        |
            |                  |    |              |    |                  |
            |  VS Code         +--->+              +--->+    SQLite        |
            |                  |    |              |    |                  |
            |  Copilot CLI     +--->+              +--->+    MySQL         |
            |                  |    |              |    |                  |
            |                  |    |              +--->+    MariaDB       |
            |                  |    |              |    |                  |
            +------------------+    +--------------+    +------------------+
                 MCP Clients           MCP Server        

DBHub is a minimal MCP server: token-efficient, zero-dependency, and just two tools by default with opt-in extras. This lightweight gateway allows MCP-compatible clients to connect to and explore different databases:

  • Minimal: Zero dependency, token efficient with a minimal set of MCP tools to maximize context window
  • Multi-Database: PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, and SQLite through a single interface
  • Multi-Connection: Connect to multiple databases simultaneously with TOML configuration
  • Guardrails: Read-only mode, row limiting, and query timeout to prevent runaway operations
  • Secure Access: SSH tunneling and SSL/TLS encryption

DBHub is the official example in the Claude Code docs for connecting to PostgreSQL via MCP.

Token Efficiency

DBHub loads just 2 tools by default at 1.4k tokens — 13-14x fewer than alternatives — keeping the context window open for your actual work.

Use Cases

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

DBHub: common questions

Is DBHub MCP server safe?
Yes, by our scan: it is graded A (85/100). Read the DBHub safety report
How do I install DBHub?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does DBHub need an API key?
Yes. The registry entry asks for DSN, DB_PASSWORD, SSH_PASSWORD, SSH_PASSPHRASE.
Is DBHub maintained?
The last commit was 22 days ago (2026-10-13). The latest release is v1.5.1.
What can I use instead of DBHub?
Servers from other publishers that do the same job: Faucet MCP server, Quarry MCP server and NeoSQL MCP server. Compare all DBHub alternatives.
How does DBHub compare with other Databases MCP servers?
safety score 85/100 (higher than 65% of 802 Databases servers); github stars 3,645 (more than 96% of 602 Databases servers); downloads a week 40,078 (more than 97% of 328 Databases servers with a package). Full comparison.

Alternatives to DBHub

Same job from other publishers: the closest match first, then the best rated.

All DBHub alternatives →
  • Faucet
    SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.
    A
  • Quarry
    Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.
    A
  • NeoSQL MCP
    Schemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.
    A
  • DB Explorer
    Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice
    B
  • Appwrite
    Build and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDN
    A