isdaniel/pgtuner_mcp

provides AI-powered PostgreSQL performance tuning capabilities.

27Stars on the repository
12Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

pg-bloat-analysis

01

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Detects and remediates table and index bloat in PostgreSQL using pgstattuple analysis. Identifies fragmentation, dead tuples, and wasted space with prioritized maintenance actions including VACUUM, REINDEX, and pgrepack recommendations.

27 +1 3mo ago A 53 tokens original Apache-2.0

pg-config-tuning

02

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Guides PostgreSQL configuration tuning based on hardware profile, workload type, and current settings. Covers memory, WAL, checkpoints, autovacuum, planner, and connection settings with specific ALTER SYSTEM recommendations. Teaches the agent to use reviewsettings with individual categories and understand restart vs…

27 +1 3mo ago A 63 tokens original Apache-2.0

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Analyzes PostgreSQL connection utilization patterns including active, idle, and idle-in-transaction sessions. Diagnoses connection leaks, saturation, and provides PgBouncer pooling recommendations. Guides the agent to use getactivequeries with targeted filters and health resources for connection monitoring.

27 +1 3mo ago A 57 tokens original Apache-2.0

pg-health-check

04

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Performs comprehensive PostgreSQL database health assessments covering connections, cache performance, locks, replication, wait events, active queries, and configuration review. Produces a scored health report with prioritized recommendations.

27 +1 3mo ago A 42 tokens original Apache-2.0

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Performs comprehensive PostgreSQL index optimization including unused index cleanup, duplicate detection, missing index recommendations, and hypothetical index testing with HypoPG. Provides actionable CREATE/DROP INDEX statements with estimated impact.

27 +1 3mo ago A 44 tokens original Apache-2.0

pg-io-deep-dive

06

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Deep-dive investigation of PostgreSQL I/O patterns using targeted analysis types (buffer pool, tables, indexes, temp files, checkpoints). Covers pgstatio for PG16+, correlates I/O patterns with slow queries, and guides diagnosis of cache misses, temp file spills, and checkpoint storms.

27 +1 3mo ago A 67 tokens original Apache-2.0

pg-lock-diagnosis

07

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Diagnoses PostgreSQL lock contention including blocking lock chains, deadlock patterns, idle-in-transaction problems, and wait event analysis. Guides the agent through identifying blockers, understanding lock types, and recommending transaction and configuration changes.

27 +1 3mo ago A 50 tokens original Apache-2.0

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Generates a comprehensive PostgreSQL performance baseline report capturing health metrics, query workload patterns, table statistics, configuration settings, index utilization, and I/O patterns. Designed for before/after comparison when making changes.

27 +1 3mo ago A 46 tokens original Apache-2.0

pg-query-rewrite

09

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Guides SQL query optimization through execution plan analysis and common rewrite patterns. Covers subquery-to-JOIN conversion, CTE materialization control, OR-to-UNION, NOT IN-to-NOT EXISTS, pagination optimization, and SELECT elimination. Uses analyzequery with format and settings parameters for deep plan analysis.

27 +1 3mo ago A 67 tokens original Apache-2.0

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Diagnoses slow PostgreSQL queries by analyzing pgstatstatements, execution plans, index opportunities, and table statistics. Guides the agent through a systematic investigation workflow using pgtuner-mcp tools to produce actionable optimization recommendations.

27 +1 3mo ago A 52 tokens original Apache-2.0

pg-vacuum-tuning

11

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Monitors and tunes PostgreSQL vacuum operations including autovacuum configuration, vacuum progress tracking, wraparound prevention, and per-table vacuum strategy. Provides tuning recommendations for high-churn OLTP and large analytical tables.

27 +1 3mo ago A 49 tokens original Apache-2.0