MCP Directory
Back

pgmcp

by subnetmarco · Go · ★ 536

An MCP server to query any Postgres database in natural language.

#agent#agentic-ai#ai#analytics#artificial-intelligence#data-analysis#database#kong#mcp#mcp-server#postgres#postgresql

Install

go install github.com/subnetmarco/pgmcp@latest

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "pgmcp": {
      "command": "npx",
      "args": [
        "-y",
        "github:subnetmarco/pgmcp"
      ]
    }
  }
}

From the README

[](https://github.com/subnetmarco/pgmcp/actions/workflows/ci.yml) [](https://goreportcard.com/report/github.com/subnetmarco/pgmcp) [](https://opensource.org/licenses/Apache-2.0) PGMCP connects AI assistants to **any PostgreSQL database** through natural language queries. Ask questions in plain English and get structured SQL results with automatic streaming and robust error handling. **Works with**: Cursor, Claude Desktop, VS Code extensions, and any [MCP-compatible client](https://modelcontextprotocol.io/) PGMCP connects to **your existing PostgreSQL database** and makes it accessible to AI…
Read full README on GitHub →

Related databases servers