1. Conduid
  2. Healthcare
  3. PostgreSQL MCP Server
MCP server · Healthcare

PostgreSQL MCP Server

Read-only-by-default MCP server for PostgreSQL. Query, introspect schemas, explain plans, health checks.

52Fair

Scored 7 hours ago · breakdown

About PostgreSQL MCP Server

PostgreSQL MCP Server is an MCP server published by YawLabs in the Healthcare category: read-only-by-default MCP server for PostgreSQL. Query, introspect schemas, explain plans, health checks. It is published to npm as @yawlabs/postgres-mcp and starts with npx.

The repository has 12 stars and 3 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v0.13.9 (11 Oct 2026): POSTGRES_MCP_SANDBOX=1 no longer lets an inherited NODE_OPTIONS widen the sandbox. It follows v0.13.8 (6 Oct 2026), and the 5 most recent releases go back to v0.13.5 (23 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include database, dba, explain, index-advisor, postgres and postgresql.

Install

Claude Code
claude mcp add postgresql-mcp-server-9796 -- npx -y @yawlabs/postgres-mcp@latest
Run
npx -y @yawlabs/postgres-mcp@latest
From source
git clone https://github.com/YawLabs/postgres-mcp

Security checks

Static checks derived from the repository a month ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 7.1K 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 17 source files and found 2 calls to eval or shell execution, in bin/postgres-mcp.mjs among others. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

Releases

v0.13.9v0.13.9 · 11 Oct 2026Security `POSTGRES_MCP_SANDBOX=1` no longer lets an inherited `NODE_OPTIONS` widen the sandbox. oam 0.18.0 reads `--permission` and `--allow-*` flags from `NODE_OPTIONS` as well as from its command line, and takes every one the command…
v0.13.8v0.13.8 · 6 Oct 2026Changed The oam floor moves from 0.15.2 to 0.18.0, so the `postgres-mcp` launcher no longer runs the server on an older oam. This server is verified on one oam release at a time, and the floor keeps the launcher off anything older than…
v0.13.7v0.13.7 · 29 Sep 2026Fixed `release.sh` reads npm's per-version document and retries the MCP Registry publish. Every "is x.y.z on npm?" check -- the step-5 skip, the CI hand-off poll, the npm propagation wait and the step-8 verify -- now goes through one…
v0.13.6v0.13.6 · 23 Sep 2026Changed fix(audit): reject directory paths at startup on Windows (#61)
v0.13.5v0.13.5 · 23 Sep 2026Fixed Agent SQL that never ran now leaves an audit line (#42). Whether a call that failed before its statement was sent wrote a line depended on which helper it went through. `runInternal` connects inside its audited step, so a refused…

README

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

Read full README
Questions

About PostgreSQL MCP Server

How do I install PostgreSQL MCP Server?

In Claude Code, run claude mcp add postgresql-mcp-server-9796 -- npx -y @yawlabs/postgres-mcp@latest. Other MCP clients take the command after "--" in their server configuration.

Is PostgreSQL MCP Server safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. It has no ConduID identity yet, so agent calls to it are not receipted.

Is PostgreSQL MCP Server still maintained?

Yes — the latest release is v0.13.9 (11 Oct 2026), and the last commit was 2 days ago. The repository has 12 stars.

What license is PostgreSQL MCP Server released under?

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