# pg-mcp

> pg-mcp — txy670584307-pg-mcp. Use this tool when you need to translate natural language into SQL queries or execute queries across multiple databases while ensuring read-only safety. It solves problems related to querying complex databases using intuitive language and provides a robust interface for inputting natural language queries and outputting executable SQL code. Ideal for use cases requiring simplified database interactions, such as data analysis or reporting, with support for multiple databases.

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

## Description

PostgreSQL MCP server that converts natural language to SQL and executes queries, with multi-database support and robust read-only safety checks.

## Trust

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

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/cuf0r0sbi8)
- **Repository:** <https://github.com/txy670584307/pg-mcp>

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

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