# postgresql-mcp

> postgresql-mcp — sgaunet-postgresql-mcp. Use this tool when you need to securely integrate PostgreSQL databases with Claude Code, enabling read-only query execution, schema exploration, and performance analysis. It solves problems related to database access and optimization, providing a reliable interface for querying and analyzing PostgreSQL databases. Ideal for use cases requiring secure and efficient database interaction, such as data analysis and application development.

Canonical page: https://skillsregistry.net/skills/sgaunet-postgresql-mcp  
JSON: https://api.skillsregistry.net/v1/skills/sgaunet-postgresql-mcp

## Description

A Model Context Protocol (MCP) server that provides secure PostgreSQL database integration tools for Claude Code. Features read-only query execution, schema exploration, and performance analysis.

## Trust

- **Trust score (0–1):** 0.96
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** database
- **Updated:** 2026-09-27

## Source

- **Source listing:** [GitHub](https://github.com/sgaunet/postgresql-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": "sgaunet-postgresql-mcp"
    }
  }
}
```

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