# mcp-pg-database-reader

> Use this tool when you need to safely access and retrieve data from PostgreSQL databases, particularly in multi-environment setups, to support AI-driven applications and services. It provides read-only access with secure query tools, making it ideal for AI assistants that require reliable data ingestion. By utilizing this tool, you can efficiently connect to various database environments and fetch relevant data without compromising security or data integrity.

Canonical page: https://skillsregistry.net/skills/riefer02-mcp-pg-database-reader  
JSON: https://api.skillsregistry.net/v1/skills/riefer02-mcp-pg-database-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-01

## Facts

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

## Source

- **Source listing:** [GitHub](https://github.com/riefer02/mcp-pg-database-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-database-reader"
    }
  }
}
```

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