Claudius
Status

dbhub

MCP✦ Official

MCP server for querying Postgres, MySQL, SQL Server, MariaDB, and SQLite with a zero-dependency, token-efficient interface.

by bytebase·bytebase/dbhub·TypeScript·v1.2.0
100· A
Install
git clone https://github.com/bytebase/dbhub
Stars
3,277
7d change
1.08%
Downloads / week
Last active
1 day ago
About

[!NOTE] Brought to you by Bytebase, open-source database governance platform.

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

Read more on GitHub →
30-day stars
Trust factors
Source
official
Known advisories
0
Maintenance
active
License
MIT
Age
17 months
databasetoken-efficiencydeveloper-tools#postgresql#mysql#sqlite#mariadb#sql-server#agents#ai#anthropic#claude-ai#codex#cursor#dify#llm#mcp#mssql#postgres#sql#sqlserver