P

PostgreSQL MCP Server

by sarotechhub · sarotechhub/PostgreSQL MCP Server

Enables Claude Desktop to interact with PostgreSQL databases through natural language for schema exploration, data analysis, and query execution. Users can search schemas, describe tables, and perform read or write operations without needing to write manual SQL.

Unknown transport Glama Low confidence
Note

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
DB_HOST No PostgreSQL host Default: localhost
DB_NAME Yes Database name
DB_PORT No PostgreSQL port Default: 5432
DB_USER Yes Database user
LOG_LEVEL No Logging level (DEBUG/INFO/WARNING) Default: INFO
PYTHONPATH No Path to the project root, used to ensure modules are importable
DB_PASSWORD Yes Database password
DB_MAX_CONNECTIONS No Max pool connections Default: 10
DB_MIN_CONNECTIONS No Min pool connections Default: 1
ALLOW_WRITE_OPERATIONS No Enable INSERT/UPDATE/DELETE Default: false

Similar servers