Postgres MCP

About the pgEdge Postgres MCP Server pgEdge Postgres MCP Server Choosing the Right Solution Best Practices - Querying the Server Installing the MCP Server Quick Start Quickstart Demo with Northwind Deploying on Docker Deploying from Source Testing the MCP Server Deployment

People who need database tools inside Claude, Cursor, VS Code, or another MCP client. The project is written in Go.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 219 · #76 OF 151 MAINTAINED DATABASE · VERIFIED 2026-08-25

PostgreSQL · Go servers · how we verify → /methodology

01 · Install Postgres MCP

before you install - you'll need

Set TEST_PGEDGE_POSTGRES_CONNECTION_STRING before connecting.

Docker

docker run -i --rm ghcr.io/pgedge/postgres-mcp:latest

Claude Desktop - add to config

{
  "mcpServers": {
    "pgedge-pgedge-postgres-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pgedge/postgres-mcp:latest"
      ]
    }
  }
}
Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as container (OCI image) - can be sandboxed away from your filesystem

license PostgreSQL - declared in the repository

registry namespace io.github.pgEdge is GitHub-verified and matches the repo owner

03 · What Postgres MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v1.0.0 · 2026-03-27

Docker image defaults to stdio mode for MCP Registry support · make quickstart demo self-contained · Strip semicolons from queries before appending LIMIT/OFFSET. #110 · Docs/quickstart updates · Docker image defaults…

v1.0.0-beta3 · 2026-01-21

Rename mcp-server to postgres-mcp in docker · Starting initial work on online docs for MCP server · Added TOC to README · Adding Quickstart for publishing quick · Touched up formatting · Claude PR review workflow · Add…

v1.0.0-beta2 · 2026-01-14

Rename mcp-server to postgres-mcp in docker · Starting initial work on online docs for MCP server · Added TOC to README · Adding Quickstart for publishing quick · Touched up formatting · Claude PR review workflow · Add…

04 · Who maintains Postgres MCP

postgres-mcp is maintained by pgedge. It's the only MCP server we track from this author; the repo dates to Oct 2025.

05 · Facts

category
database - ranked #76 of 151 actively-maintained database servers as of 2026-08-25.
registry
io.github.pgEdge/postgres-mcp (active, first published 2026-01-16)
packages
oci:ghcr.io/pgedge/postgres-mcp:latest

06 · Postgres MCP FAQ

What is Postgres MCP?

About the pgEdge Postgres MCP Server pgEdge Postgres MCP Server Choosing the Right Solution Best Practices - Querying the Server Installing the MCP Server Quick Start Quickstart Demo with Northwind Deploying on Docker Deploying from Source Testing the MCP Server Deployment

Is Postgres MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24. We re-verify nightly.

How do I install Postgres MCP?

Run `docker run -i --rm ghcr.io/pgedge/postgres-mcp:latest`. The README documents one environment variable (TEST_PGEDGE_POSTGRES_CONNECTION_STRING) to set first. Set TEST_PGEDGE_POSTGRES_CONNECTION_STRING before connecting. You can also paste the ready-made client config above.

07 · Alternatives to Postgres MCP

More database MCP servers · Data Link · Pinion05 Supabase MCP Lite · Planet Scale · Prisma MCP Server · Research

More Go MCP servers · Zordon · Lurk · Fitter · Code Sample X · Pty MCP · see all