PostgreSQL (hardened, read-only)

io.github.Eszetael/postgres-mcp-hardened

About PostgreSQL (hardened, read-only)

PostgreSQL (hardened, read-only) is an MCP server published by the GitHub account Eszetael. Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.

It runs on your own machine: your AI client starts it from the npm package postgres-mcp-hardened at version 0.1.10.

It asks for one secret: DATABASE_URL. Give it a key with the least access that still works.

Version 0.1.10 was published on 4 September 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 6 pass, 1 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
DATABASE_URLYesYesConnection string for the role the server connects as. Use a role that cannot write — the server refuses writes twice, but a read-only role is the layer that does not depend on us being correct. `--print-setup-sql` prints the SQL that creates one.
MCP_STATEMENT_TIMEOUTNoNoServer-side statement timeout, e.g. `5s`. A question that would pin the database is cancelled by PostgreSQL, not by hope.
MCP_ALLOW_TABLESNoNoComma-separated allowlist. A table off the list is refused by name, and hiding it inside a CTE, a view or a join does not help.
MCP_AUDIT_LOGNoNoPath to the tamper-evident audit log. Entries are chained by hash and survive a restart; `--verify-audit` checks the chain against an off-host anchor.
MCP_ADDRNoNoAddress to bind, default 127.0.0.1:8080.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/Eszetael/postgres-mcp-hardened
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 1 secret: DATABASE_URL
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account Eszetael
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsWarnRuns at install: postinstall: node scripts/postinstall.js
Code red flagsPassRead 7 files in postgres-mcp-hardened@0.1.10: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 7 files, including comments and the README

Popularity & health: 61 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity12 / 40

3 GitHub stars, 294 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity25 / 25

Last push 2026-10-25, last release 2026-09-04, 91 commits in 90 days.

Issue health8 / 15

0 closed of 0 issues, too few to judge. No data, so half marks.

Our checks16 / 20

1 warning, each costing a fifth.

0 forks, 1 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.Eszetael/postgres-mcp-hardened
PublisherGitHub account Eszetael
How the name is verifiedName verified via GitHub account Eszetael. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm postgres-mcp-hardened 0.1.10 (stdio)
oci ghcr.io/eszetael/postgres-mcp-hardened:0.1.10 no version given (streamable-http)
Version0.1.10
Published
Last updated
Source repositoryhttps://github.com/Eszetael/postgres-mcp-hardened
Websitehttps://github.com/Eszetael/postgres-mcp-hardened
CategoryDatabases & data (assigned by keyword rule, not by hand)

Related servers in Databases & data