dbhub
dbhub is an MCP server, listed under databases. It reaches mysql, postgres and sqlite. Its repository has 3,702 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.
dbhub connects to and manages multiple database servers including Postgres, MySQL, SQL Server, Oracle, MariaDB, and SQLite, requiring token authentication.
Install
Read from dbhub’s own README, close to verbatim -- not written by us, and not guessed.
npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"
What it reaches, and what it needs
Maintenance
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
What dbhub can do
4 tools documented in its README. An AI client calls these by name.
execute_sql- Execute SQL queries with transaction support and safety controls
search_objects- Search and explore database schemas, tables, columns, indexes, and procedures with progressive disclosure
explain_sql- Show a query's execution plan without running it
health_check- Report connection pool state and buffer cache hit ratio
Read from the README; names are kept only if the README contains them.
dbhub compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| dbhub (this page) | mysql, postgres, sqlite | None listed | 3,702 | 2026-10-21 | MIT |
| heimdall-mcp | mysql, postgres, sqlite(3 shared) | None listed | 11 | 2026-07-16 | NOASSERTION |
| mcp-alchemy | mysql, postgresql, sqlite(2 shared) | None listed | 422 | 2026-10-15 | MPL-2.0 |
| dbmcp | dbmcp, mysql, postgresql, sqlite(2 shared) | DBMCP_TOKEN, DB_PASSWORD, HTTP_AUTH_TOKEN | 32 | 2026-10-22 | MIT |
| mcp-server-mysql | mysql(1 shared) | None listed | 2,173 | 2026-07-27 | MIT |
| mysql_mcp_server | mysql(1 shared) | MYSQL_PASSWORD | 1,402 | 2026-08-02 | MIT |
Ranked by services in common with dbhub, then by stars. Figures are from each repository when we last read it.
Common questions about dbhub
- What does dbhub do?
- dbhub connects to and manages multiple database servers including Postgres, MySQL, SQL Server, Oracle, MariaDB, and SQLite, requiring token authentication.
- How do I install dbhub?
- Its own README gives this command: npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable". Run it where your MCP client can launch the server, and check the README for any settings it asks for.
- What does dbhub connect to, and what does it need?
- It reaches mysql, postgres and sqlite.
- Is dbhub official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 3,702 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-21.
- What licence does dbhub use?
- The repository declares the MIT licence.
More MCP servers for databases
- CodeGraphContext4,354 stars
- mcp-server-mysql2,173 stars
- mysql_mcp_server1,402 stars
- server874 stars
- supabase-mcp-server833 stars
- atlas-mcp-server478 stars