list_views
List views in a schema
How to use it
Project documentation lists list_views for the Postgres MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Postgres MCP
npx @javiagui/postgresql-mcpOther tools in Postgres MCP (14)
Get table structure (columns, types, constraints)
Get view definition and columns
Execute write operations (INSERT/UPDATE/DELETE) when enabled
Get EXPLAIN plan for query optimization
Get database version and connection info
List constraints (PK, FK, UNIQUE, CHECK)
List the configured connections by alias, with host, database, write permission and which is the default. Never returns credentials.
List functions and procedures
List indexes for a table
List all schemas in the database
List tables in a specific schema
Execute read-only SQL queries against the database
Search for columns by name across all tables
Get table statistics (row count, size, bloat)