# mcp-pg-db-reader

> mcp-pg-db-reader — riefer02-mcp-pg-db-reader. Use this tool when you need to securely access and retrieve data from PostgreSQL databases for AI-powered applications, solving data integration and querying challenges. It provides a read-only interface with safe query tools and supports connections across multiple environments. Ideal for AI agents requiring reliable database access, with inputs including database credentials and SQL queries, and outputs featuring queried data in a readable format.

Canonical page: https://skillsregistry.net/skills/riefer02-mcp-pg-db-reader  
JSON: https://api.skillsregistry.net/v1/skills/riefer02-mcp-pg-db-reader

## Description

Read-only PostgreSQL MCP server for AI assistants, with safe query tools and multi-environment connection support

## Trust

- **Trust score (0–1):** 0.64
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** database
- **Updated:** 2026-09-20

## Source

- **Source listing:** [GitHub](https://github.com/riefer02/mcp-pg-db-reader)

## 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": "riefer02-mcp-pg-db-reader"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/riefer02-mcp-pg-db-reader` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/riefer02-mcp-pg-db-reader/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
