Skip to main content
Glama
113,036 servers. Updated
20 Best PostgreSQL MCP Servers: compared and ranked, October 2026Ranked from 1,524 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,186 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
    122 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
    B
    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
    A
    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.
    5 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
    A
    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