Connect AI to Your Databases
DBHub is a zero-dependency MCP server that bridges Claude, Cursor, and other AI clients with PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite databases. Token-efficient, secure, and built for local development.
Quick Start
Get DBHub running in minutes with Docker, npm, or demo mode.
Run DBHub with Docker
Try demo mode (no database required)
Key Features
Built for AI-powered database workflows with developer experience in mind.
Zero Dependencies
Multi-Database Support
Token-Efficient Schema Exploration
Multi-Connection Configuration
Secure Access
Built-in Workbench
Query Guardrails
Custom Tools
MCP Tools
DBHub implements three core MCP tools for database operations.
execute_sql
Execute SQL queries with transaction support, safety controls, and row limiting.
search_objects
Search and explore database schemas, tables, columns, indexes, and procedures with progressive disclosure.
Custom Tools
Define reusable, parameterized SQL operations in your dbhub.toml configuration file.
Supported Databases
Connect to any of these databases through a unified MCP interface.
PostgreSQL
MySQL
MariaDB
SQL Server
SQLite
SSH Tunnels
Ready to Connect AI to Your Database?
Get started with DBHub in minutes. Zero dependencies, token-efficient, and built for local development.