LocalFree

DBHub MCP server

bytebase/dbhub

Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

3,760 GitHub stars329 forks

Install DBHub in Claude Code

Claude Code
claude mcp add dbhub -- npx -y @bytebase/dbhub
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub"
      ]
    }
  }
}

Frequently asked questions

What does the DBHub MCP server do?

Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

Is the DBHub MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does DBHub run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add DBHub to Claude Code?

Run: claude mcp add dbhub -- npx -y @bytebase/dbhub

More databases MCP servers

View all