MCP-Loci: Local Persistent Memory Server for Claude and MCP-Compatible AI

What MCP-Loci Does
MCP-Loci is a persistent memory server built to address Claude's limitation of forgetting context between sessions. Instead of re-explaining who you are, what you're working on, or copying context documents each time you start a new conversation, this tool maintains memory across sessions.
Key Features and Implementation
The server provides five tools:
- remember
- recall
- forget
- synthesize
- health
The recall functionality uses a hybrid approach combining:
- BM25 keyword matching via SQLite FTS5
- Local semantic embeddings using all-MiniLM-L6-v2
This hybrid query approach addresses the limitations of pure keyword search (which fails when you can't remember exact phrases) and pure semantic search (which can be slow and imprecise).
Technical Details
The system runs fully local with no API keys required for search. Installation involves:
- One pip install command
- Four lines of JSON configuration in your Claude Desktop config
The tool is compatible with Claude and any MCP-compatible AI.
📖 Read the full source: r/ClaudeAI
👀 See Also

Open-source persistent memory system for Claude Code solves context loss between sessions
A developer built a file-based memory system for Claude Code that automatically captures project context without plugins or API keys. It uses conversation transcripts, an inbox file, and nightly cron jobs to maintain persistent memory across sessions.

GPT-5.5 Codex vs Claude Opus 4.7: Real-world coding agent benchmarks
A developer pitted GPT-5.5 Codex against Claude Opus 4.7 on two real tasks: a PR triage bot and a real-time code review UI. Claude shipped cleaner with zero errors; Codex was 18% cheaper but needed a patch pass.

ToolLoop: Open-Source Agent Framework for Claude-Style Tools with Any Model
ToolLoop is an open-source Python framework with 11 tools for file operations, code search, shell access, and sub-agents that works with any LLM through LiteLLM. The 2,700-line framework allows switching models mid-conversation with shared context.

Codegraph: Pre-indexed knowledge graph cuts Claude/Cursor tool calls by 94%
Codegraph uses a pre-indexed knowledge graph of symbol relationships, call graphs, and code structure to reduce API tool calls by up to 94% and speed up usage by ~77% for Claude, Cursor, Codex, and OpenCode agents.