whereismyai
DBHub
DBHub is a minimal database MCP server that connects Claude and AI editors to relational databases.
DBHub is a minimal database MCP server that connects AI tools like Claude Code, VS Code, and Cursor to multiple relational databases through a single interface. It serves as the official example in the Claude Code docs for connecting to PostgreSQL via MCP. The software supports PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, and SQLite simultaneously using TOML configuration. It provides features such as read-only mode, row limiting, query timeouts, SSH tunneling, and SSL/TLS encryption for secure access. Users can execute SQL queries, search schema objects, explain query execution plans, and define custom parameterized operations.
DBHub at a glance
- Best for: Software engineer
- Pricing: Free
- Released: March 2025
- Category: AI coding tool
- Website: dbhub.ai
Key features
- Execute SQL queries with transaction support
- Search database schemas, tables, and columns
- Explain SQL query execution plans
- Perform health checks on connection pools
- Define custom parameterized SQL operations
- Support multiple database connections simultaneously
- Apply guardrails with row limits and timeouts
Use it for
- Local development with schema exploration and query validation
- Provide read-only database access to non-technical staff
- Consolidate multiple database connections into one server
- Troubleshoot production systems with safety guardrails
Companions
Tools that articles about DBHub recommend using with it, each with its job.
- Claude — Built to work with Claude.
- Composio — Equips AI agents with tools, managed user auth, and sandboxes across 1,500+ apps
- Make — Runs and manages Make scenarios from a conversation.
- Canva — Templates for almost any design, plus AI editing in one tool
- Figma — Brings design files and components into the chat.
- Context7 — Up-to-date API documentation for coding questions.
Alternatives to DBHub
- mcp-router — Reduces Claude Code tokens by 13% to 44% using tool search and JSON shaping
- Claude Code Mode — Reduces context token usage by returning only the final program result.
- DBCode — It brings a full database IDE directly into code editors without separate apps.
- Claude Context — It reduces token costs and provides deep context for large codebases.
- Claude Plugin — Builds and publishes web apps directly inside Claude Code with built-in hosting.
- DBX — It combines lightweight size, open-source access, and built-in AI for over one hundred databases.
- Codebase Guide — It generates accurate documentation with diagrams directly from the source code.
- phonebook — Query another repository's Claude Code session directly from your current workspace.
- Build with Claude — Search over 28,500 plugins, 6,900 skills, and 6,600 MCP servers.
- MCP Toolbox for Databases — Connects AI agents to diverse enterprise databases with built-in security and observability.
- Claude HUD — Shows real-time context usage, rate limits, and agent activity inside your terminal.
- SuperClaude — Adds 30 slash commands and 8 MCP servers to Claude Code.
All DBHub alternatives