Skip to main content
Glama

PostgreSQL MCP Server

by cesarvarela

get-schema

Retrieve detailed PostgreSQL database schema information, including tables, columns, data types, and optional constraints, to analyze and understand database structure effectively.

Instructions

Get database schema information including tables, columns, data types, and optionally constraints. Useful for understanding database structure.

Input Schema

NameRequiredDescriptionDefault
include_columnsNo
include_constraintsNo
schema_nameNopublic
table_patternNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "include_columns": { "default": true, "type": "boolean" }, "include_constraints": { "default": false, "type": "boolean" }, "schema_name": { "default": "public", "type": "string" }, "table_pattern": { "type": "string" } }, "type": "object" }
Install Server

Other Tools from PostgreSQL MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/cesarvarela/postgres-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server