Show HN: Cloud-Ready Postgres MCP Server

Hey HN,

I built pg-mcp, a Model Context Protocol (MCP) server for PostgreSQL that provides structured schema inspection and query execution for LLMs and agents. It's multi-tenant and runs over HTTP/SSE (not stdio)

Features - Supports multiple database connections from multiple agents

- Schema Introspection: Returns table structures, types, indexes and constraints; enriched with descriptions from pg_catalog. (for well documented databases)

- Read-Only Queries: Controlled execution of queries via MCP.

- EXPLAIN Tool: Helps smart agents optimize queries before execution.

- Extension Plugins: YAML-based plugin system for Postgres extensions (supports pgvector and postgis out of the box).

- Server Mode: Spin up the container and it's ready to accept connections at http://localhost:8000/sse


Comments URL: https://news.ycombinator.com/item?id=43520953

Points: 11

# Comments: 2

https://github.com/stuzero/pg-mcp

Created 1mo | Mar 30, 2025, 4:40:08 AM


Login to add comment

Other posts in this group

Ask HN: Who wants to be hired? (May 2025)

Share your information if you are looking for work. Please use this format:

  Location:
  Remote:
  Willing to relocate:
  Technologies:
  Résumé/CV:
  Email:
Please onl
May 1, 2025, 10:40:10 PM | Hacker news
Ask HN: Who is hiring? (May 2025)

Please state the location and include REMOTE for remote work, REMOTE (US) or similar if the country is restricted, and ONSITE when remote work is not an option.

Please only post if you pe

May 1, 2025, 10:40:08 PM | Hacker news
Show HN: Kubetail – Real-time log search for Kubernetes

Hi Everyone!

Kubetail is a general-purpose logging dashboard for Kubernetes, optimized for tailing logs across multi-container workloads in real-time. With Kubetail, you can view logs from all t

May 1, 2025, 10:40:03 PM | Hacker news