This is a static analysis toolkit for SQL that doesn't touch your actual database. It gives Claude five tools: sql_format for prettifying queries, sql_explain for translating SQL into plain English with optimization hints, schema_analyze for parsing CREATE TABLE statements and generating Mermaid ER diagrams, query_build for generating SQL from natural language, and migration_generate for diffing two schemas and producing ALTER TABLE statements with rollback support. Useful when you're working with SQL in documentation, learning queries, or need quick schema visualization without spinning up a database connection. Supports MySQL, PostgreSQL, and SQLite syntax across all tools.
claude mcp add --transport stdio io.github.rog0x-database -- npx -y @rog0x/mcp-database-tools