postgresql-mcp-git MCP Server

A Model Context Protocol (MCP) server that provides AI assistants (like Claude) with tools to directly interact with PostgreSQL databases securely.

Local serverstdio

What is the postgresql-mcp-git MCP Server?

postgresql-mcp-git is an MCP project maintained in the udaykumar-dhokia/postgresql-mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides AI assistants (like Claude) with tools to directly interact with PostgreSQL databases securely”. Read the project documentation for the complete scope.

Installation

The documented pypi package is postgresql-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the postgresql-mcp-git MCP Server

{
  "mcpServers": {
    "postgresql-mcp": {
      "command": "uvx",
      "args": [
        "postgresql-mcp"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
API_KEYDeclared in the maintainer’s client configuration.Check documentation