~/CLIRank
MCP ServerVerified

PostgreSQL MCP Server

Query PostgreSQL databases, inspect schemas, and run migrations.

Install
claude mcp add postgres -- npx -y @modelcontextprotocol/server-postgres postgresql://localhost:5432/mydb

About

Connect Claude Code directly to your PostgreSQL databases. Run queries, inspect table schemas, list databases and tables, and execute migrations. Supports connection strings and SSL. Invaluable for debugging data issues or writing queries without leaving your development flow.

Tags

databasepostgresqlsqldata

Score Breakdown

CLI Score Breakdown9/11
Official SDK on npm/pip+2
Env var authentication (no browser OAuth)+2
Works in headless/CI environments+2
CLI tool available+1
JSON response for piping/parsing+1
Docs have curl/CLI examples0
Reasonable rate limits for scripted use+1
Machine-readable pricing (md/JSON/static)0
Quality Score Breakdown
npm weekly downloads17k
GitHub stars83k
Days since last release13d
Issue close ratio80%
TypeScript typesYes
Docs qualitygood
Breaking changesrare

Scores

CLI
9
Quality
8
AuthorAnthropic
Weekly installs17,000
Last updated3/18/2026

Related

MCP ServerVerified
12k/wk

SQLite MCP Server

Read and write SQLite databases with full SQL support.

CLI
8
Quality
8
claude mcp add sqlite -- npx -y @modelcontextprotocol/server-sqlite /path/to/database.db
MCP ServerVerified~140ms - Moderate
15k/wk

Supabase MCP Server

Manage Supabase projects, databases, auth, and storage from Claude Code.

CLI
8
Quality
8
claude mcp add supabase -- npx -y @supabase/mcp-server-supabase
MCP ServerVerified~110ms - Moderate
8.0k/wk

MongoDB MCP Server

Query MongoDB databases, manage collections, and inspect documents.

CLI
8
Quality
8
claude mcp add mongodb -- npx -y mongodb-mcp-server