DatabaseGo

pgmcp

PGMCP connects AI assistants to any PostgreSQL database through natural language queries.

Free
N/A rating (0 reviews)0 installs527 GitHub stars
PostgreSQLNatural Language ProcessingAI

PGMCP allows users to interact with their PostgreSQL databases using plain English, transforming natural language questions into structured SQL queries. This server facilitates seamless communication between AI assistants and databases, enabling users to retrieve information effortlessly without needing to write SQL code themselves. With robust error handling and automatic streaming of results, PGMCP enhances the user experience by providing quick and accurate responses to database queries.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "pgmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pgmcp"
      ]
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1
pgmcp MCP Server — MCPNest — MCPNest