Back to directory

DBHub

A minimal, token-efficient Model Context Protocol server that lets AI clients connect to and explore PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, and SQLite databases through a single interface.

DBHub

DBHub is an MCP server that exposes a database to AI clients such as Claude Code, VS Code, and Cursor with a minimal set of tools, aiming to keep as much of an agent's context window as possible free for its actual work. By default it loads only two tools, for executing SQL and for searching database objects, with additional tools such as showing an execution plan or a health check available as opt-in extras.

It can connect to multiple databases at once through a TOML configuration file, and includes guardrails such as a read-only mode, row limits, and query timeouts, along with SSH tunneling and TLS for secure access. It is used as the official example in the Claude Code documentation for connecting to PostgreSQL over MCP.

It is written in TypeScript and released under the MIT license.

More in MCP servers

See all 734
  • Light Cloud

    light-cloud.com

    A hosting platform that deploys a static site, a container, or a managed Postgres database straight from a GitHub, GitLab, or Bitbucket push, with a preview URL for every branch and an MCP server for deploying from Claude Code.

  • ForensicDbg

    forensicdbg.com

    A post-mortem debugger for native Windows x86 and x64 crashes, with an MCP interface so AI tools can consume crash-dump analysis directly.

  • Karada.ai

    karada.ai

    A CI/CD platform that auto-compiles existing APIs into Go MCP servers, attaches composable middleware, and exposes them through one gateway usable from Cursor, Claude Code, and Windsurf.