# PostgreSQL MCP Server

> Use this tool when you need to securely execute read-only SQL queries against PostgreSQL databases, solving problems related to data access and security. It provides a safe interface for querying databases, accepting SQL SELECT queries as input and returning query results as output. Ideal for use cases requiring reliable and secure database interactions, such as data analytics and reporting.

Canonical page: https://skillsregistry.net/skills/datdeboer-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/datdeboer-mcp-server

## Description

A production-ready MCP server that enables safe, read-only SQL SELECT queries against PostgreSQL databases with built-in security validation. It features connection pooling, automatic row limits, and structured logging to ensure secure and reliable database interactions.

## Trust

- **Trust score (0–1):** 0.89
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/k8nandj9hm)
- **Repository:** <https://github.com/datdeboer/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": "datdeboer-mcp-server"
    }
  }
}
```

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