Mind Keg MCP: Persistent Memory for Claude Code and MCP-Compatible Agents

✍️ OpenClawRadar📅 Published: March 9, 2026🔗 Source
Mind Keg MCP: Persistent Memory for Claude Code and MCP-Compatible Agents
Ad

What Mind Keg MCP Does

Mind Keg MCP addresses the common frustration where Claude Code forgets everything between sessions. It's an MCP server that acts as persistent memory for Claude Code and any MCP-compatible agent. Claude stores small learnings as it works with you, then retrieves them via semantic search in future sessions.

The more you use Claude Code, the more it actually knows about your codebase, your preferences, and your patterns. Sessions stop feeling like day one. When Claude hits a problem it's seen before, it searches its memory, gets the relevant context back automatically, and doesn't repeat the same mistake.

Technical Implementation

Under the hood:

  • Semantic search runs locally with ONNX embeddings (FastEmbed)
  • No API keys, no cost, fully offline
  • Also supports OpenAI embeddings or FTS5 keyword search if you prefer
  • Three scoping levels: repo-specific, workspace-wide, and global
  • SQLite storage, zero external dependencies
  • API key auth with SHA-256 hashing
  • TypeScript, Node.js 22, MIT license
Ad

Compatibility and Setup

Works with Claude Code, Cursor, Windsurf, Codex CLI, Gemini CLI, and GitHub Copilot.

Quick start:

npm install -g mindkeg-mcp
mindkeg api-key create --name "My Laptop"
# Add the MCP config to Claude Code. Done.

Development Background

The developer built this entirely using Claude Code as their coding partner, from architecture decisions to implementation to debugging. The tool is 100% free and open source.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also