# pg-sentinel

> pg-sentinel — anshujod-postgres-mcp-server. Use this tool when you need to securely interact with PostgreSQL databases using large language models (LLMs), as it provides a safe and controlled environment for read-only queries with robust audit logging and query plan intelligence. This tool solves problems related to data security and query safety, allowing LLMs to explore databases without risking data modification or exposure. It accepts SQL queries as input and returns query results, making it an ideal solution for applications requiring secure database access.

Canonical page: https://skillsregistry.net/skills/anshujod-postgres-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/anshujod-postgres-mcp-server

## Description

A PostgreSQL MCP server with three independent safety layers that allows LLMs to explore and query databases safely via read-only SELECT operations, with full audit logging and query plan intelligence.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/uxqizd7g2t)
- **Repository:** <https://github.com/anshujod/postgres_mcp_server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "anshujod-postgres-mcp-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/anshujod-postgres-mcp-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/anshujod-postgres-mcp-server/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
