About antonorlov/mcp-postgres-server
antonorlov/mcp-postgres-server is an MCP server published by antonorlov in the Data category: mCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf. Conduid read 2 tools from its source: connect_db and execute. It is published to npm as mcp-postgres-server and starts with npx.
The repository has 25 stars and 10 forks, is licensed MIT, and its last commit was on 16 Sep 2026. The latest release is v0.3.1 (14 Sep 2026): Every tool now documents the exact shape it returns, so the model knows the response before the first call: query returns {rows, rowCount, returnedRows, truncated} (plus… It follows v0.3.0 (13 Sep 2026), and the 3 most recent releases go back to v0.2.0 (13 Sep 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include database, postgres, postgresql, sql and ssh-tunnel.
Install
claude mcp add antonorlov-mcp-postgres-server -- npx -y mcp-postgres-servernpx -y mcp-postgres-servergit clone https://github.com/antonorlov/mcp-postgres-serverTools (2)
connect_dbOnly when `PG_ENABLE_RUNTIME_CONNECT=true`executeAlways (refuses writes unless `PG_ALLOW_WRITE=true`)Security checks
- ✓README presentThe repository's README runs to about 2.5K 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 4 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 2.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README