# PostgreSQL MCP Server

> Use this tool when you need to interact with PostgreSQL databases through flexible transport options, enabling read-only SQL queries, table listing, and schema inspection. It solves problems related to database querying, inspection, and management, particularly in environments requiring stateful session management and flexible deployment options. Ideal for use cases involving data analysis, reporting, and integration with other applications, it accepts SQL queries as input and returns query results as output.

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

## Description

Enables interaction with PostgreSQL databases through both HTTP and Stdio transports, supporting read-only SQL queries, table listing, and schema inspection. Features stateful session management for HTTP transport and flexible deployment options including Docker support.

## Trust

- **Trust score (0–1):** 0.77
- **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/mump3e6fgk)
- **Repository:** <https://github.com/DXC-Lab-Linkage/postgres-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": "dxc-lab-linkage-postgres-mcp-server"
    }
  }
}
```

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