# mcp-pg-gateway

> mcp-pg-gateway — nek1987-mcp-pg-gateway. Use this tool when you need to securely query PostgreSQL databases from AI agents like Claude Code, Cursor, or VS Code. The mcp-pg-gateway provides a read-only interface, enabling safe and controlled access to database information. It accepts database queries as input and returns relevant data as output, ideal for use cases requiring data analysis or retrieval.

Canonical page: https://skillsregistry.net/skills/nek1987-mcp-pg-gateway  
JSON: https://api.skillsregistry.net/v1/skills/nek1987-mcp-pg-gateway

## Description

Read-only MCP server for PostgreSQL. Enables AI agents (Claude Code, Cursor, VS Code) to query databases safely.

## Trust

- **Trust score (0–1):** 0.91
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **License:** MIT
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/nek1987/mcp-pg-gateway)

## 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": "nek1987-mcp-pg-gateway"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/nek1987-mcp-pg-gateway` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/nek1987-mcp-pg-gateway/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
