# PostgreSQL MCP Server

> Use this tool when you need to interact with PostgreSQL databases to retrieve schema information, list tables, or execute read-only SQL queries. It solves problems related to database exploration, data discovery, and read-only data access, providing a Model Context Protocol interface for inputs and SQL query results as outputs. Ideal for use cases requiring secure, controlled access to PostgreSQL databases for data analysis or exploration purposes.

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

## Description

A Model Context Protocol server that enables interaction with PostgreSQL databases to list tables, retrieve schemas, and execute read-only SQL queries.

## 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/c92j003vx0)
- **Repository:** <https://github.com/hthuong09/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": "hthuong09-postgres-mcp"
    }
  }
}
```

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