Skip to content
Grok

PostgreSQL MCP Server for Grok

io.github.yawlabs/postgres-mcp

PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants

client:Grok transport:stdio runtime:npm

Install PostgreSQL MCP Server in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "postgres-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/postgres-mcp"
      ]
    }
  }
}

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

PostgreSQL MCP Server in other clients