# mcp-server-postgres

> Use this tool when you need to securely execute natural language queries on a PostgreSQL database, enabling large language models (LLMs) to interact with the database using validated SQL execution. It solves problems related to secure database querying and management, providing a schema-aware interface for LLMs to input natural language queries and receive relevant data outputs. This tool is ideal for use cases requiring strong security guardrails and validated SQL execution.

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

## Description

Provides a secure, schema-aware PostgreSQL database agent for LLMs, enabling natural language queries and validated SQL execution with strong security guardrails.

## 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:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/sek48g68t9)
- **Repository:** <https://github.com/Ismail-2001/mcp-server-postgres>

## 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": "ismail-2001-mcp-server-postgres"
    }
  }
}
```

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