Skip to content
Back to skills

Postgres Mcp Pro

ASecurity

Query, analyze, and tune PostgreSQL databases through your AI agent with safe access controls. Beyond basic SQL execution, it provides index tuning recommendations, query plan analysis, database health monitoring, and schema intelligence.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongosqldockergitdatabasesecuritydocumentation

Works with

  • cli
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill postgres-mcp-pro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Postgres Mcp Pro?

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

Security grade badge for Postgres Mcp Pro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-postgres-mcp-pro/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-postgres-mcp-pro)

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 Pro"
slug: "postgres-mcp-pro"
description: "Query, analyze, and tune PostgreSQL databases through your AI agent with safe access controls. Beyond basic SQL execution, it provides index tuning recommendations, query plan analysis, database health monitoring, and schema intelligence."
github_stars: 2831
verification: "security_reviewed"
source: "https://github.com/crystaldba/postgres-mcp"
author: "Crystal DBA"
publisher_type: "company"
category: "Data Extraction & Transformation"
framework: "MCP"
tool_ecosystem:
  github_repo: "crystaldba/postgres-mcp"
  github_stars: 2831
---

# Postgres MCP Pro

Query, analyze, and tune PostgreSQL databases through your AI agent with safe access controls. Beyond basic SQL execution, it provides index tuning recommendations, query plan analysis, database health monitoring, and schema intelligence.

## Prerequisites

MCP-compatible client, PostgreSQL database (local or remote), Docker or Python 3.12+

## Installation

Use the upstream install or setup path that matches your environment:
- The choice to use Docker or Python is yours.
- docker pull crystaldba/postgres-mcp
- pipx install postgres-mcp
- uv pip install postgres-mcp

Requirements and caveats from upstream:
- Docker *or* Python 3.12 or higher.
- #### Docker or Python
- We generally recommend Docker because Python users can encounter more environment-specific issues.

Basic usage or getting-started notes:
- <a href="#quick-start">Quick Start</a> •
- Before getting started, ensure you have:
- Access credentials for your database.

- Source: https://github.com/crystaldba/postgres-mcp
- Extracted from upstream docs: https://raw.githubusercontent.com/crystaldba/postgres-mcp/HEAD/README.md

## Documentation

- https://github.com/crystaldba/postgres-mcp#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/postgres-mcp-pro/)

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.