io.github.ofershap/postgres
PostgreSQL MCP — query databases, inspect schemas, explain queries.
Before you connect
Config example (to connect)
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": ["mcp-pg-server"],
"env": {
"DATABASE_URL": "postgres://user:pass@localhost:5432/mydb"
}
}
}
}Works with these clients
- Claude Desktopnpx
- Claude Codenpx
- Cursornpx
- VS Codenpx
- Windsurfnpx
Derived from the registry manifest (package type and transport) — we have not installed it ourselves. Check the official README before relying on it.
Install / Connect
claude mcp add mcp-pg-server -- npx -y mcp-pg-server@1.0.0Follow the official README; env and args vary per server.
🛠️ Maintenance weight 30% · 55 pts
📊 Adoption weight 25% · 1 pts
✅ Usability weight 20% · 100 pts
❤️ Health & community weight 25% · 51 pts
Sources: GitHub API · npm registry · Official registry · updated 2026-08-12
90-day trend
⭐ stars
Similar / alternative servers
How to choose among these
Database servers split into relational vs. vector; vector stores are all for RAG, differing by scale and hosting.
- Relational DB (business data, SQL)→Pick Supabase / Neon / MongoDB / ClickHouse — match your DB
- RAG with semantic memory→Pick a vector store: Pinecone (scaled) / Qdrant / Chroma (light) / Weaviate
io.github.sijunkim/db-gateway
145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafk
io.github.devopam/mcpg
Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read
io.github.AINative-Studio/ainative-postgres-mcp
Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.
io.github.rzlco666/strut-stack-sql
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite
One email a week, 5 minutes to see what happened in the MCP ecosystem
New servers, breakout trends, abandonment alerts — tracked automatically, curated by hand, sent to your inbox.
One email a week · unsubscribe anytime · no data selling