NestDaddy

SQL

io.github.Abhishekkumar2021/sql · v0.1.0

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

Connect Runs on your machine

Terminal
claude mcp add sql -e DB_CONN_default=<DB_CONN_default> -e DB_WRITABLE=<DB_WRITABLE> -- npx -y @abhishekmcp/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "sql": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/[email protected]"
      ],
      "env": {
        "DB_CONN_default": "<DB_CONN_default>",
        "DB_WRITABLE": "<DB_WRITABLE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "sql": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/[email protected]"
      ],
      "env": {
        "DB_CONN_default": "<DB_CONN_default>",
        "DB_WRITABLE": "<DB_WRITABLE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "sql": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/[email protected]"
      ],
      "env": {
        "DB_CONN_default": "<DB_CONN_default>",
        "DB_WRITABLE": "<DB_WRITABLE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
DB_CONN_default
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
Optional
Set to 1 or true to enable the write tools (execute, execute_script).

Details

Package@abhishekmcp/[email protected] (NPM, stdio)
First published4 Jul 2026
Last updated4 Jul 2026
Registry nameio.github.Abhishekkumar2021/sql

More databases servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.