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 3k GitHub stars and was last updated 3d ago.
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 3d ago, with 5 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.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。