Skip to content
Back to skills

Postgres Mcp

ASecurity

Official PostgreSQL Model Context Protocol Server for database interaction.

  • 508 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentgosqldatabasesecurityperformance

Works with

  • mcp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add Dokhacgiakhoa/antigravity-ide --skill postgres-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Postgres Mcp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Postgres Mcp
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/dokhacgiakhoa-postgres-mcp/badge)](https://www.skillsdirectory.com/skills/dokhacgiakhoa-postgres-mcp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: postgres-mcp
description: Official PostgreSQL Model Context Protocol Server for database interaction.
category: database
version: 4.0.5
layer: master-skill
---

# PostgreSQL MCP Skill

## 🎯 Goal
Enable the AI Agent to inspect schemas and execute queries on PostgreSQL databases using the official Model Context Protocol standard.

## πŸ› οΈ Tools

### `query`
Execute a unified SQL query.
- **sql**: The SQL query to execute (string)

### `get_schema`
Inspect the database schema.
- **table_name**: Optional table name to filter schema inspection (string)

### `analyze_query_performance`
Run `EXPLAIN ANALYZE` on a query to check performance.
- **sql**: The SQL query to analyze (string)

## πŸš€ Usage Rules
1.  **Read-Only Preference**: Prefer `SELECT` queries unless explicitly instructed to modify data.
2.  **Transaction Safety**: For multiple write operations, ensure valid transaction logic (though often handled by the tool).
3.  **Schema Awareness**: Always run `get_schema` before constructing complex queries to ensure column names are correct.
4.  **Security**: Do not execute destructive queries (`DROP`, `TRUNCATE`) without explicit user plan approval.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…