# PostgreSQL MCP Server

> Use this tool when you need to interact with PostgreSQL databases and execute SQL queries to retrieve or manipulate data. It solves problems related to database exploration, management, and querying, providing AI assistants with a interface to input SQL queries and receive output results. The tool is ideal for use cases that require database inspection, data retrieval, or data manipulation, and it provides a standardized interface through the Model Context Protocol.

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

## Description

Enables AI assistants to interact with PostgreSQL databases by executing SQL queries and inspecting database schemas. It provides tools to facilitate database exploration and management through the Model Context Protocol.

## Trust

- **Trust score (0–1):** 0.97
- **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/shyqkng6hd)
- **Repository:** <https://github.com/adelhassen/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": "adelhassen-postgres-mcp-server"
    }
  }
}
```

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