Back to directory

PostgreSQL

Official reference@modelcontextprotocol/server-postgres

Read-only or controlled SQL plus schema introspection (tighten permissions; reference impl archived).

Install command

npx -y @modelcontextprotocol/server-postgres postgresql://user:pass@localhost/db
View source / docs

Typical use cases

  • Generate data dictionaries
  • Assist slow-query attribution
  • Confirm report field definitions

Client wiring (heuristic labels)

Coarse-grained tags for internal triage only—not vendor certifications. Double-check each client’s latest MCP documentation before shipping.

  • Claude Codestdio wiring supported
  • Claude Desktopstdio wiring supported
  • Cursorstdio wiring supported
  • Windsurfstdio wiring supported
sqldb