PostgreSQL

Developer Tools

Complete PostgreSQL database toolkit. All 38 tools for querying, schema management, performance analysis, data quality, and development operations.

This MCP Bundle Server is compatible with any MCP client including Claude Desktop, Cursor, and other Model Context Protocol implementations.

38 tools

Tools in this Bundle (38)

Fetch

Global
v1.0.0

Universal fetch tool that retrieves any row, table schema, or metadata using smart ID routing with colon-separated format. Supports direct row retriev...

Postgres Alter Table

Global
v1.0.0

Perform safe ALTER TABLE operations including adding/dropping columns, changing types, renaming columns, and adding constraints.

Postgres Analyze Indexes

Global
v1.0.0

Comprehensive index analysis tool. Without table parameter: finds unused/rarely-used indexes across database for optimization. With table parameter: d...

Postgres Analyze Table

Global
v1.0.0

Run ANALYZE on a table to update query planner statistics. Returns updated statistics after analysis. Essential for maintaining query performance.

Postgres Backup Table

Global
v1.0.0

Create a backup copy of a table including structure and optionally data. Useful before making destructive changes.

Postgres Batch Execute

Global
v1.0.0

Execute multiple SQL statements in a single transaction. All statements succeed or all fail (atomicity). Useful for bulk operations.

Postgres Check Missing Indexes

Global
v1.0.0

Identify potential missing indexes by analyzing foreign keys and columns frequently used in WHERE clauses. Suggests CREATE INDEX statements for optimi...

Postgres Check Referential Integrity

Global
v1.0.0

Find orphaned foreign key references - rows that reference non-existent parent rows. Critical for data integrity validation.

Postgres Compare Tables

Global
v1.0.0

Compare two tables to find rows that differ. Shows rows present in one table but not the other, and rows with different values in specified columns.

Postgres Create Table

Global
v1.0.0

Create a new table with specified columns and constraints. Generates CREATE TABLE statement from schema definition.

Postgres Data Quality Report

Global
v1.0.0

Generate comprehensive data quality report including duplicates, NULLs, constraint violations, and referential integrity. One-stop analysis for data q...

Postgres Detect Outliers

Global
v1.0.0

Detect statistical outliers in numeric columns using IQR (Interquartile Range) or z-score methods. Useful for data quality analysis and anomaly detect...

Postgres Execute

Global
v1.0.0

Execute SQL statements on PostgreSQL database. Supports all SQL operations including SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER. Use with cau...

Postgres Explain Query

Global
v1.0.0

Analyze query performance with EXPLAIN ANALYZE. Returns execution plan with actual timing, rows processed, and performance bottlenecks. Essential for ...

Postgres Export Table

Global
v1.0.0

Export table data to CSV or JSON format. Useful for data migration, backups, or analysis in external tools. Returns chunked data for large tables.

Postgres Find Duplicates

Global
v1.0.0

Find duplicate rows based on specified columns. Returns groups of duplicates with counts. Essential for data quality audits and cleanup.

Postgres Find Null Patterns

Global
v1.0.0

Analyze NULL value distribution across columns. Shows which columns have high NULL percentages and identifies data quality issues.

Postgres Find Slow Queries

Global
v1.0.0

Find slow queries from pg_stat_statements extension. Requires pg_stat_statements extension to be enabled. Returns queries sorted by total execution ti...

Postgres Find Unused Tables

Global
v1.0.0

Find tables that are not referenced by foreign keys, views, materialized views, or functions. Useful for identifying orphaned tables that may be safe ...

Postgres Get Ai Description

Global
v1.0.0

Get compact, token-efficient database schema description optimized for AI text-to-SQL. Returns tables with columns, types, relationships, and sample v...

Postgres Get Enum Values

Global
v1.0.0

Find columns with enum-like behavior (limited distinct values) and show value frequencies. Useful for understanding categorical data and identifying c...

Postgres Get Foreign Key Graph

Global
v1.0.0

Build a graph representation of foreign key relationships showing which tables reference which other tables. Returns nodes (tables) and edges (FK rela...

Postgres Get Lock Info

Global
v1.0.0

Show current database locks and identify blocking queries. Helps diagnose performance issues and deadlocks. Shows which queries are waiting for locks ...

Postgres Get Table Dependencies

Global
v1.0.0

Find all database objects that depend on a table: views, materialized views, triggers, and functions. Critical before dropping or altering tables.

Postgres Get Table Stats

Global
v1.0.0

Get comprehensive table statistics: size on disk, index sizes, row count, last vacuum/analyze time, and dead tuple ratio. Essential for capacity plann...

Postgres Inspect Schema

Global
v1.0.0

Inspect PostgreSQL schema or table in detail. Get comprehensive information about tables, columns, relationships, indexes, and constraints.

Postgres List Functions

Global
v1.0.0

List PostgreSQL stored procedures and functions with their parameters, return types, and definitions. Useful for understanding database logic and stor...

Postgres List Rows

Global
v1.0.0

Browse rows from a PostgreSQL table with filtering, column selection, sorting, and pagination. The workhorse tool for exploring data with granular con...

Postgres List Tables

Global
v1.0.0

List PostgreSQL tables with rich filtering and metadata options. Supports pattern matching, schema filtering, and optional inclusion of columns, relat...

Postgres List Triggers

Global
v1.0.0

List PostgreSQL triggers with their event types (INSERT, UPDATE, DELETE), timing (BEFORE, AFTER), and action statements. Essential for understanding d...

Postgres Profile Column

Global
v1.0.0

Profile a column's data distribution: min, max, avg, median, distinct count, null percentage, and most frequent values. Replaces writing multiple anal...

Postgres Restore Table

Global
v1.0.0

Restore table from backup created by postgres_backup_table. Can optionally drop existing table first.

Postgres Rollback Preview

Global
v1.0.0

Preview which rows would be affected by a DELETE or UPDATE statement without actually executing it. Shows sample rows that would be changed or deleted...

Postgres Sample Data

Global
v1.0.0

Get statistically representative random sample from table using TABLESAMPLE. Much faster than LIMIT on large tables. Perfect for quick data exploratio...

Postgres Search Text

Global
v1.0.0

Full-text search across text columns in one or more tables. Finds rows containing the search text in any text column. Useful for finding records by pa...

Postgres Vacuum Analyze

Global
v1.0.0

Analyze tables and suggest VACUUM and ANALYZE operations based on dead tuple ratio and last analyze time. Helps maintain database performance and recl...

Postgres Validate Constraints

Global
v1.0.0

Validate that all constraints (CHECK, NOT NULL, UNIQUE, FOREIGN KEY) are satisfied. Finds rows that violate constraints.

Search

Global
v1.0.0

Search PostgreSQL database using SQL queries or structured syntax. Returns ranked results with IDs and titles. Supports SELECT statements and table br...

Required Providers (1)

PostgreSQL

Developer Tools
PostgreSQL MCP server for powerful open-source relational database operations. Execute complex queries, manage structured data, support JSON and advanced data types, implement transactions with ACID...

Setup Instructions

Connect this PostgreSQL MCP Bundle Server to any MCP client in minutes

Compatible with Claude Desktop, Cursor, and all Model Context Protocol clients

https://mcp.mcpbundles.com/bundle/postgres

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

⚡ Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Ready to use PostgreSQL?

Get started with this MCP Bundle Server and connect it to your MCP client

PostgreSQL MCP Bundle Server - MCP Bundles • MCP Bundles