Postgres MCP Safe
Read-only Postgres MCP access with transaction-level enforcement, schema inspection, query plans, and bounded results.
Install Postgres MCP Safe
Run the project’s own setup commands, in order.
Setup steps from the project
postgres-mcp-safe installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
docker run -i --rm ghcr.io/poudel0/postgres-mcp-safe postgresql://host.docker.internal:5432/mydb
Overview
Use cases
- Query application data without permitting writes
- Inspect tables, views, columns, constraints, and indexes
- Generate PostgreSQL query plans for troubleshooting
- Replace the deprecated server-postgres package in an MCP configuration
Key features
- PostgreSQL-enforced read-only transactions
- Fresh connection for every tool call
- Schema and index inspection
- Optional EXPLAIN ANALYZE
- Timeout, row, and byte limits
- Superuser refusal by default
Tools4
What Postgres MCP Safe lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Postgres MCP Safe works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Postgres MCP Safe
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/postgres-mcp-safe)<a href="https://allmcps.com/mcp/postgres-mcp-safe"><img src="https://allmcps.com/api/badge/postgres-mcp-safe?style=directory" alt="Postgres MCP Safe on AllMCPs" /></a>