PlugWiki
PostgreSQL (hardened, read-only) logo

PostgreSQL (hardened, read-only) MCP Server: Tools, Setup for Claude Code, Cursor & More

CommunityLocal
Getnpmpostgres-mcp-hardenedeszetael/postgres-mcp-hardened

Not the official PostgreSQL MCP server. This one is built by the community. PostgreSQL makes its own: MCP Toolbox for Databases →

Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install PostgreSQL (hardened, read-only) MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the PostgreSQL (hardened, read-only) MCP server to Claude Code. Run this command:
    
    claude mcp add postgres-hardened -e DATABASE_URL=<DATABASE_URL> -- npx -y postgres-mcp-hardened
    
    Ask me for DATABASE_URL and only put the values in that config, nowhere else.
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Built from the package data we hold. Not yet tested by us.

Tools

We don't list PostgreSQL (hardened, read-only) MCP's tools here yet. After you connect it, ask your assistant "What can you do with PostgreSQL (hardened, read-only) MCP?" to see them.

Security advisories

none published

No published security advisories as of Nov 1, 2026.

Information

updated Nov 2, 2026

Publisher
Community
Package
postgres-mcp-hardened
Registry
npm
Transport
stdio, Streamable HTTP
Version
0.1.10
License
MIT
Last commit
Oct 25, 2026
Open issues
0
Listed in
Official MCP registry

GitHubnpmOfficial MCP RegistryChangelogIssues

Other PostgreSQL MCP servers

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.