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.
“Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, and SQLite. Maintained by Bytebase. 2,717 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 TOOLS AVAILABLE
OUR ASSESSMENT
- 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
ADOPTION METRICS
// Reading this2,717 stars on bytebase/dbhub. 3 commits on main in the last 30 days.
// Reading thisPairs with MCP Toolbox for Databases, Postgres, MongoDB, Neon, Supabase, ClickHouse, Redis, MindsDB, Elasticsearch, PlanetScale, Neo4j MCPs. DBHub owns the lean-multi-engine slot.
SOURCES & VERIFICATION
We don't take any single directory's word for it. Before scoring, we cross-reference 4 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.
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.
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.
Elasticsearch MCP
Elasticsearch and OpenSearch MCP server with index management, document CRUD, search queries, cluster health, and aggregations. 270 stars and 22 commits on main in the last 30 days.
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.