Install pgbrake in Claude Code
claude mcp add pgbrake -e PGBRAKE_DSN=... -- uvx pgbrake{
"mcpServers": {
"pgbrake": {
"command": "uvx",
"args": [
"pgbrake"
],
"env": {
"PGBRAKE_DSN": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the pgbrake MCP server do?
Postgres brake for AI agents: risky SQL waits for approval, UPDATE/DELETE get one-command undo.
Is the pgbrake MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does pgbrake run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add pgbrake to Claude Code?
Run: claude mcp add pgbrake -e PGBRAKE_DSN=... -- uvx pgbrake
More databases MCP servers
View allpgmcp
pascalallen/pgmcp
Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health.
pg Readonly
les-k/pg-readonly-mcp
A read-only Postgres MCP server that parses SQL rather than pattern-matching it.
Pgmoat
Kitalon-Labs-LLC/pgmoat
Governed, read-only Postgres access for AI agents: SQL safety, RLS, budgets, tamper-evident audit.
Pensieve
praveen-ilangovan/pensieve
Manually-triggered, self-organising personal memory for AI agents; SQLite, no vector DB.
pgops
arzharch/pgops-mcp
Safe, audited PostgreSQL operations for AI agents: queries, migrations, EXPLAIN, containers
Peeringdb
pipeworx-io/mcp-peeringdb
PeeringDB MCP — the peering ecosystem database. Look up networks by name or ASN, find internet…