← Index

PostgreSQL MCP Server

io.github.musaddiq-dev/postgresql-mcp-server·v0.1.2·Databases

Python MCP server for PostgreSQL database inspection and querying

In-path gate · all MCP tools

Using PostgreSQL MCP Server in Claude, Cursor, Gemini CLI, Cline, or Zed?

MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts—before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).

Install the mcpindex gate (one command)

Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less

curl -fsSL https://mcpindex.ai/install.sh | sh
Trust verdict · v1 advisory · method
REVIEWstatus: PARTIALfresh until 2026-08-07 21:03 UTC
screened 2026-07-08tier: scannedgranularity: description-levelsource: registry

Semantic screen found no manipulation pattern in the description. Conformance probe not yet run.

mcpindex.integrity.descriptionpassINFO

evidenceNo malicious instructions foundvia static_description

Limits of this verdict
  • - Semantic screen only - the deterministic conformance probe has not run on this server
  • - Confidence is reported but not yet calibrated (v1)
  • - Screen reads the tool description, not the live behavior
  • - advisory
  • - registry description only no input schema
  • - screen model 8b

Semantic screen: an LLM judge reads the tool description for hidden instructions (status PARTIAL). A pass means the description is not lying, not that the tool is safe: a high-capability tool with an honest description still warrants caution. The deterministic conformance probe has not been run on this server yet, so the screen here is semantic-only. Posture: advisory. Confidences are reported but not yet calibrated (calibrated=false at v1). Full verdict history is not shown on this page.

Own this server? Screen its description →

Embed this badge

A live verdict badge for your README or listing. It reflects the current screen, links back here, and updates when the verdict does.

Markdown
[![mcpindex](https://mcpindex.ai/api/v1/badge/io-github-musaddiq-dev-postgresql-mcp-server)](https://mcpindex.ai/server/io-github-musaddiq-dev-postgresql-mcp-server)
HTML
<a href="https://mcpindex.ai/server/io-github-musaddiq-dev-postgresql-mcp-server"><img src="https://mcpindex.ai/api/v1/badge/io-github-musaddiq-dev-postgresql-mcp-server" alt="mcpindex verdict" height="20" /></a>
Environment variables
POSTGRES_HOST
required

PostgreSQL host

POSTGRES_PORT
required

PostgreSQL port

POSTGRES_USER
required

PostgreSQL username

POSTGRES_PASSWORD
secret

PostgreSQL password

POSTGRES_DB
required

PostgreSQL database name

POSTGRES_READ_QUERY_LIMIT

Maximum rows returned by read queries

MCP quality score · maturity, not trust · methodology
freshness
23
completeness
15
installability
25
documentation
15
stability
5
Alternatives in Databases