DBHub
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, and SQLite. Maintained by Bytebase. 2,717 GitHub stars and 3 commits on main in the last 30 days.
INSTALL THIS SERVER
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DATABASE_URL": "postgres://user:pass@host:5432/db"
}
}
}
}
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DATABASE_URL": "postgres://user:pass@host:5432/db"
}
}
}
}
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DATABASE_URL": "postgres://user:pass@host:5432/db"
}
}
}
}
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DATABASE_URL": "postgres://user:pass@host:5432/db"
}
}
}
}
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DATABASE_URL": "postgres://user:pass@host:5432/db"
}
}
}
}
6 SELECTED TOOLS
OUR ASSESSMENT
bytebase/dbhub is the Bytebase team's multi-engine database MCP. Tool surface covers query execution, table and database discovery, schema introspection, and EXPLAIN. Differentiates from googleapis/genai-toolbox (broader, Google Cloud-flavoured) and per-engine MCPs by being zero-dependency Node and covering five engines in one binary.
- Bytebase official maintenance.
- 2,717 GitHub stars.
- 3 commits on main in the last 30 days.
- MIT license.
- Five database engines in one MCP.
- Zero-dependency Node binary.
- Token-efficient output.
- execute_query carries write capability; agent prompt path needs review.
- No per-tool permissioning; restrict via the database role attached to DATABASE_URL.
- Smaller engine catalog than googleapis/genai-toolbox (no BigQuery, Spanner).
DATABASE_URL carries the full database role permission. Use a read-only role for read-heavy agent flows. execute_query permits writes; gate destructive queries via the connecting role or wrap the agent prompt path with explicit operator confirmation.
Teams running mixed Postgres/MySQL/SQL Server/MariaDB/SQLite stacks who want one MCP across all; token-budget-sensitive agent flows where dbhub's lean output beats verbose SQL clients; Node-only environments that prefer not to install Go or Python toolchains.
TECHNICAL DETAILS
RECORDED ADOPTION METRICS
Saved directory snapshots. Record last checked MAY 9, 2026. The review date above does not refresh these figures.
// Recorded note2,717 stars on bytebase/dbhub. 3 commits on main in the last 30 days.
// Recorded notePairs with MCP Toolbox for Databases, Postgres, MongoDB, Neon, Supabase, ClickHouse, Redis, MindsDB, Elasticsearch, PlanetScale, Neo4j MCPs. DBHub owns the lean-multi-engine slot.
SOURCES & RECORDED CHECKS
These are the directory listings and check details held in this record. Client compatibility, directory listings and installation testing are separate signals. Recorded client names describe the scope of a check; they do not establish a security assessment or a recurring test schedule.
The same server, 4 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.
| Source | Their rating | Their star count | Their downloads | Last synced |
|---|---|---|---|---|
| AutomationSwitch This page | 4.4editorial | 2,717 | — | MAY 9, 2026 |
| PulseMCP | — unrated | unavailable | unavailable | MAY 9, 2026 |
| MCP.so | — unrated | unavailable | unavailable | MAY 9, 2026 |
| Glama | — unrated | unavailable | unavailable | MAY 9, 2026 |
| Smithery | — unrated | unavailable | unavailable | MAY 9, 2026 |
// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.
OTHER DATABASE MCP SERVERS
Postgres MCP
Official MCP server for PostgreSQL. Provides read and write access to PostgreSQL databases with schema introspection, query execution, and transaction support. The reference implementation for database MCP servers.
Supabase
Persistence layer with full Postgres access and Row Level Security awareness. Query tables, manage schemas, handle auth users, and work with storage buckets.
MCP Toolbox for Databases
Google's open-source MCP server for databases. One MCP binary speaks PostgreSQL, MySQL, BigQuery, Spanner, AlloyDB, Cloud SQL, and SQLite. 14,937 GitHub stars and 100 commits on main in the last 30 days. Highest commit cadence in the directory.
ClickHouse MCP
Official ClickHouse MCP server with both ClickHouse Tools (production cluster queries) and chDB Tools (embedded ClickHouse for local analytics). Apache-2.0 with destructive-operation protection: write access is opt-in via configuration.
Timescale Postgres AI Guide
Timescale official MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding agents write better Postgres queries. 1,718 GitHub stars and 2 commits on main in the last 30 days.
Redis MCP
Official Redis MCP server with natural-language interface for managing and searching Redis data. EntraID authentication for Azure Managed Redis included; Redis ACL configurable via environment variables. Tool coverage spans strings, lists, hashes, sets, sorted sets, JSON, vectors, and search.
DISCUSS YOUR
MCP REQUIREMENTS.
Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.