Pgmcp

Data

database query interface

SHOW HN2025

Pgmcp

An MCP server to query any Postgres database in natural language

github.com

#postgres#mcp server#natural language sql#llm database

18points
6comments
#2,125of 3,837 in 2025
Top 56%of 2025 by points

How HN took it

QuietFewer than 5 comments about the project

0 positive, 3 neutral or asking, 0 mixed, 0 critical, out of 3 comments about the project.

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

Objections

  • Unclear whether it performs better than the existing npx Postgres MCP server

    From 1 comment
    • Nice, but can somebody tell me if this performs better than my simple Postgres MCP using npx? My current setup uses the LLM to search through my local Postgres in multiple steps.…
      cahaya on HN
  • Raises concern about prompt-injection data exfiltration risk (lethal trifecta)

    From 1 comment
    • How does this protect against lethal trifecta attacks like the ones here - tramlines.io/blog ?
      coderinsan on HN

Requests

  • Let the agent monitor and cancel long-running or resource-heavy queries

    From 1 comment
    • nice! is there a way for the agent to know about it's own queries / resource usage? eg the agent could actively monitor memory/cpu/time usage of a query and cancel it if it's…
      oulipo2 on HN

Questions

  • Does it perform better than the existing npx Postgres MCP server?

    From 1 comment
    • Nice, but can somebody tell me if this performs better than my simple Postgres MCP using npx? My current setup uses the LLM to search through my local Postgres in multiple steps.…
      cahaya on HN
  • How does it protect against lethal trifecta attacks?

    From 1 comment
    • How does this protect against lethal trifecta attacks like the ones here - tramlines.io/blog ?
      coderinsan on HN

Alternatives named

  • @modelcontextprotocol/server-postgres via npx

    From 1 comment
    • Nice, but can somebody tell me if this performs better than my simple Postgres MCP using npx? My current setup uses the LLM to search through my local Postgres in multiple steps.…
      cahaya on HN
  • zenquery desktop app for querying data files

    From 1 comment
    • Shameless plug: I literally built a desktop app that does the exact same thing, but, with any data file you throw at it. CSV, Json, Excel and Parquet... all supported. And…
      freakynit on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/45280980)