
Zx06 Xsql
- 3 repo stars
- Updated July 28, 2026
- zx06/xsql
zx06-xsql is a Claude Code plugin that exposes a cross-database CLI to query MySQL and PostgreSQL safely with read-only mode, SSH tunnels, and JSON output.
About
zx06-xsql is a Claude Code plugin bundle around an AI-first cross-database CLI called xsql. developers and small teams use it when they need to explore MySQL or PostgreSQL schemas and run constrained queries while coding features, fixing bugs, or validating assumptions against real data. The tool emphasizes safety with read-only protection so agents are less likely to mutate production or shared dev databases during ad-hoc investigation. SSH tunneling supports common setups where the database lives on a VPS, tunnel host, or cloud instance rather than localhost. Structured JSON output is tuned for LLM consumption, which makes it easier to paste results into plans, migrations, or API design notes inside Claude Code. It is a task integration for data access, not a full ORM or migration framework; pair it with your existing stack when you want fast, guarded visibility into tables and columns without leaving the agent session.
- Cross-database CLI for MySQL and PostgreSQL with AI-oriented structured JSON output
- Read-only protection to reduce accidental writes during agent-driven exploration
- SSH tunneling for remote staging or production read access without exposing ports broadly
- Schema inspection workflows aligned with agent tooling keywords (inspect, schema, safely)
Zx06 Xsql by the numbers
- Data as of Jul 28, 2026 (Skillselion catalog sync)
/plugin install zx06-xsql@zx06/xsqlAdd your badge
Show developers this plugin is listed on Skillselion. Paste this into your README.
| repo stars | ★ 3 |
|---|---|
| Last updated | July 28, 2026 |
| Repository | zx06/xsql ↗ |
What it does
Inspect and query MySQL or PostgreSQL from Claude Code with read-only guards, SSH tunnels, and JSON the agent can reason over.
Who is it for?
Best when you're connecting Claude Code to staging or remote SQL databases for schema inspection and read-only diagnostics.
Skip if: Skip if you need write access, heavy ETL, or a managed GUI-only database client with no CLI or agent workflow.
What you get
You get read-only, tunnel-friendly database queries with structured JSON so Claude can inspect schemas and answer data questions during backend work.
- Structured JSON query and schema inspection results inside agent sessions
- Read-only SQL execution path with SSH tunnel option for remote hosts
- Cross-engine MySQL and PostgreSQL support from one CLI-oriented workflow
Recommended Plugins
How it compares
Database CLI integration for agents, not a migration tool or hosted analytics warehouse.
FAQ
Who is Zx06 Xsql for?
Developers and small teams using Claude Code who work with MySQL or PostgreSQL and want guarded, agent-friendly query and schema inspection.
When should I use Zx06 Xsql?
Use it during backend build and debug when you need read-only SQL against local or SSH-tunneled databases with JSON results the model can parse.
How do I add Zx06 Xsql to my agent?
Register the zx06/xsql Claude Code marketplace plugin in your Claude Code plugin configuration, then invoke the bundled xsql CLI skill or command per the repo README.