# PostgreSQL MCP Server

> Use this tool when you need to interact with PostgreSQL databases in a secure and read-only manner, enabling large language models (LLMs) to inspect table schemas and execute SQL queries without compromising data safety. It solves problems related to data access and querying, providing a safe interface for LLMs to retrieve data. Ideal for use cases where data integrity is crucial, such as data analysis, information retrieval, and knowledge graph construction.

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

## Description

Enables LLMs to interact with PostgreSQL databases by providing tools to inspect table schemas and execute read-only SQL queries. It ensures data safety by running all operations within read-only transactions.

## Trust

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

## Facts

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

## Source

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

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