Enterprise DNA
M MCP Servers Developer low

subnetmarco/pgmcp

by Various

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

S

MCP

subnetmarco/pgmcp

Added 1 June 2026

#agent #agentic-ai #ai #analytics #artificial-intelligence #data-analysis #database #kong

Overview

An MCP server that translates natural language queries into SQL for Postgres databases. It uses the Model Context Protocol to accept plain English input and execute corresponding queries. Built in Go, it connects to any Postgres instance with minimal setup.

Best for

Best for
Teams building MCP-based tools that need natural language access to Postgres databases

Use cases

  • Query Postgres databases using natural language instead of writing SQL
  • Integrate with MCP-compatible clients like AI assistants for database access
  • Rapidly explore database contents without knowing the schema

Notes

An MCP server that translates natural language queries into SQL for Postgres databases. It uses the Model Context Protocol to accept plain English input and execute corresponding queries. Built in Go, it connects to any Postgres instance with minimal setup.

532 stars on GitHub. Last updated 2026-05-26.

Use cases

  • Query Postgres databases using natural language instead of writing SQL
  • Integrate with MCP-compatible clients like AI assistants for database access
  • Rapidly explore database contents without knowing the schema

Pros

  • Simplifies database interaction for non-technical users
  • Supports any Postgres database without custom configuration
  • Built in Go for performance and low resource usage

Cons

  • Limited to Postgres; no support for other database types
  • Natural language may produce incorrect or inefficient SQL queries
  • Requires an MCP client to interface with the server

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Simplifies database interaction for non-technical users
  • Supports any Postgres database without custom configuration
  • Built in Go for performance and low resource usage

Cons

  • Limited to Postgres; no support for other database types
  • Natural language may produce incorrect or inefficient SQL queries
  • Requires an MCP client to interface with the server