Skip to content
Claude Code

SQL for Claude Code

io.github.abhishekkumar2021/sql

Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.

client:Claude Code transport:stdio runtime:npm

Install SQL in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add sql -e DB_CONN_default=<DB_CONN_default> -e DB_WRITABLE=<DB_WRITABLE> -- npx -y @abhishekmcp/sql

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

SQL in other clients