Pg MCP Research MCP Server

MCP server for interacting with PostgreSQL databases

Local serverstdio

What is the Pg MCP Research MCP Server?

MCP server for interacting with PostgreSQL databases

The short version

This implementation grants full control over the database to the agent. Therefore, it is strongly discouraged to use shared or sensitive databases.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Pg MCP Research MCP Server

{
  "mcpServers": {
    "my-db-server": {
      "command": "npx",
      "args": [
        "-y",
        "@k_yh/mcp-db-server",
        "postgresql://user:password@localhost:5432/my-db"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Frequently asked questions

MCP server for interacting with PostgreSQL databases Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.