Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.
PopNx MCPMCP servers for people who use AI · explained in plain words

Pgmoat

by Kitalon-Labs-LLCversion 0.1.2i★ 0iRuns on your computer
Registry nameio.github.Kitalon-Labs-LLC/pgmoat

How to install

Overview

Description from the maker (original English)

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

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Databases & datasets
  • You need to fill in: PGMOAT_DATABASE_URL

Install

Pick the AI app you use, then copy the settings.

Passed 2/2 checks · Runs on your computer

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Pgmoat key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Pgmoat key

    Open the maker’s site, sign up and create an API key for the next step. It may cost money.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "pgmoat": {
          "command": "npx",
          "args": [
            "-y",
            "pgmoat"
          ],
          "env": {
            "PGMOAT_DATABASE_URL": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Pgmoat and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Pgmoat or shows a Pgmoat tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Pgmoat yet

Pgmoat runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Pgmoat

  • You need a Pgmoat key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Pgmoat key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)
  • You need a Pgmoat key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)
  • You need a Pgmoat key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)

B · Others in Databases & datasets that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Pgmoat key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Pgmoat key

    Open the maker’s site, sign up and create an API key for the next step. It may cost money.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add pgmoat --env PGMOAT_DATABASE_URL=your-value -- npx -y pgmoat

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Pgmoat listed as connected

  6. Try it

    Use Pgmoat and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Pgmoat or shows a Pgmoat tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Pgmoat key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Pgmoat key

    Open the maker’s site, sign up and create an API key for the next step. It may cost money.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Pgmoat settings, PGMOAT_DATABASE_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Pgmoat and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Pgmoat or shows a Pgmoat tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Pgmoat key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Pgmoat key

    Open the maker’s site, sign up and create an API key for the next step. It may cost money.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Pgmoat settings, PGMOAT_DATABASE_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Pgmoat and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Pgmoat or shows a Pgmoat tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Pgmoat💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add pgmoat --env PGMOAT_DATABASE_URL=your-value -- npx -y pgmoat

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "pgmoat": {
      "command": "npx",
      "args": [
        "-y",
        "pgmoat"
      ],
      "env": {
        "PGMOAT_DATABASE_URL": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "pgmoat": {
      "command": "npx",
      "args": [
        "-y",
        "pgmoat"
      ],
      "env": {
        "PGMOAT_DATABASE_URL": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "pgmoat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pgmoat"
      ],
      "env": {
        "PGMOAT_DATABASE_URL": "your-value"
      }
    }
  }
}

Values you fill in

  • PGMOAT_DATABASE_URL secret required env
    Postgres connection URL (use a read-only role)

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
60/wk
Licencei
No licence stated
Connection
Runs on your computer
Latest versioni
0.1.2
Published to registryi
Nov 7, 2026
Code last changedi
Nov 11, 2026
Maker
Kitalon-Labs-LLC
Packages
npm: pgmoat
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 11, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Kitalon-Labs-LLC, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Databases & datasetsi

  • More stars than 0% of the other 1163 servers in this category
  • Published to the registry more recently than 91% of the other 1163 servers in this category
  • Basic checks equal to or better than 100% of the other 1163 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Pgmoat safe?

It passed 2 of 2 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: PGMOAT_DATABASE_URL

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.1.2) reached the registry 4 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Dbx

Query databases from AI agents using connections configured in DBX.

by t8y2Widely used↓ 9.4K/wk★ 29.9KUpdated 6 months ago

Runs on your computer

MCP Toolbox for Databases

MCP Toolbox for Databases enables your agent to connect to your database.

by googleapisWidely used★ 16.8KUpdated 5 days ago

Runs on your computer

MCP Toolbox for Databases

MCP Toolbox for Databases enables your agent to connect to your database.

by googleapisWidely used★ 16.8KUpdated 8 months ago

Runs on your computer

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

pgmoat

Governed Postgres access for AI agents.

pgmoat is an open-source MCP server that gives AI agents read-only access to Postgres. It checks every query with the real Postgres parser, hides the tables and columns you mark hidden, applies row limits and timeouts, binds Row-Level Security to the caller's identity, and writes a tamper-evident audit log.

Requires Node.js 22.12 or newer and Postgres 15 to 18.

Quickstart

Run it against your database with safe defaults, no config file needed:

npx -y pgmoat postgresql://readonly_user:password@localhost:5432/mydb

Add it to Claude Code:

claude mcp add pgmoat -- npx -y pgmoat postgresql://readonly_user:password@localhost:5432/mydb

Or to Claude Desktop (claude_desktop_config.json):

{

"mcpServers": { "pgmoat": { "command": "npx", "args": ["-y", "pgmoat", "--url-env", "PGMOAT_DATABASE_URL"], "env": { "PGMOAT_DATABASE_URL": "postgresql://readonly_user:password@localhost:5432/mydb" } } } }

Passing the URL through --url-env keeps the password out of process listings.

Use a dedicated read-only role. pgmoat checks the role at startup. With a pgmoat.yaml, it refuses to start if the role is a superuser (PGM-701), has BYPASSRLS while row-level security is configured (PGM-702), or owns a protected table without FORCE ROW LEVEL SECURITY (PGM-703), unless you pass --allow-unsafe-role; every audit entry then records the override. In zero-config mode (a URL and no config file) it warns and continues.

Add descriptions and hide sensitive data

export PGMOAT_DATABASE_URL=postgresql://readonly_user:password@localhost:5432/mydb

npx pgmoat init # writes pgmoat.yaml; auto-hides columns like password_hash and token_hash npx pgmoat validate # checks the file against the schema and the database npx pgmoat doctor # checks the role for unsafe privileges npx pgmoat start # starts the server with ./pgmoat.yaml

A pgmoat.yaml looks like this:

version: 1

server: name: mydb connection: url: ${PGMOAT_DATABASE_URL} schemas: [public] mode: read-only budgets: max_rows: 200 max_query_ms: 5000 tables: users: description: "One row per login account" columns: password_hash: { hidden: true } email: { sensitive: high }

Commands

CommandWhat it does
pgmoat Start with safe defaults (no config file)
pgmoat initCreate pgmoat.yaml from your database
pgmoat startStart the MCP server from pgmoat.yaml
pgmoat validateCheck pgmoat.yaml against the schema and the database
pgmoat doctorCheck the database role for unsafe privileges
pgmoat audit verifyVerify the audit log hash chain
pgmoat schema-exportWrite the visible schema as Markdown

Run pgmoat --help for all options.

What pgmoat does not do

  • It does not stop prompt injection. It removes the write path, hides what you mark hidden, and labels returned data as untrusted, but an agent with other tools (web access, email) can still be tricked into sending readable data elsewhere.
  • It does not replace Postgres permissions. The strongest control is a dedicated role with only the grants it needs.
  • It does not make RLS policies correct. It sets the session variables your policies read. A flawed policy stays flawed.
  • It does not guarantee audit delivery to a remote destination during an outage. It buffers, alarms, and records drops.

Docker

docker run -i --rm \

-e PGMOAT_DATABASE_URL="postgresql://readonly_user:password@host.docker.internal:5432/mydb" \ ghcr.io/kitalon-labs-llc/pgmoat:latest

Contributing

See CONTRIBUTING.md. Report vulnerabilities privately as described in SECURITY.md.

Links

  • Docs: https://kitalonlabs.com/pgmoat/docs
  • Source and issues: https://github.com/Kitalon-Labs-LLC/pgmoat
  • Security reports: sowad@kitalonlabs.com

License

MIT (c) 2026 Kitalon Labs