AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Security & Safety/
dbhub
dbhub logo

dbhub

Active·★ 2.9k·MIT·Updated 2026-04-21
★ Hidden Gem★ Data Processing★ Dev Tooling

Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.

DBHub is a zero-dependency, token-efficient Model Context Protocol (MCP) server that acts as a lightweight gateway. It enables MCP-compatible clients to securely connect to and manage various databases like PostgreSQL, MySQL, and SQLite through a unified interface with built-in safety controls.

#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

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
03

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"
04

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.
05

Alternatives

awesome-n8n-templates logo
awesome-n8n-templates★ 22.6k
Supercharge your workflow automation with this curated collection of n8n templates! Instantly connect your favorite apps-like Gmail, Telegram, Google Drive, Slack, and more-with ready-to-use, AI-powered automations. Save time, boost productivity, and unlock the true potential of n8n in just a few clicks.
vs →
FastMCP logo
FastMCP★ 25.4k
The fast, Pythonic way to build MCP servers and clients. Designed by the Pydantic team for type safety and speed.
vs →
Context7 logo
Context7★ 56.4k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
vs →
GitHub MCP Server logo
GitHub MCP Server★ 30.3k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
vs →
CopilotKit logo
CopilotKit★ 31.8k
React UI + elegant infrastructure for AI Copilots, AI chatbots, and in-app AI agents. The Agentic Frontend.
vs →
genai-toolbox logo
genai-toolbox★ 15.4k
MCP Toolbox for Databases is an open source MCP server for databases.
vs →
Figma-Context-MCP logo
Figma-Context-MCP★ 14.9k
MCP server to provide Figma layout information to AI coding agents like Cursor
vs →
pal-mcp-server logo
pal-mcp-server★ 11.6k
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
vs →
See all alternatives →

Related searches

dbhub AlternativesBest Security & Safety Tools 2026Open Source Security & Safetydbhub Tutorialdbhub Vs CompetitorsMCP ServerDatabase GatewaySQL Client

Comments

Log in to leave a comment
  • B
    Blake WilsonApr 22, 2026

    Zero dependency claim holds up — no external runtime requirements.

  • S
    Sam JacksonApr 8, 2026

    Good for teams who want a lightweight database MCP without complex setup.

  • R
    Robin WhiteApr 1, 2026

    Token efficiency matters for database-heavy workflows where queries consume context.

  • E
    Emerson KimMar 8, 2026

    Works across multiple database engines from a single server.

  • R
    Rebel ClarkMar 6, 2026

    Zero-dependency, token-efficient database MCP for Postgres, MySQL, and SQL Server.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 2.9k
Last commit1mo ago
StatusActive
LicenseMIT
CategorySecurity & Safety
Trend (30d)
+0.1k↑ 2.3%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.