# postgresql-mcp-server

> Use this tool when you need to integrate AI agents with PostgreSQL databases, enabling them to execute SQL queries, manage schema, and perform data operations through the Model Context Protocol interface, which accepts SQL queries and database commands as inputs and returns query results and operation outcomes as outputs. This tool solves problems related to database interaction, data retrieval, and storage for AI applications. It is ideal for use cases requiring seamless communication between AI models and PostgreSQL databases.

Canonical page: https://skillsregistry.net/skills/halim-23-postgresql-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/halim-23-postgresql-mcp-server

## Description

Enables AI agents to interact with PostgreSQL databases through the Model Context Protocol, supporting SQL queries, schema management, and data operations.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-08-31

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/o77b6m9i30)
- **Repository:** <https://github.com/halim-23/postgresql-mcp-server>

## 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": "halim-23-postgresql-mcp-server"
    }
  }
}
```

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