# MCP Server for PostgreSQL

> Use this tool when you need to interact with PostgreSQL databases using a simple Model Context Protocol interface, enabling efficient SQL queries, database operations, and schema management. It solves problems related to database integration, query execution, and schema modification, providing a standardized interface for various applications. This tool accepts MCP requests as input and returns query results, operation outcomes, or schema definitions as output.

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

## Description

A Model Context Protocol server implementation that provides a simple interface to interact with PostgreSQL databases, enabling SQL queries, database operations, and schema management through MCP.

## Trust

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

## Facts

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

## Source

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

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