Best PostgreSQL MCP Servers
PostgreSQL is an advanced open source relational database management system that offers robustness, scalability, and performance.
Why this server?
Allows checking specific versions of PostgreSQL for known CVEs and supply-chain risks.
AlicenseAqualityBmaintenanceEnables checking of package vulnerabilities and supply-chain risks using Attestd API. Supports single and batch checks, CVE details, and covered products listing.4252 npmMITWhy this server?
Provides safe query execution, schema discovery, intent validation, and session memory for PostgreSQL databases.

Bollard MCPofficial
AlicenseAqualityDmaintenanceEnables safe, AI-driven database interactions with schema discovery, intent validation, and session memory, supporting multiple databases.1439 PyPI2AGPL 3.0Why this server?
Connects to PostgreSQL databases, allowing schema browsing, data editing, and query execution.
Why this server?
Implements the PostgreSQL Wire protocol, enabling remote connections and queries via standard Postgres drivers.
AlicenseAqualityAmaintenanceArcadeDB Multi-Model Database, one DBMS that supports SQL, Cypher, Gremlin, HTTP/JSON, MongoDB and Redis. ArcadeDB is a conceptual fork of OrientDB, the first Multi-Model DBMS. ArcadeDB supports Vector Embeddings.101,203Apache 2.0Why this server?
Enables integration with PostgreSQL databases for storing and querying Bitcoin Stamps metadata and collection statistics.
AlicenseBqualityDmaintenanceA Model Context Protocol server that enables interaction with Bitcoin Stamps data via the Stampchain API, providing tools for querying stamp information, collections, and blockchain data without requiring authentication.13MITWhy this server?
Provides tools for setting up, validating, and interacting with PostgreSQL databases as the backend for RESTForge projects, including schema introspection and endpoint generation from database tables.
AlicenseAqualityCmaintenanceMCP server that exposes RESTForge capabilities to AI agents, enabling them to set up, configure, generate code, and manage RESTForge projects through natural language.2944 npmMITWhy this server?
Provides read-only SQL SELECT querying over accessible GeoLens datasets through a hardened SQL sandbox, leveraging PostgreSQL/PostGIS tables and spatial functions such as ST_Area, ST_DWithin, and ST_Intersects.

geolens-mcpofficial
AlicenseAqualityAmaintenanceRead-only access to a self-hosted GeoLens geospatial catalog: dataset search, schemas, GeoJSON features, saved maps, and sandboxed read-only SQL over PostGIS.6275Apache 2.0Why this server?
Provides tools for querying PostgreSQL CVEs, version status, upgrade paths, and exploits for any PostgreSQL version.
AlicenseAqualityBmaintenanceQuery CVEs, yanked releases, known exploits, and upgrade paths for any PostgreSQL version directly from your AI assistant.6840 PyPIApache 2.0Why this server?
Provides tools for planning and executing seeding runs against a PostgreSQL database, generating realistic, relationally valid test data from its live schema.

Seedfast MCP Serverofficial
AlicenseAqualityBmaintenanceMCP server for Seedfast, which fills PostgreSQL databases with realistic, relationally valid test data generated from live schema, providing tools for planning, running, and inspecting seeding operations.13MIT