postgresmcppro

Postgres MCP Pro is an open-source MCP server that provides AI agents with PostgreSQL database health analysis, index tuning recommendations, query plan optimization, schema intelligence, and secure SQL execution, with configurable access control.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "postgresmcppro" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b6903787f516d5435de3fc13578bed60e87faa3ec47017bef5cfd651ec0061a9. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/postgres-mcp-pro-database-analysis-tuning before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Postgres MCP Pro is an open-source MCP server that provides AI agents with PostgreSQL database health analysis, index tuning recommendations, query plan optimization, schema intelligence, and secure SQL execution, with configurable access control.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "用于数据库分析和调优的 Postgres MCP Pro 服务器"
slug: "postgres-mcp-pro-database-analysis-tuning"
version: "1.0.0"
displayName: "用于数据库分析和调优的 Postgres MCP Pro 服务器"
summary: "Postgres MCP Pro 是一个开源的 MCP 服务器,为 AI 代理提供 PostgreSQL 数据库健康分析、索引调优建议、查询计划优化、模式智能和安全的 SQL 执行功能,支持可配置的访问控制。"
license: "MIT"
description: "Postgres MCP Pro 是一个开源的 MCP 服务器,为 AI 代理提供 PostgreSQL 数据库健康分析、索引调优建议、查询计划优化、模式智能和安全的 SQL 执行功能,支持可配置的访问控制。"
github_stars: 2464
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Developer Tools"
framework: "MCP"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 2464

用于数据库分析和调优的 Postgres MCP Pro 服务器

Postgres MCP Pro is an open-source MCP server that provides AI agents with PostgreSQL database health analysis, index tuning recommendations, query plan optimization, schema intelligence, and safe SQL execution with configurable access controls.

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:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供 PostgreSQL 数据库健康分析、索引调优、查询计划优化等专业 DBA 功能
  • 面向开发者/运维人员,解决数据库性能优化的高频刚需痛点
  • 支持可配置访问控制,兼顾功能与安全
Trigger Precision95/100

Highlights

  • 触发描述精准完整,涵盖健康分析、索引调优、查询优化、模式智能、安全 SQL 执行等核心能力
  • 边界清晰,无歧义或过度宽泛表述
Structure and Standards90/100

Highlights

  • 文档结构清晰,包含 Installation、Requirements、Basic usage 等必要章节
  • frontmatter 元数据完整,版本、许可证、源码链接等信息齐全
  • 提供 Quick Start 指引,便于用户快速上手
Execution Reliability75/100

Areas to improve

  • 缺少 When to Use 具体场景示例 Reported severity: Minor

    文档未提供具体的使用场景示例,用户可能不清楚在何种情况下调用该 Skill

    Recommendation: 补充 2-3 个典型使用场景示例,如 '当数据库查询变慢时,调用此 Skill 进行索引分析' 等

  • 未覆盖主要异常处理说明 Reported severity: Minor

    未说明数据库连接失败、权限不足、SQL 执行错误等常见异常的处理方式

    Recommendation: 在文档中添加异常处理说明,指导用户在遇到问题时如何排查和解决

Highlights

  • 提供 Docker 和 Python 两种安装方式,来源明确
  • 明确环境要求(Docker 或 Python 3.12+),并推荐 Docker 以避免环境问题
  • 要求数据库访问凭证,体现了对安全性的考虑
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 29
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 39
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.