# PostgreSQL MCP Server

> Use this tool when you need to safely access and query PostgreSQL databases using natural language, enabling read-only exploration of database structures and data. It solves problems related to data discovery, exploration, and querying, providing outputs such as table listings, structures, and query results. Ideal for use cases where users require easy, secure, and controlled access to PostgreSQL databases without compromising data integrity.

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

## Description

Provides read-only access to PostgreSQL databases, enabling users to list tables, view table structures and statistics, and execute SELECT queries safely through natural language.

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

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