postgresql-mcp-server and postgres-mcp

Both tools are PostgreSQL MCP servers, so they are competitors offering different consolidated sets of database management tools and approaches to token savings for AI assistants.

postgresql-mcp-server
56
Established
postgres-mcp
49
Emerging
Maintenance 2/25
Adoption 10/25
Maturity 25/25
Community 19/25
Maintenance 13/25
Adoption 4/25
Maturity 22/25
Community 10/25
Stars: 175
Forks: 31
Downloads:
Commits (30d): 0
Language: TypeScript
License: AGPL-3.0
Stars: 6
Forks: 1
Downloads:
Commits (30d): 0
Language: TypeScript
License: MIT
Stale 6m
No risk flags

About postgresql-mcp-server

HenkDz/postgresql-mcp-server

A Powerful PostgreSQL MCP server with 14 consolidated database management tools for AI assistants.

This project offers a unified server for managing PostgreSQL databases through AI assistants. It takes plain language commands or structured requests from an AI and performs various database tasks, from schema changes to data manipulation. Data professionals, database administrators, and developers who leverage AI tools for database operations would find this useful.

database-management PostgreSQL data-operations database-administration AI-integration

About postgres-mcp

neverinfamous/postgres-mcp

PostgreSQL MCP Server: Secure Administration & Observability Featuring Code Mode—One Tool Replacing All Specialized 232 Tools for up to 90% Token Savings. Includes Connection Pooling, HTTP/SSE, OAuth 2.1, Deterministic Error Handling and Full Support for 8 Extensions (citext, HypoPG, ltree, pgcrypto, pg_cron, pg_stat_kcache, pgvector & PostGIS).

Implements a JavaScript sandbox (Code Mode) that executes multi-step database operations locally within a single tool invocation, enabling AI agents to chain 232 PostgreSQL capabilities without round-trip communication overhead. Provides 20 observability resources for real-time schema, performance, and connection metrics, plus 19 guided prompts for query optimization and extension management. Targets AI assistants and agents via MCP with dual HTTP/SSE transport, schema introspection, migration tracking with SHA-256 deduplication, and granular OAuth 2.1 scopes (`read`, `write`, `admin`, `db:*`, `table:*:*`).

Scores updated daily from GitHub, PyPI, and npm data. How scores work