Skip to main content
Glama
136,596 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, December 2026Ranked from 1,895 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"How to perform SELECT queries in PostgreSQL" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    D
    maintenance
    Serves as a universal interface between AI Agents and AnalyticDB PostgreSQL databases, enabling metadata retrieval and SQL execution, with additional capabilities for knowledge graph and LLM memory management.
    16
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to optimize context-window attention by reordering retrieved documents so critical evidence lands at prompt boundaries, mitigating lost-in-the-middle degradation. It combines BM25 lexical scoring, dense vector similarity, reciprocal rank fusion, knowledge-graph expansion, and recency-decay memory caching, exposed as a zero-dependency MCP stdio server.
    7
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables agents to run hybrid retrieval, reciprocal rank fusion, knowledge graph expansion, semantic caching, and context reordering so critical evidence is placed at prompt boundaries to reduce lost-in-the-middle degradation.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables personal knowledge management through Claude Desktop, allowing users to capture thoughts, connect ideas, and reflect on thinking changes via natural conversation.
    7
    23
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Local-first MCP server that extracts structured knowledge from markdown notes into SQLite with full-text search, enabling AI coding tools to retrieve relevant context offline at zero cost.
    3
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    Self-improving, verifiable memory for AI coding agents. Learns how you work, stops repeating mistakes, models each project, recalls the right lesson at the right moment. Every memory is signed and tamper-evident. Local-first.
    8
    2
    Apache 2.0
  • F
    license
    A
    quality
    C
    maintenance
    Semantic memory for AI builders: capture the tacit engineering know-how that never reaches your docs, recall it the moment it applies. Built in Rust on Postgres and pgvector.
    10
    10
    -
  • A
    license
    A
    quality
    B
    maintenance
    Rabbithole provides an infinite canvas for learning by allowing users to open documents, select text, ask questions, and receive answers that open as child documents, all running locally via an MCP server.
    4
    18 npm
    337
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Embedded, local-first agent memory: facts extracted into a per-namespace SQLite file (vec0 + FTS5) with hybrid retrieval and point-in-time (time-travel) queries. ADD-only history over stdio — no server process, no cloud dependency.
    7
    37 PyPI
    43
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that provides AI agents with a persistent, PostgreSQL-backed virtual filesystem, supporting session-isolated file operations, cross-session shared stores, and glob/grep search.
    11
    34 npm
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides a searchable knowledge base over the Entra.news archive, enabling natural language queries for Microsoft Entra announcements, features, and community tools. Users can perform hybrid semantic searches, retrieve specific newsletter issues, and discover mentioned GitHub projects or PowerShell tools.
    4
    89 npm
    7
    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
    B
    maintenance
    Analytical memory for AI agents: a real Postgres your agent connects to over MCP and queries in plain English — GROUP BY, JOIN, aggregate over what it remembered, not just top-k vector recall.
    10
    3
    Functional Source , Version 1.1, ALv2 Future
  • A
    license
    A
    quality
    D
    maintenance
    Persistent knowledge graph MCP server with SQLite backend, offering graph traversal, fuzzy search, and temporal queries for entities and relations. It serves as a drop-in replacement for the npm mcp-server-memory with enhanced capabilities.
    12
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A codebase ontology and a cited wiki, both kept as Markdown in one folder on your disk. Typed graph answers — what a change affects, how two concepts connect, which wiki lines lack a citation — and every write lands as a Git diff a person reviews.
    33
    177
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables agents to perform spaced-repetition learning with FSRS scheduling, including adding cards, reviewing due cards, and grading recall, using a headless SQLite or Postgres backend.
    9
    14 PyPI
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Exposes Nima Karami's curated, public-safe career history. Allows AI to select and tailor pre-approved material for queries.
    10
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that enables running Cypher queries and retrieving schema from Neo4j databases, supporting AI-driven graph exploration and text-to-Cypher workflows.
    3
    -
  • A
    license
    A
    quality
    C
    maintenance
    Give Claude (and any MCP client) real agent access to your Obsidian vault — graph traversal, Dataview queries, daily-note awareness, and more.
    25
    12 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables private, fully local search over past Claude Code sessions and project documentation, returning small ranked snippets of prior commands, errors, and conclusions. It lets Claude recall how something was fixed or configured earlier without loading raw transcripts.
    3
    1
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Intelligent knowledge base system that enables users to process documents in 25+ formats, perform semantic search and Q\&A through vector retrieval. Supports multiple AI models including OpenAI and DouBao with local processing capabilities.
    10
    7
    -
  • F
    license
    A
    quality
    C
    maintenance
    Enables AI agents to query the current time in any timezone, estimate how long tasks will take, and record actual completion times in a local SQLite history so future estimates self-calibrate and grow more accurate with use.
    3
    -
  • F
    license
    A
    quality
    D
    maintenance
    MCP server for Locus, a local semantic dataspace manager powered by Ollama. It exposes all Locus HTTP endpoints as MCP tools to manage dataspaces, ingest documents, and perform semantic search.
    11
    1
    -
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to inspect ontology schemas, search typed objects, and execute read-only SPARQL queries against an RDF triple store.
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A server that enables AI agents to perform sophisticated knowledge discovery and analysis across Obsidian vaults through the Local REST API plugin, supporting complex multi-step workflows with advanced filtering and full content retrieval.
    3
    21
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to perform structured, multi-dimensional reasoning with true branching, revision of earlier thoughts, dynamic expansion, persistent context across tools, and navigation among exploration paths.
    1
    12 npm
    21
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables LLM agents to store structured facts in JSON documents with a schema registry and event log on SQLite, then answer natural-language questions through exact structured queries that cite their evidence. It plugs into Claude Code and Claude Desktop so agents keep a shared, durable record book across sessions.
    14
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI coding agents to keep persistent, bi-temporal knowledge graph memory across sessions and tools, automatically retiring superseded facts. It compiles provenance-cited, token-budgeted context bundles and supports point-in-time queries and integrity verification.
    7
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables LLMs to perform structured, verifiable knowledge operations using the Canonical Knowledge Structure (CKS) ecosystem, including validation, querying, comparison, evolution, and derivation of knowledge.
    24
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Cross-agent memory server: hybrid (vector + full-text + knowledge-graph) recall, per-user private/shared visibility, write-side secret/PII redaction, and as-of-date bi-temporal fact queries. Auto-injection hooks for Claude Code / Cursor / Codex; self-hostable on PostgreSQL or SQLite.
    46
    48 PyPI
    10
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables persistent knowledge graph management with entities, observations, relations, temporal queries, and graph traversal via Model Context Protocol.
    13
    MIT
  • A
    license
    B
    quality
    F
    maintenance
    Enables AI assistants to store, search, list, and delete persistent memories using a self-hosted PostgreSQL/pgvector database, with graph relationship tracking and multi-provider LLM fallback.
    2
    1
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    It enables Claude to persist and recall facts, preferences, decisions, people, and project details across sessions, context compactions, and machines, using local SQLite storage or optional multi-machine API/PostgreSQL sync with sharing and Vault-backed sensitive-memory encryption.
    6
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    This server enables interaction between Neo4j databases and Claude Desktop, allowing users to execute Cypher queries, create nodes, and establish relationships in the database.
    3
    246 npm
    59
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    An MCP server that gives AI agents a private, durable memory of people, providing a personal people graph in PostgreSQL with tools to search, remember, and connect people, plus imports from LinkedIn, Google Contacts, and WhatsApp, and a browser UI.
    11
    2
    MIT