---
name: dbhub
slug: dbhub
score: 57
rubric: 1.0
provenance: verified-org
publisher: Bytebase
license: MIT
capability: action-taking
canonical: https://top-agent-skills.com/skill/dbhub
---

# dbhub

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

## Install

### Claude Code

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

## 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

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.

## Compatibility

claude-code

## Metadata

- Categories: databases-schemas, ai-ml-agent-tooling
- Surfaces: claude-code
- Tags: MCP, SQL, Multi-engine
- Setup time: 5 min
- Complexity: Medium
- Last update: 2026-08-15
- Verified: —
- Source: https://github.com/bytebase/dbhub/tree/main/skills/dbhub
- Docs: https://github.com/bytebase/dbhub/blob/main/skills/dbhub/SKILL.md

---

_Indexed by Top Agent Skills. Score breakdown: https://top-agent-skills.com/about/methodology_
