mcpbeat Sign in

Pgmoat MCP Server

by kitalon-labs-llc Your server? Claim it
local only

Pgmoat runs on your own machine — the client starts it, so there is no endpoint to ping. Last commit 25 Oct 2026.

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

—
Installs / week
npm · pgmoat
0
Stars
0 open issues
25 Oct 2026
Last commit
3 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Pgmoat every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add pgmoat -e 'PGMOAT_DATABASE_URL=<PGMOAT_DATABASE_URL>' -- npx -y pgmoat
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "pgmoat": {
      "command": "npx",
      "args": [
        "-y",
        "pgmoat"
      ],
      "env": {
        "PGMOAT_DATABASE_URL": "<PGMOAT_DATABASE_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.pgmoat]
command = "npx"
args = ["-y", "pgmoat"]
env = { PGMOAT_DATABASE_URL = "<PGMOAT_DATABASE_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "pgmoat": {
      "command": "npx",
      "args": [
        "-y",
        "pgmoat"
      ],
      "env": {
        "PGMOAT_DATABASE_URL": "<PGMOAT_DATABASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "pgmoat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pgmoat"
      ],
      "env": {
        "PGMOAT_DATABASE_URL": "<PGMOAT_DATABASE_URL>"
      }
    }
  }
}

Put your own value in place of <PGMOAT_DATABASE_URL> (Postgres connection URL (use a read-only role)). The author’s registry entry marks it as required.

Alternatives to Pgmoat

same job, measured the same way
MCP Postgres Nl Query
by infoinlet-marketplace

RLS/tenant-aware Postgres for AI agents — schema, read-only SQL, NL→SQL with safety rails.

10 installs/wk local only
QueryBear
by spencerpauly

Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.

answering
SafeSelect MCP
by antonillos

Fail-closed, read-only PostgreSQL and MongoDB access for AI agents over MCP.

local only
Rowbase
by djstreet11

Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.

154 installs/wk local only
P
pgtriage
by pgtriage

Read-only MCP server for evidence-based PostgreSQL performance auditing.

1 137 installs/wk local only
Universal DB (read-only)
by alghanim

Read-only, guarded SQL access for AI agents: PostgreSQL, MySQL, ClickHouse, Oracle, SQL Server, Db2

local only
D
Data
by thinair

PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.

answering
Queryshield
by bch1212

Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log.

128 installs/wk local only

Pgmoat — questions

Answers built from our own checks of this server.

Why is there no uptime for Pgmoat?
Pgmoat runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package pgmoat.
How do I connect Pgmoat?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls pgmoat straight from npm; nothing to host, nothing to sign up for.
Is Pgmoat open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.