PgEdge Postgres MCP

pgEdge Postgres MCP is a Model Context Protocol (MCP) server that lets AI clients such as ChatGPT and GitHub Copilot run SQL queries against PostgreSQL 14 and…

  • AI
  • Databases
  • Tools & Utilities
pgEdge Postgres MCP is a Model Context Protocol (MCP) server that lets AI clients such as ChatGPT and GitHub Copilot run SQL queries against PostgreSQL 14 and later databases. A built-in Natural Language Agent turns plain-language questions into SQL, so you can explore your data through any MCP-compatible client without writing queries by hand.

Platform availability

Available on 1 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

50/100 Fair

Maintained
54last commit 186 days ago
Popular
2516 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
No data
Security check
88no serious findings, 2 minor, CI, tests

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
16
Open issues
6
Last commit
2026-05-31
Latest release
v1.1.0
Activity
stale

Checked 2 days ago - source: GitHub (pgEdge/pg-healthcheck)

Resources & Compatibility

Requirements not published yet.

Checked 52 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Fill in the config file before starting Copy the example to bin/postgres-mcp.yaml, then edit in your database connection details. Without the right file, the server starts but won't know which PostgreSQL database to talk to. source
  • Check it works with a simple question Ask, 'What tables are in my database?' after the app is running. If it answers correctly, it can reach your PostgreSQL database; if not, your config or database access is likely wrong. source
  • Start in a dedicated demo folder Run mkdir ~/pgedge-ait-demo and cd ~/pgedge-ait-demo before setting up the demo. This keeps the downloaded or generated files in one folder instead of mixing them with other files. source

Fetched 51 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

How do I generate and set the initial bearer token on Windows?

Use PowerShell to create 32 random bytes, convert the bytes to lowercase hexadecimal, set that value as INIT_TOKENS, and use the same value as the MCP bearer token.

How do I verify the service after startup?

After starting it, check the health endpoint on port 8080.

What common issues should I check if setup fails?

Check version requirements, port conflicts, database connectivity, Docker networking, and certificate validation.

How can I query Postgres with natural language?

The Natural Language Agent lets you send natural-language queries to the MCP Server to query Postgres.

Answers sourced from docs.pgedge.com, github.com, github.com

Community

No community discussions collected yet.