# @yawlabs/postgres-mcp

> Use this tool when you need to query and manage PostgreSQL databases from various clients, with features like read-only access, schema introspection, and performance diagnostics. It solves problems related to database management, troubleshooting, and optimization, providing a secure and efficient way to interact with PostgreSQL databases. Ideal for use cases where database querying and management are required, with inputs including SQL queries and database connections, and outputs including query results and diagnostic data.

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

## Description

Query and manage PostgreSQL databases from Claude Code, Cursor, and any MCP client, with read-only by default and built-in schema introspection, EXPLAIN, and performance diagnostics.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-05-26

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/nvyacj08d6)
- **Repository:** <https://github.com/YawLabs/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": "yawlabs-postgres-mcp"
    }
  }
}
```

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