# PostgreSQL MCP Server

> Use this tool when you need to provide large language models (LLMs) with read-only access to PostgreSQL databases, enabling them to inspect database schemas and execute SQL queries. It solves problems related to data access and querying, allowing LLMs to retrieve specific data without modifying the database. The PostgreSQL MCP Server takes SQL queries as input and returns query results as output, making it ideal for use cases where data analysis and retrieval are required.

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

## Description

A Model Context Protocol server providing read-only access to PostgreSQL databases, enabling LLMs to inspect database schemas and execute read-only SQL queries.

## 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/aefjibdmbi)
- **Repository:** <https://github.com/ampcome-mcps/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": "ampcome-mcps-postgres-mcp"
    }
  }
}
```

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