mcp-postgres-server
mcp-postgres-server is an MCP server, listed under databases. It reaches postgres and postgresql. It needs PG_PASSWORD and PG_SSH_PRIVATE_KEY to authenticate. Its repository has 24 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.
MCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf.
Install
MCP servers are packaged differently from each other -- some run via npx, some as a Docker image, some as a plain script you clone and run. mcp-postgres-server’s own README did not state one plainly enough for this page to quote it rather than guess, so it will not guess. The repository below states it.
What it reaches, and what it needs
What it connects to
Unverified means a mention in the server’s own description, not a citation. A wrong claim here costs nothing to correct and nothing to trust yet.
Maintenance
MCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf.
mcp-postgres-server compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| mcp-postgres-server (this page) | postgres, postgresql | PG_PASSWORD, PG_SSH_PRIVATE_KEY | 24 | 2026-09-16 | MIT |
| Easy-Postgres-MCP | postgres, postgresql(2 shared) | None listed | 13 | 2025-06-15 | — |
| dbhub | mysql, postgres, sqlite(1 shared) | None listed | 3,702 | 2026-10-21 | MIT |
| mcp-alchemy | mysql, postgresql, sqlite(1 shared) | None listed | 422 | 2026-10-15 | MPL-2.0 |
| tiger-cli | postgres(1 shared) | None listed | 126 | 2026-10-24 | Apache-2.0 |
| pluggedin-app | next, nextauth, pluggedin, postgres, redis(1 shared) | NEXTAUTH_SECRET, NEXT_SERVER_ACTIONS_ENCRYPTION_KEY, PLUGGEDIN_API_KEY, POSTGRES_PASSWORD, REDIS_PASSWORD | 103 | 2026-10-21 | MIT |
Ranked by services in common with mcp-postgres-server, then by stars. Figures are from each repository when we last read it.
Common questions about mcp-postgres-server
- What does mcp-postgres-server do?
- MCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf.
- How do I install mcp-postgres-server?
- Its README did not state an install command plainly enough for us to quote one, so we do not guess. The repository has the instructions: https://github.com/antonorlov/mcp-postgres-server
- What does mcp-postgres-server connect to, and what does it need?
- It reaches postgres and postgresql. The credentials we found in its source are PG_PASSWORD and PG_SSH_PRIVATE_KEY.
- Which AI clients can use mcp-postgres-server?
- Its own description mentions Claude Code, Cursor, VS Code and Windsurf. That is a mention in its description, not a test we ran.
- Is mcp-postgres-server official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 24 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-09-16.
- What licence does mcp-postgres-server use?
- The repository declares the MIT licence.
More MCP servers for databases
- CodeGraphContext4,360 stars
- dbhub3,702 stars
- mcp-server-mysql2,173 stars
- mysql_mcp_server1,402 stars
- server874 stars
- supabase-mcp-server833 stars