MCP Servers
antonorlov/mcp-postgres-server
MCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf.
Our verdict
We have not reviewed antonorlov/mcp-postgres-server yet
No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.
From the listing
About antonorlov/mcp-postgres-server
An MCP server that connects PostgreSQL databases to MCP-compatible AI coding tools. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf.
Best for
Developers using AI coding tools who need direct PostgreSQL access
Use cases
- Query PostgreSQL from Claude Code
- Give Cursor access to database schema
- Run database operations inside VS Code
Notes
20 stars on GitHub. Last updated 2026-09-16. Licensed MIT.
Pros
- Supports multiple popular AI tools
- Written in TypeScript
- Straightforward MCP integration for PostgreSQL
Cons
- Small project with limited community traction
- No detailed feature or usage documentation cited
- Requires manual MCP client configuration
Key facts
What we have checked
- Days since the last commit
- 40
- GitHub forks
- 10
- GitHub stars
- 24
- Days to a first reply on issues
- 141.3
- Open issues
- 1
- Releases in the last 90 days
- 3
Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.
How to use
How to set it up
As the listing publishes it. We have not run this install.
Install
npx mcp-postgres-serverTools exposed
connect_dbDATABASE_URLPG_HOSTPG_PORTPG_USERPG_PASSWORDPG_DATABASEPG_ALLOW_WRITEPG_SSLMODEPG_SSL_CAPG_ENABLE_RUNTIME_CONNECTPG_MAX_RESULT_BYTESPG_STATEMENT_TIMEOUTPG_CONNECT_TIMEOUTPG_SSH_HOSTPG_SSH_PORTPG_SSH_USERPG_SSH_PRIVATE_KEYPG_SSH_PASSPHRASEPG_SSH_AGENT
Clients the listing names (not checked here)
Claude Code, Cursor, Windsurf, VS Code
Example client config
{
"mcpServers": {
"postgres": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-postgres-server"
],
"env": {
"DATABASE_URL": "postgres://user:password@localhost:5432/mydb",
"PG_ALLOW_WRITE": "false"
}
}
}
}Install
Add antonorlov/mcp-postgres-server to your client
Our lab has not run this server yet. "Config checked" on a client means the recipe matches that client's documented config format; it does not mean we ran it.
Claude Code
Config checkedRun in your terminal (runs on your computer)
claude mcp add --transport stdio antonorlov-mcp-postgres-server -- npx -y mcp-postgres-server@0.3.1Claude Desktop
Config checkedAdd to claude_desktop_config.json (runs on your computer)
{
"mcpServers": {
"antonorlov-mcp-postgres-server": {
"command": "npx",
"args": [
"-y",
"mcp-postgres-server@0.3.1"
]
}
}
}Cursor
Config checkedAdd to .cursor/mcp.json (runs on your computer)
{
"mcpServers": {
"antonorlov-mcp-postgres-server": {
"command": "npx",
"args": [
"-y",
"mcp-postgres-server@0.3.1"
]
}
}
}VS Code
Config checkedAdd to .vscode/mcp.json (runs on your computer)
{
"servers": {
"antonorlov-mcp-postgres-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-postgres-server@0.3.1"
]
}
}
}Codex
Config checkedAdd to ~/.codex/config.toml (runs on your computer)
[mcp_servers.antonorlov-mcp-postgres-server]
command = "npx"
args = ["-y", "mcp-postgres-server@0.3.1"]- ChatGPT: ChatGPT connects only to remote servers that need no API key.
Recipes come from the server's entry in the official MCP registry. Check the package name before you run it, and keep keys out of shared files.
Works with
What antonorlov/mcp-postgres-server connects to
5 clients, each with how we know and when we checked.
| Works with | Type | How we know | Checked |
|---|---|---|---|
| Claude Code | Client | Install recipe matches the client's documented formatRuns locally, version 0.3.1Config checked | Claude Code docs |
| Claude Desktop | Client | Install recipe matches the client's documented formatRuns locally, version 0.3.1Config checked | Claude Desktop docs |
| Cursor | Client | Install recipe matches the client's documented formatRuns locally, version 0.3.1Config checked | Cursor docs |
| VS Code | Client | Install recipe matches the client's documented formatRuns locally, version 0.3.1Config checked | VS Code docs |
| Codex | Client | Install recipe matches the client's documented formatRuns locally, version 0.3.1Config checked | Codex docs |
Health and security
Is antonorlov/mcp-postgres-server looked after, and what do its setup files show
Health score
44 out of 100
| Part | Points | What we saw |
|---|---|---|
| Recent activity | 29.1 of 30 | Last push 40 days ago |
| Releases | 15 of 15 | 3 releases in 90 days |
| Issue replies | 0 of 20 | First reply in 141.3 days (median) |
| Maintainer | 0 of 15 | Owned by a single user |
| Official source | 0 of 20 | Community server |
Sources
Where this comes from
- GitHubRegistry
A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.
Changelog
What changed
No changes recorded yet. Releases, price changes and deprecations appear here, with their dates, once we track them for this record.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.