MCPIndependentBytebase
DBHub
Runs SQL on Postgres, MySQL, MariaDB, SQL Server, Oracle and SQLite from a single server.
A lightweight server from Bytebase: by default it has only two tools (SQL execution and object search), so it uses little context. It connects to several databases at once and offers a read-only mode, row limits, an SSH tunnel and a web UI. It is the official Postgres connection example in the Claude Code docs; it is worth using a read-only user in --dsn.
Installation
Manual install
$claude mcp add --transport stdio db -- npx -y @bytebase/dbhub --dsn "postgresql://<USER>:<PASSWORD>@<HOST>:5432/<DATABASE>"Details
- Works in
- Claude Code, Claude, Cursor, VS Code, Windsurf, Codex, Gemini CLI, Zed
- Transport
- local
- License
- MIT
- Tasks
- Data, Code
- Rating
- Source
- github.com/bytebase/dbhub (opens in a new tab)
Tags
- sql
- postgres
- mysql
- mariadb
- sqlite
- sql server
- oracle
- databases
A pack is your own set of skills and MCP servers. sciver loads it in your AI with one command.