pgbrake
Postgres brake for AI agents: risky SQL waits for approval, UPDATE/DELETE get one-command undo.
What it does
pgbrake is an MCP server, a connector that lets an AI assistant use it as a tool. It is installed locally as a package and runs on your machine.
From the publisher's description, Electra Index matched it to one capability: sql querying. That makes it a candidate for tasks such as query databases in plain language or build data pipelines.
Facts come from the Official MCP Registry, as declared by the publisher. Capabilities are matched automatically (low confidence). None of this is a test of the tool.
At a glance
How to connect
As declared in the Official MCP Registry · not tested by Electra IndexInstall package
- PYPI
pgbrakev0.1.1 · runs locally (stdio)
Required: PGBRAKE_DSN (get it from the publisher)
MCP settings (Claude Desktop, Cursor and other MCP clients)
{
"mcpServers": {
"pgbrake": {
"command": "uvx",
"args": [
"pgbrake"
],
"env": {
"PGBRAKE_DSN": "<your PGBRAKE_DSN>"
}
}
}
}Replace the values in <angle brackets>.
Tasks it helps with
Share of each task's required capabilities it covers| Query databases in plain language SQL Querying | 50% |
| Build data pipelines SQL Querying | 33% |
Similar tools
Listed for the same task: query databases in plain language- metabase-ai-assistantREMOTELOCALMCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL
- Anomaly AIREMOTELOCALAI data analyst: ask about your Excel, CSV, GA4 or database data and get charts and dashboards back
- Tableau Workbook AuditorREMOTELOCALLocal-only Tableau .twbx audit: lineage, unused fields, duplicate calcs, SQL, version diffs
- HotelinkREMOTELOCALRead-only hotel data (OAuth). Guide: https://mcp.hotelink.ai/llms.txt. Verify with list_datasets
- Vitrus analyticsREMOTELOCALRead-only analytics for all your apps: users, AI traffic, revenue, with the SQL behind every number
- MidplaneREMOTELOCALA gateway between AI agents and Postgres: table access, masking at the source, approvals and audit
Ready-made AI agents
- $25/mo · free plan · Prices & score →
- Wren AI54$179/mo · free plan · Prices & score →
- $36/mo · free plan · Prices & score →
- On quote · Prices & score →
Facts & evidence
Each fact shows where it was seen and when.| Fact | Value | Evidence | Source | Last confirmed |
|---|---|---|---|---|
| Install package | pgbrake | DECLARED | SRC-001 Official MCP Registry | 2h ago |
| Package registries | pypi | DECLARED | SRC-001 Official MCP Registry | 2h ago |
| Local install (package) | yes | DECLARED | SRC-001 Official MCP Registry | 2h ago |
| Remote access (hosted) | no | DECLARED | SRC-001 Official MCP Registry | 2h ago |
| Repository | https://github.com/lexang/pgbrake | DECLARED | SRC-001 Official MCP Registry | 2h ago |
| Registry status | active | DECLARED | SRC-001 Official MCP Registry | 2h ago |
| Version | 0.1.1 | DECLARED | SRC-001 Official MCP Registry | 2h ago |
| MCP server | yes | DECLARED | SRC-001 Official MCP Registry | 2h ago |
Change history
- NEW28 Oct 2026first seen in the index
Is this page accurate?
Flag it and our robot re-checks the official source. Reports never change a score.Is pgbrake still online?
Free alerts · no accountDo you publish pgbrake? Get it seen by people choosing a tool
For publishers · optionalLaunch Spotlight: 60 days of clearly labelled Sponsored visibility on the use-case pages where pgbrake already appears, plus the weekly Pulse. No click in 60 days? The next 60 days are free.
Sponsored placements never change a score or a rank.
Questions about pgbrake
How do I connect pgbrake?
Install the PyPI package pgbrake. The exact settings are in "How to connect" above, as declared in the Official MCP Registry.
Does pgbrake need an API key or token?
Yes. The registry entry lists a required value: PGBRAKE_DSN. Get it from the publisher.
What can I use pgbrake for?
Based on its description, it is most relevant to: query databases in plain language, build data pipelines.