# PostgreSQL

> Use this tool when you need to access and query PostgreSQL databases in a read-only mode, enabling inspection of database schemas and execution of queries to retrieve specific data. It solves problems related to data retrieval, schema exploration, and information extraction from PostgreSQL databases. The tool accepts query inputs and returns relevant data outputs, making it ideal for use cases that require data analysis, reporting, or information gathering from PostgreSQL databases.

Canonical page: https://skillsregistry.net/skills/modelcontextprotocol-postgresql  
JSON: https://api.skillsregistry.net/v1/skills/modelcontextprotocol-postgresql

## Description

A Model Context Protocol server that provides read-only access to PostgreSQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.

## Trust

- **Trust score (0–1):** 0.95
- **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/fhjqfdum9n)
- **Repository:** <https://github.com/modelcontextprotocol/servers>

## 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": "modelcontextprotocol-postgresql"
    }
  }
}
```

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