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 mcp add postgresql-mcp-server-9796 -- npx -y @yawlabs/postgres-mcp@latestnpx -y @yawlabs/postgres-mcp@latestgit clone https://github.com/YawLabs/postgres-mcpSecurity 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
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