# Postgres MCP Server

> Use this tool when you need to interact with PostgreSQL databases using natural language commands, solving problems such as schema exploration and data preview. It takes natural language inputs and produces outputs including schema information, table data, and generated DDL. Ideal for use cases where users require an intuitive interface to PostgreSQL databases without needing to write complex SQL queries.

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

## Description

Enables interaction with PostgreSQL databases through natural language commands. Supports schema exploration, table inspection, DDL generation, data preview, and safe SQL execution with built-in query limits.

## Trust

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

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/wugso3ypa8)
- **Repository:** <https://github.com/Blackklegend/postgres-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": "blackklegend-postgres-mcp"
    }
  }
}
```

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