‹ The Index

PostgreSQL (hardened, read-only)

npm

Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.

Works with: Claude Code, Cursor, Claude Desktop, Codex CLI, Gemini CLI, Cline, Windsurf, VS Code (installable)
installable: each client documents how to load an MCP server of this type — that is the client's promise, not a claim verified against this capability

Category: Database — see all ranked ›

Work: Database access

Who it is for: Software engineer · Data analyst

Install (Claude Code):

claude mcp add postgres-mcp-hardened -- npx -y postgres-mcp-hardened

You searched for one. Check the rest of your stack:

npx tashan-cli doctor

Reads the config already on your machine and names what is dead, deprecated or running code at install time. No account, nothing uploaded.

tashan Pro$6/mo

PostgreSQL (hardened, read-only) scores 63 today. Pro keeps the series, so you can see whether that is a project getting better or one on its way down — and tells you the day it moves.

Start a 7-day trial › Everything measured on this page stays free.

Show your score

Measured this well? Put the live badge in your README — it updates as the score does.

tashan badge for PostgreSQL (hardened, read-only)
[![tashan](https://tashan.sh/badge/pkg-postgres-mcp-hardened.svg)](https://tashan.sh/capability/pkg-postgres-mcp-hardened.html)

Security audit

scanned 2026-08-10

Every finding is shown in full — which advisory, the version that fixes it, and the exact command run at install time. Nothing in this audit is behind a licence.

No known advisoriesclearchecked against OSV for 0.1.5
Runs a script at install timecodenode scripts/postinstall.js
No access inferred from declared dependenciesnothing it depends on reaches files, shell or network. This reads declarations only — built-in APIs are invisible to it, so absence of a declaration is not absence of access
Signed build provenancepublished from public CI with an attestation

npm ↗  ·  source ↗  ·  pkg:postgres-mcp-hardened

Everything on this page is public evidence and free. What it cannot know is whether you run this — npx tashan-cli doctor reads your own config and names what is wrong in it, also free. tashan Pro tells you the day any of it changes.

Already running this? npx tashan-cli doctor checks your whole config against the Index — how it works ›

Measured 2026-08-10  ·  scorer s5  ·  how  ·  something wrong here?