mcpbeat Sign in

SQLGuardLLM MCP Server

local only

SQLGuardLLM runs on your own machine — the client starts it, so there is no endpoint to ping. 5 546 installs a week from pypi. Last commit 2 Dec 2026.

Policy-based SQL firewall and read-only database tools for LLM agents.

Installs per day peak 2 016 · avg 184
a month agotoday
5 546
Installs / week
pypi · sqlguardllm
19
Stars
8 open issues
2 Dec 2026
Last commit
from GitHub
Apache-2.0
License
Python

Connect this server

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.

run in your terminal
claude mcp add sqlguardllm -e 'DATABASE_URL=<DATABASE_URL>' -- uvx --with 'sqlguardllm[mcp]==1.0.0' sqlguardllm mcp --policy
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "sqlguardllm": {
      "command": "uvx",
      "args": [
        "--with",
        "sqlguardllm[mcp]==1.0.0",
        "sqlguardllm",
        "mcp",
        "--policy"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.sqlguardllm]
command = "uvx"
args = ["--with", "sqlguardllm[mcp]==1.0.0", "sqlguardllm", "mcp", "--policy"]
env = { DATABASE_URL = "<DATABASE_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "sqlguardllm": {
      "command": "uvx",
      "args": [
        "--with",
        "sqlguardllm[mcp]==1.0.0",
        "sqlguardllm",
        "mcp",
        "--policy"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "sqlguardllm": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "--with",
        "sqlguardllm[mcp]==1.0.0",
        "sqlguardllm",
        "mcp",
        "--policy"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}

Put your own value in place of <DATABASE_URL> (SQLAlchemy URL for a least-privilege read-only database account). The author’s registry entry marks it as required.

What the code does

We read the source, 14 h ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

        var psi = new ProcessStartInfo(launch.FileName)
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        var psi = new ProcessStartInfo(launch.FileName)
    execFileSync(npm, ["view", `${name}@${version}`, "version"], { stdio: "pipe" });

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch SQLGuardLLM and you get told the day something new turns up.

Three servers free · no card

Alternatives to SQLGuardLLM

same job, measured the same way
hypequery ClickHouse
by hypequery

Governed ClickHouse analytics for agents: named datasets and metrics as tools, never raw SQL.

9 904 installs/wk local only
Rebase
by rebasepro

Schema, database, document, user and dev-server tools for a Rebase backend project.

2 936 installs/wk local only
DBA Brain
by dbabrain

Open-source DBA tool for AI agents: graded database health checks, SQL, backups proven by restore

2 662 installs/wk answering
Notion
by n24q02m

Markdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.

2 313 installs/wk local only
MADB — Agent Memory Database
by spshkar84

Durable causal memory for AI agents — semantic recall, causal lineage, and skills. Local-first.

1 396 installs/wk local only
ROUA: read-only database accounts
by promisegithub

Create and audit read-only database accounts for AI agents: PostgreSQL, MySQL, SQL Server and more.

1 368 installs/wk local only
Fraise
by fraisehq

Memory database for AI agents: remember and recall over a running Fraise daemon, in FQL.

854 installs/wk local only
SignOff Studio
by samuccaya

Local API and database verification for AI coding agents: HTTP checks and read-only SQL.

327 installs/wk local only

SQLGuardLLM — questions

Answers built from our own checks of this server.

Why is there no uptime for SQLGuardLLM?
SQLGuardLLM runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package sqlguardllm was installed 5 546 times last week.
How do I connect SQLGuardLLM?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls sqlguardllm straight from pypi; nothing to host, nothing to sign up for.
How many people use SQLGuardLLM?
The pypi package sqlguardllm was installed 5 546 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is SQLGuardLLM open source?
Yes — it is published under the Apache-2.0 licence, written in Python, 19 stars on GitHub and 8 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.