1. Conduid
  2. Data
  3. antonorlov/mcp-postgres-server
MCP server · Data

antonorlov/mcp-postgres-server

MCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf.

66Good

Scored 19 hours ago · breakdown

About antonorlov/mcp-postgres-server

antonorlov/mcp-postgres-server is an MCP server published by antonorlov in the Data category: mCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf. Conduid read 2 tools from its source: connect_db and execute. It is published to npm as mcp-postgres-server and starts with npx.

The repository has 25 stars and 10 forks, is licensed MIT, and its last commit was on 16 Sep 2026. The latest release is v0.3.1 (14 Sep 2026): Every tool now documents the exact shape it returns, so the model knows the response before the first call: query returns {rows, rowCount, returnedRows, truncated} (plus… It follows v0.3.0 (13 Sep 2026), and the 3 most recent releases go back to v0.2.0 (13 Sep 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include database, postgres, postgresql, sql and ssh-tunnel.

Install

Claude Code
claude mcp add antonorlov-mcp-postgres-server -- npx -y mcp-postgres-server
npx
npx -y mcp-postgres-server
From source
git clone https://github.com/antonorlov/mcp-postgres-server

Tools (2)

connect_dbOnly when `PG_ENABLE_RUNTIME_CONNECT=true`
executeAlways (refuses writes unless `PG_ALLOW_WRITE=true`)

Security checks

  • ✓README presentThe repository's README runs to about 2.5K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 4 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

v0.3.1v0.3.1 · 14 Sep 2026Changed Every tool now documents the exact shape it returns, so the model knows the response before the first call: `query` returns `{rows, rowCount, returnedRows, truncated}` (plus `hint` when truncated), `execute` returns `{rowCount,…
v0.3.0v0.3.0 · 13 Sep 2026Added SSH failures are classified into stable `code`s (`SSH_CONFIG_INVALID`, `SSH_KEY_INVALID`, `SSH_CONNECT_FAILED`, `SSH_TIMEOUT`, `SSH_AUTH_FAILED`, `SSH_HOST_KEY_MISMATCH`, `SSH_FORWARD_FAILED`, `SSH_CONNECTION_LOST`) with SSH-named…
v0.2.0v0.2.0 · 13 Sep 2026BREAKING (from 0.1.x): 1. Read-only by default. Set `PG_ALLOW_WRITE=true` for writes; `execute` stays visible but refuses them until then. 2. `connect_db` requires `PG_ENABLE_RUNTIME_CONNECT=true` (otherwise not registered). See "Migrating…

README

The repository's README runs to about 2.5K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About antonorlov/mcp-postgres-server

How do I install antonorlov/mcp-postgres-server?

In Claude Code, run claude mcp add antonorlov-mcp-postgres-server -- npx -y mcp-postgres-server. Other MCP clients take the command after "--" in their server configuration.

Is antonorlov/mcp-postgres-server safe to use with an AI agent?

Its trust score is 66 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is antonorlov/mcp-postgres-server still maintained?

Yes — the latest release is v0.3.1 (14 Sep 2026), and the last commit was 2 months ago. The repository has 25 stars.

What tools does antonorlov/mcp-postgres-server provide?

Conduid read 2 tools from the source: connect_db and execute.

What license is antonorlov/mcp-postgres-server released under?

The repository declares the MIT license. That applies to the latest release, v0.3.1, as well.