# PostgreSQL MCP Server

> Use this tool when you need to execute PostgreSQL queries directly and efficiently, solving data retrieval and manipulation problems through a standardized protocol. It accepts SQL queries as input and returns query results, supporting both stdio and HTTP REST API communication modes. Ideal for use cases requiring seamless interaction with PostgreSQL databases, such as data analysis, reporting, and integration with other applications.

Canonical page: https://skillsregistry.net/skills/logesh-001-postgresmcp  
JSON: https://api.skillsregistry.net/v1/skills/logesh-001-postgresmcp

## Description

Enables direct execution of PostgreSQL queries through the Model Context Protocol. Supports both SELECT and non-SELECT operations with dual communication modes (stdio and HTTP REST API).

## Trust

- **Trust score (0–1):** 0.97
- **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/s0vl4xu98v)
- **Repository:** <https://github.com/logesh-001/PostgresMCP>

## 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": "logesh-001-postgresmcp"
    }
  }
}
```

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