# postgres-mcp

> postgres-mcp — sajjad-hk-postgres-mcp. Use this tool when you need to query Postgres databases in a secure and controlled manner, enabling read-only access for MCP-compatible clients. It solves problems related to data access and integration, providing schema introspection and guarded SQL execution. This tool is ideal for use cases requiring selective data exposure, such as data analytics or reporting, with input support for SQL queries and outputting query results.

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

## Description

Enables read-only, SELECT-only querying of any Postgres database through MCP-compatible clients like Claude, with schema introspection and guarded SQL execution.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-09-04

## Facts

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

## Source

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

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