PostgreSQL MCP Server

Official registry Data and databases

PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @itunified.io/mcp-postgres
Claude Code
claude mcp add postgresql-mcp-server -e 'POSTGRES_CONNECTION_STRING=<POSTGRES_CONNECTION_STRING>' -- npx -y @itunified.io/mcp-postgres@2026.4.10-1
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "postgresql-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@itunified.io/mcp-postgres@2026.4.10-1"
            ],
            "env": {
                "POSTGRES_CONNECTION_STRING": "<POSTGRES_CONNECTION_STRING>"
            }
        }
    }
}

Environment variables

  • POSTGRES_CONNECTION_STRING PostgreSQL connection string (e.g. postgresql://user:pass@host:5432/db)

Frequently asked questions

What is PostgreSQL MCP Server?

PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management

How do I install PostgreSQL MCP Server?

It runs on your machine. In Claude Code: claude mcp add postgresql-mcp-server -e 'POSTGRES_CONNECTION_STRING=<POSTGRES_CONNECTION_STRING>' -- npx -y @itunified.io/mcp-postgres@2026.4.10-1. For other clients, paste the JSON configuration from this page into their MCP settings.

Does PostgreSQL MCP Server need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is PostgreSQL MCP Server open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains PostgreSQL MCP Server?

It is published by itunified-io. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.