PostgreSQL

MCP Server Official Verified

Read-only database access with schema inspection for PostgreSQL databases. Query data and explore database structure safely.

by Anthropic

★★★★☆ 4.3/5 (420 reviews)
79.1kGitHub stars
75kinstalls
Updated 2025-11-15
typescriptintermediatearchived

Installation

npx -y @modelcontextprotocol/server-postgres postgresql://localhost/mydb

Quick Start

```json
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
    }
  }
}
```

Tools & Capabilities

query
list_tables
describe_table

Compatibility

Claude Desktop Continue Cline

About PostgreSQL

Read-only database access with schema inspection for PostgreSQL databases. Query data and explore database structure safely.

View on GitHub →

Language: TypeScript

Category: Databases

← Back to MCP Hub Directory