dbhub

MCP server by bytebase · ★ 3.7k · updated yesterday

DatabasesMaintainedGrade AOne-click install

Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.

Install dbhub

Choose your AI client and copy the config.

Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude. Setup guide

{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": [
        "@bytebase/dbhub@latest",
        "--transport",
        "http",
        "--port",
        "8080",
        "--dsn",
        "\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""
      ]
    }
  }
}
Before you install: Install command taken from the project README. Check the README for any required environment variables.

Related servers