PostgreSQL MCP (HenkDz)

Key facts

Score
70/100 (capped)
Tools
18
Token estimate
approx. 5,787 tokens
Auth
No key to connect
Tool calls
Blocked: blocked by our test setup (2026-11-10 UTC)
Functional tasks
not rated
Local-model runs
not rated
Last tested
2026-11-10 UTC on version 1.0.7
Low-token sort
not rated

From our recorded tests only. not rated = we have no recorded data for that field. Tool calls are direct calls with no model in the loop; functional tasks and local-model runs are separate, smaller test sets and are not scored. Evidence for each line is below (what we tested · methodology).

70/100

Capped at 70: core tools not tested: no backing service on the test box; the tests add up to 80. Why scores are capped

Last tested 2026-11-10 UTC (Fresh: tested within 30 days) Blocked by our test setupTool call not run: blocked by our test setup (not run: no backing Postgres on the test box, 2026-11-10 UTC). No key to connect

No advisories in range for tested 1.0.7 (checked 2026-11-23 UTC)

Security review: not tested

Test points add up to 80; the score is capped at 70 until a tool call passes. Not a quality or security rating. Methodology

Test points before the cap (80/100)

  • Install20/20
  • Handshake30/30
  • Maintenance5/25
  • Docs15/15
  • License10/10

Tool-call test (2026-11-10 UTC, direct MCP stdio client, no LLM): not run. Quoted from the test log: "Error: Failed to connect to database: connect ECONNREFUSED 127.0.0.1:5432". Our summary: no backing Postgres on the test box. Evidence: local test run, Nov 10, 2026 UTC.

Transport (tested 2026-10-22 UTC): stdio

Tested version: 1.0.7 · tested 2026-11-10 UTC

Token cost (estimate): approx. 5787 tokens, cl100k estimate (18 tools, measured 2026-11-12 UTC, version 1.0.7). This is an estimate from our testing of the tool names, descriptions and input schemas, counted with cl100k_base.

Permissions: 0 read, 10 write (state-changing), 8 unclassified · Auth: none · Rate limit: unknown · Pricing unit: unknown

Auth: none. Rate limit: unknown. Pricing unit: unknown.

  • pg_analyze_database — unclassified
  • pg_copy_between_databases — write (state-changing)
  • pg_debug_database — unclassified
  • pg_execute_mutation — write (state-changing)
  • pg_execute_query — unclassified
  • pg_execute_sql — write (state-changing)
  • pg_export_table_data — unclassified
  • pg_import_table_data — unclassified
  • pg_manage_comments — write (state-changing)
  • pg_manage_constraints — write (state-changing)
  • pg_manage_functions — write (state-changing)
  • pg_manage_indexes — write (state-changing)
  • pg_manage_query — unclassified
  • pg_manage_rls — unclassified
  • pg_manage_schema — write (state-changing)
  • pg_manage_triggers — write (state-changing)
  • pg_manage_users — write (state-changing)
  • pg_monitor_database — unclassified

handshake and tools listed without a recorded key or OAuth

Score 70/100 · Tools 18 · Token cost approx. 5,787 tokens · Compare · Last tested 2026-11-10 UTC · Version tested 1.0.7 · Package @henkey/postgres-mcp-server · Repo HenkDz/postgresql-mcp-server

Summary: PostgreSQL MCP (HenkDz) completed an MCP handshake without credentials and exposed 18 tools.

Evidence summary

Handshake
pass
Tools listed
18
Context cost
approx. 5787 tokens, cl100k estimate (18 tools, measured 2026-11-12 UTC, version 1.0.7; an estimate) ranking · add up your servers' context cost
API key
No key to connect (handshake passed)
Tested
2026-11-10 UTC

Test results

TestResultPointsEvidence
installpass20npm install @henkey/postgres-mcp-server --ignore-scripts (Node v24.22.1, Linux) succeeded in 1s.
handshakepass30MCP initialize + tools/list over stdio succeeded with no credentials; 18 tools listed in 6.3s.
maintenancepartial5Repo pushed 140 days before test.
docspass15README over 3,000 chars; install instructions present; mcpServers config example present. Check of the package's own README (README shipped in npm package).
licensepass10AGPL-3.0 (OSI-approved).

Local-model readiness

Token cost (estimate): approx. 5787 tokens, cl100k estimate for 18 tools · about 71% of an 8k context. This is an estimate from our testing (counted with cl100k_base).

Small-model friendly (schema heuristic, not a model result): low.

Not tested

Small-model task runs: Not yet tested.

Functional tasks (not run, tested 2026-11-10 UTC)

Current result: the 2026-11-10 UTC tool-call run of @henkey/postgres-mcp-server@1.0.7. Not run: pg_analyze_database. Quoted from the test log: "Error: Failed to connect to database: connect ECONNREFUSED 127.0.0.1:5432". Our summary: no backing Postgres on the test box.

TaskToolResultEvidence
Call pg_analyze_databasepg_analyze_databasenot runnot run: no backing Postgres on the test box

What we tested and what we didn't

Tested on 2026-11-10 UTC

  • Install from the registry
  • We connected with no credentials and asked for its tool list: it listed 18 tools (Method details: MCP initialize then tools/list)
  • Maintenance signals (last push, archived/deprecated status)
  • Docs (README length, install and config example)
  • License (OSI-approved or not)
  • Tool-call test: not run (2026-11-10 UTC)
  • Token cost (estimate)

Not tested

  • Security: not audited (no code review, no permission or data-flow analysis)
  • Behaviour with real credentials or a real account
  • Performance, rate limits or load
  • Correctness of results beyond the listed tasks
  • Small local-model task runs (not run for this server)

Methodology: how we test. A high score means it installs and responds, not that giving it access to your data carries no risk.

Known security issues

Checked on 2026-11-23 UTC for version 1.0.7 against OSV, GitHub advisories, GitHub repository advisories. Scope: the package itself; dependencies not scanned.

No published advisories found in OSV and GitHub advisories for @henkey/postgres-mcp-server 1.0.7 as of 2026-11-23 UTC. This is not a security audit.

⚠ Check is out of date.

Monthly roundup: MCP security issues, October 2026.

Tool list changes

Unchanged since the previous snapshot (latest 2026-11-14 UTC).

Note: tool list can depend on the connected database, so changes are annotated, not flagged automatically.

Snapshot hash (fingerprint of the tool list)

8f27d69105ca: SHA-256 of the canonical tool names, descriptions and input schemas. If it changes, the tool list changed.

Feeds: RSS · JSON.

Raw test record (JSON)
{
  "name": "@henkey/postgres-mcp-server",
  "version": "1.0.7",
  "registry": "npm",
  "status": "working",
  "tested": "2026-11-10",
  "tools_count": 18,
  "deprecated": false,
  "archived": false,
  "tests": {
    "install": [
      "pass",
      20,
      "`npm install @henkey/postgres-mcp-server --ignore-scripts` (Node v24.22.1, Linux) succeeded in 1s."
    ],
    "handshake": [
      "pass",
      30,
      "MCP `initialize` + `tools/list` over stdio succeeded with no credentials; 18 tools listed in 6.3s."
    ],
    "maintenance": [
      "partial",
      5,
      "Repo pushed 140 days before test."
    ],
    "docs": [
      "pass",
      15,
      "README over 3,000 chars; install instructions present; `mcpServers` config example present. Check of the package's own README (README shipped in npm package)."
    ],
    "license": [
      "pass",
      10,
      "AGPL-3.0 (OSI-approved)."
    ]
  },
  "testedAt": "2026-11-10T23:14:31.863Z"
}

Install

npx -y @henkey/postgres-mcp-server --connection-string <postgresql-url>

Pin the version we tested

npx -y @henkey/postgres-mcp-server@1.0.7 --connection-string <postgresql-url>

tested 2026-11-10 UTC. Newer versions may differ and were not tested by us. This package has an install script or a native dependency.

{
  "mcpServers": {
    "postgresql-mcp-henkdz": {
      "command": "npx",
      "args": [
        "-y",
        "@henkey/postgres-mcp-server@1.0.7",
        "--connection-string",
        "<postgresql-url>"
      ]
    }
  }
}

Tools listed

pg_analyze_database, pg_copy_between_databases, pg_debug_database, pg_execute_mutation, pg_execute_query, pg_execute_sql, pg_export_table_data, pg_import_table_data, pg_manage_comments, pg_manage_constraints, pg_manage_functions, pg_manage_indexes, pg_manage_query, pg_manage_rls, pg_manage_schema, pg_manage_triggers, pg_manage_users, pg_monitor_database

Tool history: captured Nov 14, 2026 UTC. All tool history.

Quick config

{
  "mcpServers": {
    "postgresql-mcp-henkdz": {
      "command": "npx",
      "args": [
        "-y",
        "@henkey/postgres-mcp-server",
        "--connection-string",
        "<postgresql-url>"
      ]
    }
  }
}

Add to config Opens the config generator with this server selected.

Setup

  1. Install. Run npm install @henkey/postgres-mcp-server --ignore-scripts (Node v24.22.1). This is the exact command we ran on 2026-11-10 UTC.
  2. Configure. Add the mcpServers entry below to your MCP client config.
  3. Verify. Restart the client and check that tools/list returns tools (18 in our test).
{
  "mcpServers": {
    "postgresql-mcp-henkdz": {
      "command": "npx",
      "args": [
        "-y",
        "@henkey/postgres-mcp-server",
        "--connection-string",
        "postgresql://postgres@127.0.0.1:5432/test"
      ]
    }
  }
}

Test history

Follow this server (RSS) · Monthly changelog

Related: Best PostgreSQL MCP servers · Best database MCP servers

FAQ

Is PostgreSQL MCP (HenkDz) deprecated?

No. PostgreSQL MCP (HenkDz) was not deprecated or archived when we last tested it on 2026-11-10 UTC.

What replaces PostgreSQL MCP (HenkDz)?

Nothing; PostgreSQL MCP (HenkDz) is not deprecated as of 2026-11-10 UTC.

Does PostgreSQL MCP (HenkDz) need an API key?

No. It completed an MCP handshake with no credentials and listed 18 tools.

Embed the badge

TestedMCP: 70/100, tested 2026-11-10 UTC

Every tested server gets a free embeddable badge. It shows the current score and test date and expires after 90 days. Testing is free; payment never changes a score.

Claim this listing · Report an issue