◆ 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·v2.1.0
100· A
Install
git clone https://github.com/bytebase/dbhub
Stars
4,021
7d change
▲ 2.79%
Downloads / week
—
Last active
4 days ago
About

[!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.

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

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