dbhub

One skill across Postgres, MySQL, SQL Server, MariaDB and SQLite — and its actual job is forcing explore-before-query on real schemas.

Score 0(?)VerifiedCodeby BytebaseSourceDocs
Verified for:

Install

$ npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname"

Start the DBHub MCP server first, then install the bundled Claude Code plugin from the repo (plugin/.claude-plugin/plugin.json).

Best for

Querying an unfamiliar production-shaped schema, where the agent guessing table and column names is the failure you are trying to prevent.

Not ideal for

Setups without MCP. It requires the DBHub MCP server plus a DSN, and it can execute SQL — so scope the connection to a read-only role unless writes are the point.

About this skill

Guide for querying databases through the DBHub MCP server. Use whenever you need to explore database schemas, inspect tables, or run SQL queries via DBHub tools (search_objects, execute_sql, and the opt-in explain_sql and health_check). Activates on any database query task, schema exploration, data retrieval, or SQL execution through MCP — even if the user just says "check the database" or "find me some data". Ensures the correct explore-first workflow instead of guessing table structures.

MCPSQLMulti-engine

Score breakdown

Score breakdown

rubric 1.0
Install count
0/20
Provenance
12.8/15
GitHub stars
10/15
Recency
10/10
Compatibility
2/10
Documentation depth
10/10
Install ergonomics
7/10
License
5/5
Verification freshness
0.5/5

Composite 0–100 score derived from 9 verifiable signals. See the rubric →

PlanetScale's schema branching and index-aware queries, packaged for agents.

SchemaMigrationsMySQL
Code
Medium4 min

Supabase done right. RLS policies, edge functions, realtime, auth — in idiomatic patterns.

PostgresRLSRealtime
Code
Medium4 min

Prisma migrations and queries by the book. Index-aware, migration-safe, type-correct.

PrismaTypeScriptMigrations
Code
Medium3 min

Ranked #2 in Databases

Publish the ranking in your README. The badge reads the live score, so it updates when the ranking does.

dbhub — ranked #2 in Databases on Top Agent Skills
Markdown
[![dbhub — ranked #2 in Databases on Top Agent Skills](https://top-agent-skills.com/badge/dbhub.svg)](https://top-agent-skills.com/skill/dbhub)
HTML
<a href="https://top-agent-skills.com/skill/dbhub"><img src="https://top-agent-skills.com/badge/dbhub.svg" alt="dbhub — ranked #2 in Databases on Top Agent Skills"></a>

Skill FAQ

About dbhub

What is the dbhub skill?

Guide for querying databases through the DBHub MCP server. Use whenever you need to explore database schemas, inspect tables, or run SQL queries via DBHub tools (search_objects, execute_sql, and the opt-in explain_sql and health_check). Activates on any database query task, schema exploration, data retrieval, or SQL execution through MCP — even if the user just says "check the database" or "find me some data". Ensures the correct explore-first workflow instead of guessing table structures.

Which agents does dbhub work with?

Claude Code.

How do I install dbhub?

Run `npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname"` for Claude Code. See the install panel for per-agent commands.

Is dbhub free to use?

Yes — dbhub is open source (MIT).

Who maintains dbhub?

dbhub is published by Bytebase and was last updated on 2026-08-15.

What is dbhub best for?

Querying an unfamiliar production-shaped schema, where the agent guessing table and column names is the failure you are trying to prevent.