Skip to content
MCP server

Queryshield

Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
5 days ago

About Queryshield

Queryshield is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add queryshield --env QUERYSHIELD_API_KEY='<QUERYSHIELD_API_KEY>' -- uvx queryshield-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "queryshield": {
      "command": "uvx",
      "args": [
        "queryshield-mcp"
      ],
      "env": {
        "QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "queryshield": {
      "command": "uvx",
      "args": [
        "queryshield-mcp"
      ],
      "env": {
        "QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "queryshield": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "queryshield-mcp"
      ],
      "env": {
        "QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "queryshield": {
      "command": "uvx",
      "args": [
        "queryshield-mcp"
      ],
      "env": {
        "QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "queryshield": {
      "command": "uvx",
      "args": [
        "queryshield-mcp"
      ],
      "env": {
        "QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • QUERYSHIELD_API_KEYAgent API key issued by QueryShield.Required
  • QUERYSHIELD_BASE_URLOverride the default endpoint.

Pricing

Open source

Queryshield FAQ

Is Queryshield free?

Yes. Queryshield is open source, so you can use and self-host it for free.

How do I add Queryshield to Claude Code?

Run this command in your terminal: claude mcp add queryshield --env QUERYSHIELD_API_KEY='<QUERYSHIELD_API_KEY>' -- uvx queryshield-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers