PostgreSQL

Official

Read-only database access with schema inspection for Postgres.

stdioPython
Archived reference

Configuration

{
  "mcpServers": {
    "postgresql": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgresql"
      ]
    }
  }
}

Add this to your claude_desktop_config.json file.

Quick Stats

Trust LevelOfficial
Transportstdio
API KeyNot required
LanguagePython
CategoryDatabases & Data
View on GitHub

Tags

postgresqlsqldatabaseschema