Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / mcp-postgres-server

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

Reaches
postgres, postgresql
Credential
PG_PASSWORD, PG_SSH_PRIVATE_KEY

What it connects to

Supported in
Claude Code, Cursor, VS Code, Windsurf

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

Stars
24
State
listed
Licence
MIT
From the repository

MCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf.

mcp-postgres-server compared with similar servers

mcp-postgres-server compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
mcp-postgres-server (this page)postgres, postgresqlPG_PASSWORD, PG_SSH_PRIVATE_KEY242026-09-16MIT
Easy-Postgres-MCPpostgres, postgresql(2 shared)None listed132025-06-15—
dbhubmysql, postgres, sqlite(1 shared)None listed3,7022026-10-21MIT
mcp-alchemymysql, postgresql, sqlite(1 shared)None listed4222026-10-15MPL-2.0
tiger-clipostgres(1 shared)None listed1262026-10-24Apache-2.0
pluggedin-appnext, nextauth, pluggedin, postgres, redis(1 shared)NEXTAUTH_SECRET, NEXT_SERVER_ACTIONS_ENCRYPTION_KEY, PLUGGEDIN_API_KEY, POSTGRES_PASSWORD, REDIS_PASSWORD1032026-10-21MIT

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

All databases entries →

Learn this on Infrato