pgmcp

subnetmarco/pgmcp
★ 525 stars Go 🗄️ Database Updated 1mo ago
An MCP server to query any Postgres database in natural language.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pgmcp": {
      "command": "go",
      "args": [
        "run",
        "github.com/subnetmarco/pgmcp@latest"
      ]
    }
  }
}

Topics

agentagentic-aiaianalyticsartificial-intelligencedata-analysisdatabasekongmcpmcp-serverpostgrespostgresql