PluginBench
MCP Server
Maintained
MIT

PostgreSQL MCP Server MCP Server

io.github.musaddiq-dev/postgresql-mcp-server

What is the PostgreSQL MCP Server MCP server?

Python MCP server for PostgreSQL database inspection and querying

How to install PostgreSQL MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • POSTGRES_HOST
    required

    PostgreSQL host

  • POSTGRES_PORT
    required

    PostgreSQL port

  • POSTGRES_USER
    required

    PostgreSQL username

  • POSTGRES_PASSWORD
    secret

    PostgreSQL password

  • POSTGRES_DB
    required

    PostgreSQL database name

  • POSTGRES_READ_QUERY_LIMIT

    Maximum rows returned by read queries

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "postgresql-mcp-server": {
      "command": "uvx",
      "args": [
        "mdev-postgresql-mcp-server"
      ],
      "env": {
        "POSTGRES_HOST": "<YOUR_POSTGRES_HOST>",
        "POSTGRES_PORT": "<YOUR_POSTGRES_PORT>",
        "POSTGRES_USER": "<YOUR_POSTGRES_USER>",
        "POSTGRES_PASSWORD": "<YOUR_POSTGRES_PASSWORD>",
        "POSTGRES_DB": "<YOUR_POSTGRES_DB>",
        "POSTGRES_READ_QUERY_LIMIT": "<YOUR_POSTGRES_READ_QUERY_LIMIT>"
      }
    }
  }
}

Related MCP servers

AWAWS CLI MCP Server logo

Python MCP server for AWS CLI inspection and operations

0
Python
MIT
View repository →
MYMySQL MCP Server logo

Python MCP server for MySQL database inspection and querying

0
Python
MIT
View repository →
DEDeoochform logo

Create forms, read submissions, and build invitations from Claude, ChatGPT, or any MCP client.

0
MIT
View repository →

Write to Figma from any MCP client (Claude Code, Cursor). Complements the read-only official MCP.

1
Astro
MIT
View repository →

AI soigneur for cyclists: Strava ride to an Ien-Vitse-validated nutrition plan + orderable box.

0
MIT
View repository →
BRbreedsim-mcp logo

Breeding-scheme simulation via AlphaSimR. Needs R, AlphaSimR and libtirpc-dev on the host.

0
Python
GPL-3.0
View repository →