AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
API Integration/
dbhub
dbhub logo

dbhub

Active·★ 3.7k·MIT·Updated 2026-10-21

DBHub, brought to you by Bytebase, is a zero-dependency, token-efficient MCP server that acts as a lightweight gateway between MCP clients (Claude Desktop, Claude Code, Cursor, VS Code, Copilot CLI) and databases. It supports PostgreSQL, MySQL, SQL Server, MariaDB and SQLite.

It exposes a small set of MCP tools: execute_sql, which runs SQL queries with transaction support and safety controls, search_objects, which searches and explores schemas, tables, columns, indexes and procedures with progressive disclosure, and custom tools, which are reusable parameterised SQL operations you define in a dbhub.toml configuration file. A built-in web workbench lets you run queries and custom tools and view requests visually. The README includes quick-start and multi-database setup sections, and the project is MIT licensed.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-18.

License
MIT
Latest release
v1.5.0 · 2026-10-09
Last commit
2026-10-13
Contributors
41
Forks
335
Open issues and PRs
2
First published
2025-03-09
npm package
@bytebase/dbhub 1.5.0 · 22,268 downloads last week

Source: GitHub, npm and PyPI public APIs.

#MCP Server#Database Gateway#SQL Client#Multi-Database#Zero Dependency#Developer Tools#Database Security
$ Install
$ docker run --rm --init --name dbhub --publish 8080:8080 bytebase/dbhub --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"
↗ Visit site★ GitHub
01

Features

01Zero-dependency and token-efficient design for streamlined local development.
02Supports multiple database types (PostgreSQL, MySQL, SQL Server, etc.) via a single interface.
03Connect to and manage multiple databases concurrently using TOML configuration.
04Built-in guardrails including read-only mode, row limiting, and query timeout to prevent runaway operations.
05Enhanced secure access with SSH tunneling and SSL/TLS encryption for database connections.
02

Why choose it

+Small tool surface (execute_sql, search_objects, custom tools) that keeps token use low.
+Supports five databases through one gateway: PostgreSQL, MySQL, SQL Server, MariaDB and SQLite.
+Custom tools let you expose only reviewed, parameterised SQL operations through dbhub.toml.
+Built-in web workbench to test queries and tools; MIT licensed.
03

Trade-offs

!execute_sql lets an assistant run SQL against your database, so use read-only credentials or custom tools for anything important.
!Only five database engines are supported (no MongoDB, Redis or similar).
!The README is short and defers detail to the documentation site.
05

Maintenance check

ActiveChecked: 2026-10-23
Last commit
2026-10-21
Commits, last 90 days
95
Releases, last 90 days
12
Latest release
v1.5.0 (2026-10-09)
Open issues
2
Recent issues with at least one comment
6/16
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 4, 1, 4, 0, 6, 1, 14, 6, 7, 15, 2, 1

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #146 👉👉👉 Please share your use case to shape DBHub roadmap25 comments · 2025-11-26
  • #469 Feature: per-source `[sources.session]` settings applied on each new connection1 comments · 2026-10-09

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

04

Who it fits

Pick it if
  • You want one MCP server for several engines: PostgreSQL, MySQL, SQL Server, MariaDB and SQLite.
  • You care about token use: the README describes a small tool surface of execute_sql, search_objects and custom tools.
  • You want to expose only reviewed, parameterised SQL by defining custom tools in dbhub.toml.
Look elsewhere if
  • You need MongoDB, Redis or another non-SQL store; only the five engines above are supported.
  • You want to give the model free-form SQL on production data with a powerful account; execute_sql runs whatever SQL it is given.
  • You need Google Cloud or Azure specific features such as IAM authentication.
06

How it differs

mcp-toolbox logovs mcp-toolbox★ 16.7k

Both put several SQL databases behind one MCP server and both can restrict an agent to predefined tools. DBHub is lighter (MIT, zero dependencies, five engines, a built-in web workbench). MCP Toolbox from Google covers far more sources, including Google Cloud databases, and adds connection pooling, IAM authentication and OpenTelemetry, at the cost of YAML configuration.

Full comparison →
mysql_mcp_server logovs mysql_mcp_server★ 1.4k

The MySQL-only server is simpler still, but DBHub adds other engines, a schema-search tool and custom tools instead of arbitrary SQL only.

Full comparison →
07

Compatibility

PostgreSQL
Database
Verified via docs
MySQL
Database
Verified via docs
SQL Server
Database
Verified via docs
MariaDB
Database
Verified via docs
SQLite
Database
Verified via docs
MCP Clients
Client Integration
Verified via docs
08

Quick start

1
$ docker run --rm --init --name dbhub --publish 8080:8080 bytebase/dbhub --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"
09

Use cases

↳Providing a unified gateway for various AI/developer clients (e.g., Claude, VS Code) to interact with diverse databases.
↳Managing multiple database environments (production, staging, development) efficiently from a single DBHub instance.
↳Safely executing SQL queries and exploring database schemas with transaction support and safety controls.
↳Defining and running custom reusable, parameterized SQL operations via configuration files.
↳Interacting with database tools and viewing request traces via a built-in web interface without requiring an MCP client.
10

Alternatives

⚡Top VS:
VSmcp-toolbox★16.7k→VSmysql_mcp_server★1.4k→VSfigma-mcp-bridge★825→VShass-mcp★349→
mcp-toolbox logo
mcp-toolbox★ 16.7k
MCP Toolbox for Databases is an open source MCP server for databases.
VSCompare→
mysql_mcp_server logo
mysql_mcp_server★ 1.4k
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
VSCompare→
figma-mcp-bridge logo
figma-mcp-bridge★ 825
Figma Plugin & MCP server to bypass API limits
VSCompare→
hass-mcp logo
hass-mcp★ 349
Control and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
VSCompare→
livetennisapi-mcp logo
livetennisapi-mcp★ 152
MCP server for the Live Tennis API — give Claude, Cursor and other LLM agents real-time tennis scores, odds and model win-probability
VSCompare→
faucet logo
faucet★ 164
Faucet is an open-source, single-binary server that turns any SQL database into a secure, governed REST API with role-based access control and native MCP support for applications and AI agents.
VSCompare→
bambu-printer-mcp logo
bambu-printer-mcp★ 230
MCP server for Bambu Lab 3D printers — STL manipulation, BambuStudio or FULU/orca slicing, Blender MCP integration, and direct printer control
VSCompare→
unreal-api-mcp logo
unreal-api-mcp★ 97
Instant, accurate Unreal Engine API lookups instead of expensive source file reads, saving your agent tokens, context, and hallucinations.
VSCompare→
See all alternatives →

Featured in these lists

  • Best MCP Servers for Databases

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs05Maintenance check04Who it fits06How it differs07Compatibility08Quick start09Use cases10Alternatives
bytebase /
dbhub
↗

Zero-dependency MCP database gateway for PostgreSQL, MySQL, SQL Server, MariaDB and SQLite

3.7k335MIT
Last commit3d ago
StatusActive
CategoryAPI Integration
Contributors41
Latest releasev1.5.0
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.