Skip to main content
Glama
Memory Lane
by nqnhut92

Memory Lane

Shared long-term memory and core instructions across every AI client, because "per my last prompt" shouldn't be part of your workflow.

Memory Lane is a small MCP server. Connect it to Claude, ChatGPT, Cursor, Codex or any MCP client so they all read and write the same memories and follow your Core instructions. The Web UI runs locally without sign-in; MCP clients connect locally or to a deployed server with one token.

Tech stack: TypeScript, Node.js 22+, @modelcontextprotocol/sdk, PostgreSQL (Neon) / embedded PGlite, Vercel.

Features

  • Versioned Core instructions: one document returned first on memory_search, with core_version caching and optimistic locking.

  • Write-time guardrails: exact and pg_trgm near-duplicate detection, English-only check, length/rate limits, and dry_run preview.

  • Newest-first search: word and trigram matching ranked newest first with dates so newer facts win.

  • Cleanup proposals: memory_propose groups related memories for manual review in the local Web UI (/memory/review).

  • One SQL, two engines: runs on serverless PostgreSQL (Neon) in production and embedded PGlite locally.

Related MCP server: butler-memory-mcp

Quick start

Requires Node.js 22 or newer.

npm install
npm start                  # local Web UI at http://127.0.0.1:4173/memory (PGlite)
npm start -- --db neon     # connect the local UI and MCP to Neon instead
npm test                   # run tests on PGlite
npm run typecheck

Documentation

  • Usage guide — local runner, Neon mode, Vercel deployment, connecting AI clients, Core CLI, HTTP API, and security.

  • Architecture & development — project structure, storage engines, local UI boundaries, and tests.

  • Decisions log — non-obvious design choices and rationale.

Support

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides persistent, scoped shared memory for collaborating AI agents, with tools for storing observations, semantic recall, and handoff workflows. Backed by PostgreSQL and exposed through MCP.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server providing layered, PostgreSQL-backed long-term memory for AI agents with versioned, audited writes and sensitive candidate filtering. Agents persist only explicitly requested facts, preferences, and project context via MCP tools.
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides a self-hosted shared memory service that lets AI agents capture and recall durable facts, decisions, and context across multiple tools and MCP-capable clients.
      4
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to persist, retrieve, and share source-linked memory across sessions via MCP tools, backed by PostgreSQL with project/session management, decision tracking, keyword search, and cross-host context handoff.
      Apache 2.0