Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bytebasev2.1.0MITIn 1 marketplace
Lets Claude run SQL queries and search schemas on PostgreSQL, MySQL or SQLite databases. Needs a connection string (DSN) and Node.js 22.5 or newer; says it is read-only by design, rejecting write statements.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Database connection string (DSN)dsn
Examples: postgres://user:password@localhost:5432/dbname | mysql://user:password@localhost:3306/dbname | mariadb://user:password@localhost:3306/dbname | sqlserver://user:password@localhost:1433/dbname | oracle://user:password@localhost:1521/FREEPDB1 | clickhouse://user:password@localhost:8123/dbname | sqlite:///path/to/database.db. Append ?sslmode=require for SSL. Use a least-privilege, read-only database account.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
SensitivestringRequired
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Plugin for DBHub — a minimal, token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, and SQLite. One directory serves both hosts: Claude Code reads .claude-plugin/plugin.json + .mcp.json, Codex reads .codex-plugin/plugin.json + mcp.codex.json. Full guides: https://dbhub.ai/claude-code-plugin and https://dbhub.ai/codex-plugin
dbhub (via npx @bytebase/dbhub, pinned to this plugin's version) exposing two tools: execute_sql and search_objects.dbhub:setup: skill that helps you build the connection string, troubleshoot connection failures, and graduate to a multi-database TOML config when needed.dbhub:explore: teaches the agent the token-efficient progressive-disclosure workflow for exploring schemas (names → summary → full).Inside Claude Code (the repo doubles as a plugin marketplace via .claude-plugin/marketplace.json):
/plugin marketplace add bytebase/dbhub
/plugin install dbhub@dbhub
For development on the plugin itself, load it from a checkout instead: claude --plugin-dir ./plugin.
Claude Code prompts for your database connection string (DSN) on install and stores it in secure storage, e.g. [REDACTED:DB Connection String] — run /dbhub:setupfor help building one. To change it later, open/plugin` → dbhub → configuration.
The repo is also a Codex marketplace (.agents/plugins/marketplace.json):
codex plugin marketplace add bytebase/dbhub
codex plugin add dbhub@dbhub
Codex has no install-time prompt, so the plugin reads the DSN from the DBHUB_DSN environment variable of the environment Codex starts in — e.g. export DBHUB_DSN="[REDACTED:DB Connection String] in your shell profile. For development, add a checkout as a local marketplace: codex plugin marketplace add /path/to/dbhub`.
Like the MCPB bundle, this plugin ships a fixed read-only configuration (dbhub.toml): mutating statements are rejected by the SQL classifier, the database session is set read-only at the engine level, and results are capped at 1000 rows. Pair it with a least-privilege, read-only database account.
Need write access, multiple databases, SSH tunnels, or custom tools? Register DBHub directly with your own TOML config instead:
# Claude Code
claude mcp add dbhub -- npx -y @bytebase/dbhub@latest --transport stdio --config /path/to/dbhub.toml
# Codex
codex mcp add dbhub -- npx -y @bytebase/dbhub@latest --transport stdio --config /path/to/dbhub.toml
npx fetches the @bytebase/dbhub package on first launch)7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground