Anthropic Official Data

Postgres

Read-only access to a Postgres database — list tables, run SELECTs, inspect schemas.

89,961 stars 11,533 forks Last commit 1d ago Language TypeScript License MIT
Sign in to like, install, or save to a bundle → View on GitHub →

Install

npm install -g @modelcontextprotocol/server-postgres

Maintain this server? Add the badge

Show your README readers it's in a curated directory — and give them a one-click path to install docs and config.

Listed on Prismix ← links back here

Markdown

[![Listed on Prismix](https://pulse-3k2.pages.dev/api/badge/mcp/anthropic-postgres.svg)](https://pulse-3k2.pages.dev/mcp/anthropic-postgres)
Theme-aware version (auto dark/light on GitHub) →
<a href="https://pulse-3k2.pages.dev/mcp/anthropic-postgres"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pulse-3k2.pages.dev/api/badge/mcp/anthropic-postgres.svg?theme=dark"><img alt="Listed on Prismix" src="https://pulse-3k2.pages.dev/api/badge/mcp/anthropic-postgres.svg"></picture></a>

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.8.18 2026.8.18 Latest Aug 18, 2026
    # Release : v2026.8.18
    
    ## Updated packages
    - @modelcontextprotocol/server-everything@2026.8.18
    - mcp-server-time@2026.8.18
    - mcp-server-fetch@2026.8.18
    - mcp-server-git@2026.8.18
    
    View on GitHub ↗
  • Release 2026.7.10 2026.7.10 Jul 10, 2026
    # Release : v2026.7.10
    
    ## Updated packages
    - @modelcontextprotocol/server-filesystem@2026.7.10
    - mcp-server-time@2026.7.10
    - mcp-server-fetch@2026.7.10
    - mcp-server-git@2026.7.10
    
    View on GitHub ↗
  • Release 2026.7.4 2026.7.4 Jul 4, 2026
    # Release : v2026.7.4
    
    ## Updated packages
    - @modelcontextprotocol/server-everything@2026.7.4
    - @modelcontextprotocol/server-filesystem@2026.7.4
    - @modelcontextprotocol/server-sequential-thinking@2026.7.4
    - @modelcontextprotocol/server-memory@2026.7.4
    
    View on GitHub ↗
  • Release 2026.1.26 2026.1.26 Jan 27, 2026
    # Release : v2026.1.26
    
    ## Updated packages
    - @modelcontextprotocol/server-everything@2026.1.26
    - @modelcontextprotocol/server-memory@2026.1.26
    - mcp-server-time@2026.1.26
    
    View on GitHub ↗
  • Release 2026.1.14 2026.1.14 Jan 14, 2026
    # Release : v2026.1.14
    
    ## Updated packages
    - @modelcontextprotocol/server-everything@2026.1.14
    - @modelcontextprotocol/server-filesystem@2026.1.14
    - mcp-server-git@2026.1.14
    
    View on GitHub ↗

Discussion (0)

Sign in to comment →

No comments yet. Sign in to start the discussion.

More Data servers