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