Skip to content
Grok

postgres mcp for Grok

io.github.pgedge/postgres-mcp

Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI

client:Grok transport:stdio runtime:oci

Install postgres mcp in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "postgres-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pgedge/postgres-mcp:latest"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

postgres mcp in other clients