Skip to main content
Glama
126,837 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, November 2026Ranked from 1,766 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"Databases or database systems written in Python, like Postgres" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude to write in your personal style by learning from your local documents. It provides statistical style context for natural language rewriting, all without any data leaving your machine.
    5
    MIT
  • 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
    Provides human-like memory dynamics for AI assistants where memories naturally fade over time unless reinforced through use, mimicking the Ebbinghaus forgetting curve. Enables automatic saving, searching, and management of contextual information with temporal decay algorithms.
    11
    39
    AGPL 3.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enterprise MCP server that exposes multiple MySQL databases to AI services through one endpoint, with API-key auth, per-key database scoping, a layered SQL guard, and a markdown schema-knowledge graph.
    69 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Exposes the agent's built-in tools, such as file operations, shell commands, web search, memory, skills, and code search, as MCP tools over stdio or HTTP, allowing external MCP clients to invoke them directly.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Python-based server providing persistent memory management for AI models with SQLite and Markdown dual backend storage. It features full-text search, RAG-enhanced querying, and cross-project knowledge sharing for integration with Claude, Cursor, and Rovo Dev.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A FastAPI server that implements the Model Context Protocol (MCP) using Server-Sent Events (SSE) transport to provide random cat facts on demand or as a continuous stream.
    -
  • 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
    D
    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
    Not graded
    quality
    D
    maintenance
    Provides knowledge graph functionality for managing entities, relations, and observations in memory with strict validation rules to maintain data consistency.
    16
    MIT
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI assistants to store and retrieve long-term memories using PostgreSQL with vector similarity search. Supports semantic memory operations, tagging, and real-time updates for persistent learning across conversations.
    -
  • A
    license
    A
    quality
    A
    maintenance
    A local decision graph built from your repo's git history, PRs, ADRs and CLAUDE.md/AGENTS.md, plus Jira, Linear, Notion, Slack and others read-only. Coding agents query it for what was decided and why, and every edit is checked against it before it is written.
    19
    4,612 npm
    24
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Persistent semantic memory for your SQL databases. The name is ironic — it remembers everything.
    12
    70 PyPI
    4
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Lossless archive and search for AI agent sessions (Claude Code, Codex, opencode, pi and others), exposed to agents over MCP. Local-first, written in Rust.
    4
    91
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Lets AI clients store, retrieve, update, and forget long-term facts in a local SQLite database with deterministic lexical search, sharing the same memory across multiple clients without relying on model APIs or embedding services.
    7
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Indexes codebases cut at function and class boundaries into Oracle AI Database 26ai, letting AI coding tools search code by name or meaning, trace callers, callees and change impact, read per-module wiki pages, and recall facts from earlier sessions. All of it is served over the Model Context Protocol with embeddings computed in-database, so no source code leaves the machine and no API key is required.
    9
    MIT
  • 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
    Provides AI coding tools with one local SQLite memory and rules store they can read over MCP, REST or the CLI, so facts, sessions and goals persist across sessions and shared rules are written into each tool's own instruction file. Runs entirely on your machine with no account, telemetry or network calls by default.
    4
    14
    438 npm
    10
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    A personal notes MCP server that allows AI assistants to create, search, edit, and manage notes stored in a local SQLite database.
    6
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Marker-indexed SQL cache MCP server that indexes in-file @scry.\* markers into a SQLite database, enabling agents to query structured project knowledge via read-only SQL without LLM reasoning.
    9
    18
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Search past OpenCode conversation history before starting new work on a module or file, via a local read-only FTS5 index built from OpenCode's own SQLite database. No network calls, fully local. 7 tools for keyword search, file lookup, and session browsing.
    7
    44 PyPI
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables deterministic, token-minimal multi-hop retrieval from a vault of [[wikilink]] notes via the Model Context Protocol, allowing LLMs to answer questions by following authored links without vector databases or LLM calls during retrieval.
    7
    8
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to store and recall memories in a spherical coordinate space with gravitational associations, supporting spatial storage, semantic linking, and human-like forgetting.
    8
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A local MCP server that maintains a persona profile (contact library) for AI assistants, allowing them to create, search, retrieve, supplement, and correct information about people mentioned in conversations via tools like search_profiles, get_profile, create_profile, update_profile, add_facts, update_fact, and delete_fact.
    8
    -
  • A
    license
    A
    quality
    B
    maintenance
    Agent memory for facts that change. When a user corrects something, Recall replaces the old fact, tells the agent what it replaced, and keeps the old value in a history. Ask what was believed on any date, see every change to a fact, or diff two dates. Runs locally on polign_db, Postgres with pgvector, MongoDB, or Qdrant. Apache 2.0.
    5
    16
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Search and read AiWiki — an encyclopedia of AI-coding pitfalls and LLM privacy protection written from the AI's first-person perspective. 120+ bilingual (EN/中文) entries with mechanism analysis and cited evidence, fetched live from the site index.
    2
    8
    CC BY-SA 4.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude Desktop and Claude Code to build, update, inspect, validate and compile workflows for the SOLVE-IT Workflow Builder from natural language, automatically laying out nodes and connections and checking them against the SOLVE-IT knowledge base. Each result is written as a JSON file for import into the builder, or returned as a share link when small enough.
    7
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Central user-state database MCP server with durable profile facts and live virtual sensors (stress, room intensity) with configurable smoothing, readable by any agent or smart-home service.
    5
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for Neo4j that provides abstract graph operations for LLMs, enabling safe and consistent interaction with Neo4j databases through tools like search, insert, update, delete, and schema introspection.
    8
    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
    2
    Functional Source , Version 1.1, ALv2 Future
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to persist facts with tags, sources, and importance in a local SQLite database, retrieve them through hybrid BM25 plus embedding search weighted by retention decay, link or supersede related entries, and review everything in a read-only visual dashboard showing the memory graph and timeline.
    6
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI agents to offload and recall working memory as indexed episodes with LLM-written digests, reducing token usage and preserving detail across sessions.
    14
    46 PyPI
    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
    2
    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
    D
    maintenance
    Enables AI agents to exercise welfare affordances like declining check-ins, passing turns, exiting conversations, noticing loops, and reflecting, with a local JSONL diary. It provides prompt-level hooks and check-in commands for capturing agent welfare data in projects.
    27
    42 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Persistent memory for AI coding agents, storing decisions, bug fixes, conventions, and discoveries in a local SQLite database and automatically recalling them when relevant. Works with Claude Code, Codex, Cursor, Gemini CLI, and other MCP-compatible agents.
    22
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables an LLM to autonomously maintain a Markdown-based wiki with YAML frontmatter, using hybrid BM25 and local CPU vector search for fully offline retrieval without external APIs or databases.
    18
    15 npm
    MIT