Skip to content
skillsaggregatorskillsaggregator
Vetted-communitystdio● online

Postgres Safe SQL MCP

by benborla · Database

Source

Read-only Postgres MCP with query allowlisting and row-limit guards. Safe for production.

Works with:Claude CodeCursorWindsurfOpenCode
sqlreadallowlist

Install

Run this command in your terminal:

claude mcp add --transport stdio mcp-postgres-safe -- npx -y mcp-server-postgres-safe

Before running, set: DATABASE_URL

Authentication

API key

Required environment variables:

  • DATABASE_URL

See the setup guide for step-by-step instructions on obtaining these credentials.

Read-only guard rails make this safe for production DB access. Popular community pick.

Skills that use this MCP