Postgres
Read-only access to a Postgres database — list tables, run SELECTs, inspect schemas.
87,861 stars 11,103 forks Last commit today Language TypeScript License MIT
Install
npm install -g @modelcontextprotocol/server-postgres Maintainer? Add the badge
[](https://prismix.dev/mcp/anthropic-postgres) Claude Desktop / Cursor config
Drop into your claude_desktop_config.json or Cursor MCP settings. Replace the ${…} placeholders with your own values.
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://user:pass@localhost:5432/dbname"]
}
}
} About
Read-only Postgres bridge. Connects to any Postgres-compatible database (Postgres, Supabase, Neon, AWS RDS) with a connection string and exposes table listing, schema inspection, and arbitrary SELECT execution as tools. Writes are explicitly blocked at the protocol layer — safe to wire to a production DB.
Recent releases (5)
All releases →- Release 2026.1.26 2026.1.26 Latest Jan 27, 2026
# Release : v2026.1.26 ## Updated packages - @modelcontextprotocol/[email protected] - @modelcontextprotocol/[email protected] - [email protected]
View on GitHub ↗ - Release 2026.1.14 2026.1.14 Jan 14, 2026
# Release : v2026.1.14 ## Updated packages - @modelcontextprotocol/[email protected] - @modelcontextprotocol/[email protected] - [email protected]
View on GitHub ↗ - Release 2025.12.18 2025.12.18 Dec 18, 2025
# Release : v2025.12.18 ## Updated packages - @modelcontextprotocol/[email protected] - @modelcontextprotocol/[email protected] - @modelcontextprotocol/[email protected] - [email protected]
View on GitHub ↗ - Release 2025.11.25 2025.11.25 Nov 25, 2025
# Release : v2025.11.25 ## Updated packages - @modelcontextprotocol/[email protected] - @modelcontextprotocol/[email protected] - @modelcontextprotocol/[email protected] - @modelcontextprotocol/[email protected] - [email protected]
View on GitHub ↗ - Release 2025.9.25 2025.9.25 Sep 25, 2025
# Release : v2025.9.25 ## Updated packages - @modelcontextprotocol/[email protected] - @modelcontextprotocol/[email protected] - [email protected] - [email protected]
View on GitHub ↗
Discussion (0)
Sign in to comment →No comments yet. Sign in to start the discussion.