Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
DBHub is a TypeScript MCP server that acts as a gateway between MCP-compatible clients and relational databases, supporting PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite through a single interface. It exposes three MCP tools: `execute_sql` for running queries with transaction support and safety controls, `search_objects` for exploring schemas, tables, columns, indexes, and stored procedures via progressive disclosure, and `custom_tools` for defining reusable parameterized SQL operations in a `dbhub.toml` file. The server connects to Claude Desktop, Claude Code, and other MCP clients over stdio or HTTP transport, and can handle multiple database connections simultaneously from one instance. A built-in web workbench lets users run queries and inspect request traces without any MCP client. Notably, the entire server ships with zero external dependencies and intentionally limits itself to two core MCP tools by default to minimize token consumption, preserving context window space for developers, data analysts, and database administrators working with AI coding assistants.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Mature repo (>1y old)
git clone https://github.com/bytebase/dbhub{
"mcpServers": {
"dbhub": {
"command": "node",
"args": ["/path/to/dbhub/dist/index.js"]
}
}
}MCP Servers overview
What people ask about dbhub
What is bytebase/dbhub?
+
bytebase/dbhub is mcp servers for the Claude AI ecosystem. Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite. It has 3.2k GitHub stars and was last updated today.
How do I install dbhub?
+
You can install dbhub by cloning the repository (https://github.com/bytebase/dbhub) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is bytebase/dbhub safe to use?
+
Our security agent has analyzed bytebase/dbhub and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains bytebase/dbhub?
+
bytebase/dbhub is maintained by bytebase. The last recorded GitHub activity is from today, with 6 open issues.
Are there alternatives to dbhub?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy dbhub to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/bytebase-dbhub)<a href="https://claudewave.com/repo/bytebase-dbhub"><img src="https://claudewave.com/api/badge/bytebase-dbhub" alt="Featured on ClaudeWave: bytebase/dbhub" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!