Skip to main content
Glama
116,965 servers. Updated
20 Best PostgreSQL MCP Servers: compared and ranked, November 2026Ranked from 1,584 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"PostgreSQL" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    B
    quality
    C
    maintenance
    It connects an agent to a PostgreSQL database so it can inspect schemas, run validated reads and writes, resolve fuzzy names via trigram search, and perform or store pgvector embedding searches. Vector and hybrid search operate through an OpenAI-compatible embeddings endpoint, letting agents query by text without handling embedding arrays.
    11
    1,240 npm
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    A production-grade Model Context Protocol server for PostgreSQL. Lets AI agents safely inspect, query, operate, and tune a Postgres database — over 100 tools spanning catalog introspection, query intelligence, natural-language SQL, structural diffs, hybrid search, graph queries, data movement, live ops, and more.
    191
    204 PyPI
    14
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A personal memory MCP server that ingests AI agent conversation logs from multiple platforms into a searchable PostgreSQL+pgvector database, enabling cross-session recall of past reasoning and decisions.
    6
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables ingestion and semantic search over text documents using PostgreSQL + pgvector and OpenAI-compatible embeddings, allowing any LLM agent to retrieve relevant chunks for grounded answers.
    4
    AGPL 3.0
  • A
    license
    A
    quality
    C
    maintenance
    Provides Claude Code read-only access to PostgreSQL for relational queries, schema inspection, EXPLAIN plans, pgvector similarity searches, and Apache AGE graph traversals.
    6
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server for OpenServerless that exposes action tools for creating, invoking, and managing API endpoints with integrated services like S3, PostgreSQL, Redis, and Milvus.
    8
    1
    Apache 2.0
  • A
    license
    B
    quality
    B
    maintenance
    MCP server for lineage-gated AI agent memory on PostgreSQL + pgvector: a cached result is only returned if every sensitive column it was derived from is permitted for the caller’s role, enforced by Postgres row-level security rather than application code.
    3
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to securely query PostgreSQL with pgvector, DynamoDB, and MongoDB Atlas with Vector Search through a read-only, allowlisted MCP interface.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Persistent memory MCP server for Claude Code — self-hosted, n8n + PostgreSQL + pgvector. Team memory for AI agents with multi-user roles, multi-project namespacing, and hybrid vector + keyword search. No cloud required.
    9
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    A Python server that enables retrieval-augmented generation through semantic, question/answer, and style search modalities using PostgreSQL and pgvector for embedding storage and retrieval.
    2
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides persistent semantic memory backed by PostgreSQL and pgvector for storing and searching thoughts via vector embeddings. It enables dimensional organization, conflict detection, and historical tracking of facts, decisions, and observations.
    33 npm
    AGPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Retrieval Augmented Generation system that enables AI assistants to perform semantic searches and manage document indices for markdown files. It supports PostgreSQL with pgvector and integrates both Google Gemini and Ollama for intelligent embedding generation.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP clients to retrieve relevant memories and save confirmed durable facts through authenticated access backed by PostgreSQL provenance and Qdrant semantic search.
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    A self-hosted second brain MCP server that enables capturing thoughts with deduplication and semantic search using local embeddings and PostgreSQL with pgvector, all running on your own hardware.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Agentic RAG Knowledge Assistant is a secure, tenant-isolated MCP server built with FastAPI, PostgreSQL, and pgvector that enables document ingestion, semantic retrieval, and vector search over PDF, DOCX, and text files through authenticated MCP tools.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables local MCP clients to search Obsidian Markdown vaults using semantic, keyword, and hybrid search, with local Ollama embeddings and storage in either Qdrant or PostgreSQL + pgvector.
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Stores what AI agents learn — thoughts, decisions, session events and repo facts — in PostgreSQL with pgvector and serves it back through versioned MCP tools with hybrid vector-plus-full-text retrieval and budgeted context packs. Enables multiple agents to share one scoped, role-isolated long-term memory, with deliberate promotion of distilled candidates into durable memories.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Connects to a PostgreSQL database (pgvector) to perform semantic retrieval via the search_documents tool, returning raw document snippets for LLM synthesis.
    1
    GPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables semantic search and management of Zotero reference libraries using PostgreSQL with pg-vector and OpenAI/Ollama embeddings. Provides AI-powered search, full-text extraction, metadata access, annotations, notes, tags, and collections management.
    3
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Agent memory as a PostgreSQL extension: hybrid HNSW+BM25 recall, write-time provenance gates, and outcome-weighted confidence. The MCP server exposes ingest and recall tools over stdio for Claude Code, Codex CLI, and Gemini CLI.
    8
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables MCP clients to search documents stored in OpenSQL/PostgreSQL using vector similarity, with support for version history and changelog retrieval.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that enables hybrid semantic and keyword retrieval over your documents, using PostgreSQL and pgvector as the backend. It fuses rankings from both methods to provide high-quality search results to the language model.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables users to ingest documents into a PostgreSQL/pgvector knowledge base, run semantic search over them, and get grounded answers through a retrieval-augmented generation pipeline backed by a free LLM. It also lets clients spin up specialized AI agents on demand and exposes knowledge-base stats and configuration as resources for tutoring workflows.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that provides AI assistants with persistent semantic memory and knowledge graph capabilities using PostgreSQL and vector embeddings. It enables cross-session storage, hybrid search, and complex relationship tracking for enhanced contextual awareness.
    11 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A general-purpose MCP memory server that gives AI clients long-term memory with semantic search, memory classification, priority management, and progressive injection, supporting local JSON or cloud PostgreSQL storage.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Universal MCP server for readonly-first access to Oracle, SQL Server, PostgreSQL, MySQL/MariaDB, SQLite, MongoDB, and Qdrant vector search.
    55 npm
    1
    MIT