
pgedge-postgres MCP Server: Tools, Setup for Claude Code, Cursor & More
Not the official PostgreSQL MCP server. This one is built by the community. PostgreSQL makes its own: MCP Toolbox for Databases →
Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI
Works in
12 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Client does not support this transport.
Client does not support this transport.
Install pgedge-postgres MCP
Claude Code
- 1
Copy this prompt.
Add the pgedge-postgres MCP server to Claude Code. Run this command: claude mcp add pgedge-postgres -- docker run -i --rm ghcr.io/pgedge/postgres-mcp Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Docker.
Built from the package data we hold. Not yet tested by us.
Tools
We don't list pgedge-postgres MCP's tools here yet. After you connect it, ask your assistant "What can you do with pgedge-postgres MCP?" to see them.
Security advisories
5 advisories
5 known advisories, all fixed in a newer version.
- pgEdge Postgres MCP Server read-only mode can be bypassed by SQL statement smugglinghigh · Fixed in 1.1.0 · GHSA-j7mp-839j-jrm7
- pgEdge Postgres MCP Server SQL injection in the count_rows where parametermedium · Fixed in 1.1.0 · GHSA-fhv3-x3jh-grj7
- pgEdge Postgres MCP Server login rate limiting can be evaded by a caller-supplied headermedium · Fixed in 1.1.0 · GHSA-v347-v3w7-7fq9
- pgEdge Postgres MCP Server custom tools performed writes without user confirmationmedium · Fixed in 1.1.0 · GHSA-v44x-hxg7-5cgc
- pgEdge Postgres MCP Server did not validate the Origin header, allowing DNS rebindingmedium · Fixed in 1.1.0 · GHSA-6hg5-9f3w-c886
Information
updated Nov 2, 2026
- Publisher
- Community
- Package
ghcr.io/pgedge/postgres-mcp- Registry
- Docker
- Transport
- stdio
- Version
- 1.0.0
- License
- PostgreSQL
- Last commit
- Oct 29, 2026
- Open issues
- 6
- Listed in
- Official MCP registry