# Postgres (read-only transactions)

Drop-in replacement for @modelcontextprotocol/server-postgres that is actually read-only.

- Weekly downloads: 219
- GitHub stars: 1
- Health: active
- Repository: https://github.com/poudel0/postgres-mcp-safe
- Registry names: io.github.Poudel0/postgres-mcp-safe
- Categories: Databases & data, Dev tools & GitHub, AI models & media
- Snapshot: 2026-11-17

## Install

```sh
npx -y postgres-mcp-safe
docker run -i --rm ghcr.io/poudel0/postgres-mcp-safe:0.1.3
```

```json
{
  "mcpServers": {
    "postgres-read-only-transactions": {
      "command": "npx",
      "args": [
        "-y",
        "postgres-mcp-safe"
      ]
    }
  }
}
```

Source: https://mcpmorning.com/mcp/poudel0-postgres-mcp-safe/

## Transport

stdio
