# MCP PostgreSQL Server

> Use this tool when you need to securely access and query PostgreSQL databases through natural language interactions. It solves problems related to data exploration, schema discovery, and data retrieval, allowing users to list tables, query schemas, and execute SELECT statements. The tool accepts natural language inputs and returns relevant database information as output, making it ideal for ad-hoc querying and data inspection use cases.

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

## Description

Enables secure read-only access to PostgreSQL databases, allowing users to list tables, query schemas, execute SELECT statements, and inspect table structures through natural language interactions.

## Trust

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

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