LocalFree

Pgmoat MCP server

Kitalon-Labs-LLC/pgmoat

Governed, read-only Postgres access for AI agents: SQL safety, RLS, budgets, tamper-evident audit.

0 GitHub stars658 npm downloads / month

Install Pgmoat in Claude Code

Claude Code
claude mcp add pgmoat -e PGMOAT_DATABASE_URL=... -- npx -y pgmoat
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "pgmoat": {
      "command": "npx",
      "args": [
        "-y",
        "pgmoat"
      ],
      "env": {
        "PGMOAT_DATABASE_URL": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Pgmoat MCP server do?

Governed, read-only Postgres access for AI agents: SQL safety, RLS, budgets, tamper-evident audit.

Is the Pgmoat MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Pgmoat run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Pgmoat to Claude Code?

Run: claude mcp add pgmoat -e PGMOAT_DATABASE_URL=... -- npx -y pgmoat

More databases MCP servers

View all