Skip to main content

SQL

io.github.Abhishekkumar2021/sql

v0.1.0Updated Jul 4, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add sql -- npx -y @abhishekmcp/[email protected]

Configuration

2 settings.

  • DB_CONN_default
    Env var· optional· secret
    Connection URL for the 'default' connection (postgres://… or sqlite:/abs/path). Additional connections use DB_CONN_<name>. Carries credentials — treated as secret.
  • DB_WRITABLE
    Env var· optional
    Set to 1 or true to enable the write tools (execute, execute_script).

Listed in the official MCP Registry since Jul 4, 2026. Mirrored daily; last checked Nov 26, 2026.