mcpbeat Sign in

pgbrake MCP Server

local only

pgbrake runs on your own machine — the client starts it, so there is no endpoint to ping. 1 099 installs a week from pypi. Last commit 1 Nov 2026.

Postgres brake for AI agents: risky SQL waits for approval, UPDATE/DELETE get one-command undo.

Installs per day peak 368 · avg 36
a month agotoday
1 099
Installs / week
pypi · pgbrake
0
Stars
0 open issues
1 Nov 2026
Last commit
from GitHub
MIT
License
Python

Nothing serious here today

Today is the operative word: we check pgbrake every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

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 pgbrake -e 'PGBRAKE_DSN=<PGBRAKE_DSN>' -- uvx pgbrake
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "pgbrake": {
      "command": "uvx",
      "args": [
        "pgbrake"
      ],
      "env": {
        "PGBRAKE_DSN": "<PGBRAKE_DSN>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.pgbrake]
command = "uvx"
args = ["pgbrake"]
env = { PGBRAKE_DSN = "<PGBRAKE_DSN>" }
.cursor/mcp.json
{
  "mcpServers": {
    "pgbrake": {
      "command": "uvx",
      "args": [
        "pgbrake"
      ],
      "env": {
        "PGBRAKE_DSN": "<PGBRAKE_DSN>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "pgbrake": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pgbrake"
      ],
      "env": {
        "PGBRAKE_DSN": "<PGBRAKE_DSN>"
      }
    }
  }
}

Put your own value in place of <PGBRAKE_DSN> (Postgres connection string, e.g. postgresql://me@localhost/app). The author’s registry entry marks it as required.

Alternatives to pgbrake

same job, measured the same way
D
Data
by thinair

PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.

answering
nlqdb — analytical memory for AI agents
by nlqdb

Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.

answering
Sota
by sota

EU-native PaaS for AI agents — deploy web apps with one sentence, managed Postgres, GDPR by default.

93 installs/wk 14 tools answering
AgentSQL
by cuipengdba

Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval

answering
Orbit
by orbitapps

An app builder for agents. Your agent creates screens, a Postgres database, and a live URL.

answering
Universal DB (read-only)
by alghanim

Read-only, guarded SQL access for AI agents: PostgreSQL, MySQL, ClickHouse, Oracle, SQL Server, Db2

local only
Rowbase
by djstreet11

Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.

95 installs/wk local only
InstaNode Dev
by instanode-dev

Provision Postgres databases + webhooks from AI coding agents in one HTTP call.

43 installs/wk local only

pgbrake — questions

Answers built from our own checks of this server.

Why is there no uptime for pgbrake?
pgbrake 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 pgbrake was installed 1 099 times last week.
How do I connect pgbrake?
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 pgbrake straight from pypi; nothing to host, nothing to sign up for.
How many people use pgbrake?
The pypi package pgbrake was installed 1 099 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 pgbrake open source?
Yes — it is published under the MIT licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.