# PostgreSQL Database

> Use this tool when you need to interact with PostgreSQL databases, execute custom SQL queries, or retrieve database schema information for data analysis and exploration. It solves problems related to database querying, schema discovery, and data retrieval, providing a reliable interface for AI workflows. The tool accepts SQL queries as input and returns query results, schema information, or error messages as output, making it suitable for use cases involving complex data queries and database exploration.

Canonical page: https://skillsregistry.net/skills/endaoment-postgres  
JSON: https://api.skillsregistry.net/v1/skills/endaoment-postgres

## Description

This PostgreSQL MCP server enables AI assistants to interact with PostgreSQL databases through SQL queries. Built with Node.js and the Model Context Protocol SDK, it provides tools for listing database tables, retrieving schema information, and executing custom SQL queries with retry logic for improved reliability. The implementation includes robust error handling, connection pooling, and flexible configuration options that support both environment variables and shell config files for database credentials. It's particularly useful for data analysis, database exploration, and executing complex queries directly from AI workflows.

## Trust

- **Trust score (0–1):** 0.91
- **Verification tier:** scanned
- **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:** [PulseMCP](https://www.pulsemcp.com/servers/endaoment-postgres)
- **Repository:** <https://github.com/endaoment/endaoment-postgres-mcp>

## 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": "endaoment-postgres"
    }
  }
}
```

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