MCP MCP server · io.github.bytebase
io.github.bytebase/dbhub
Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB
- host stars
- 3,529
- 30-day movement
- +248/day
- Related entries
- 2
- Connections
- 0
npmlocalstdio
DBHub is a minimal, token-efficient MCP server that connects AI clients to PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite databases. It loads only 2 tools by default at roughly 1.4k tokens, and ships with a built-in web workbench for running database tools visually.
You want database access from an MCP client without burning your context window on tool definitions.
Use it to
- Explore schemas during local development
- Validate and debug queries via Claude Code or Cursor
- Give non-technical users curated read-only database access
- Try tools in the built-in web workbench
- Install read-only via MCP bundle or Docker
For Developers wiring databases into AI coding assistants
- Runs
- installed — on your machine
- Transport
- stdio
- Packaged as
- npm:@bytebase/dbhub
- Install
- npx -y @bytebase/dbhub
- Needs
- 16 environment variables, including secrets
- Version
- 1.2.3
- Last release
- 2026-09-02
topicsmcpdatabasepostgresqlmysqlsqlitesql-server