# mcp-postgres

> Use this tool when you need to interact with PostgreSQL databases, execute queries, and monitor database health, and want to ensure secure and controlled access with features like configurable access levels and audit logging. It solves problems related to database management, performance optimization, and security. The tool takes database queries and credentials as input and provides query results, index analysis, and health monitoring data as output.

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

## Description

Enables AI agents to interact with PostgreSQL databases through schema intelligence, query execution, and DBA tooling including index analysis and health monitoring. Features configurable access levels and audit logging for secure database operations.

## Trust

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

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