DBHub
Supports UIby bytebase
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, and SQLite.
What it does
DBHub is a lightweight gateway that allows AI agents to connect to and explore multiple databases through a single, token-efficient interface. It provides secure access with guardrails to prevent runaway queries.
Tools
execute_sql: Execute SQL queries with transaction support and safety controls.search_objects: Explore database schemas, tables, columns, and procedures with progressive disclosure.Custom Tools: Define reusable, parameterized SQL operations in a TOML configuration file.
Installation
Add to claude_desktop_config.json:
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": ["-y", "@bytebase/dbhub", "--transport", "stdio", "--dsn", "postgres://user:password@localhost:5432/dbname"]
}
}
}
Supported hosts
Claude Desktop, Claude Code, Cursor, VS Code, Copilot CLI
Quick install
npx @bytebase/dbhub@latestInformation
- Pricing
- free
- Published
- 4/13/2026
- stars







