Queryshield runs on your own machine — the client starts it, so there is no endpoint to ping. 79 installs a week from pypi. Last commit 21 Oct 2026.
Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log.
Today is the operative word: we check Queryshield every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add queryshield -e 'QUERYSHIELD_API_KEY=<QUERYSHIELD_API_KEY>' -- uvx queryshield-mcp
{
"mcpServers": {
"queryshield": {
"command": "uvx",
"args": [
"queryshield-mcp"
],
"env": {
"QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>"
}
}
}
}
[mcp_servers.queryshield]
command = "uvx"
args = ["queryshield-mcp"]
env = { QUERYSHIELD_API_KEY = "<QUERYSHIELD_API_KEY>" }
{
"mcpServers": {
"queryshield": {
"command": "uvx",
"args": [
"queryshield-mcp"
],
"env": {
"QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>"
}
}
}
}
{
"servers": {
"queryshield": {
"type": "stdio",
"command": "uvx",
"args": [
"queryshield-mcp"
],
"env": {
"QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>"
}
}
}
}
Put your own value in place of
<QUERYSHIELD_API_KEY> (Agent API key issued by QueryShield).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
QUERYSHIELD_BASE_URL (Override the default endpoint).
Governed, read-only Postgres access for AI agents: SQL safety, RLS, budgets, tamper-evident audit.
RLS/tenant-aware Postgres for AI agents — schema, read-only SQL, NL→SQL with safety rails.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
MySQL migration and query safety review for AI agents: locks, table copies, data loss, injection.
Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and an audit log.
A secure MCP server that lets AI agents query databases safely.
Persistent, structured project memory for AI coding agents, stored locally in SQLite.
Database backups and an AI agent safety net: restore points, health, audited changes as you.
Answers built from our own checks of this server.