How I built local-first memory for Claude Code, Cursor, and Codex - 94.5% LoCoMo recall@10, 70ms p50

📰 Hackernoon

PMB is an open-source MCP memory server for Claude Code, Cursor, and Codex. It runs 100% locally (SQLite + LanceDB), needs zero API keys, and hits 94.5% LoCoMo recall@10 at 70ms p50 - matching or beating cloud alternatives like mem0, Letta, and Zep. This post walks through the five techniques behind it: predicate-aware reranking, verb synonym expansion, no-LLM atomic fact extraction, pattern query splitting, and a durable async embed queue - with the actual code from the repo.

Published 1 Jun 2026

Full Article

PMB is an open-source MCP memory server for Claude Code, Cursor, and Codex. It runs 100% locally (SQLite + LanceDB), needs zero API keys, and hits 94.5% LoCoMo recall@10 at 70ms p50 - matching or beating cloud alternatives like mem0, Letta, and Zep. This post walks through the five techniques behind it: predicate-aware reranking, verb synonym expansion, no-LLM atomic fact extraction, pattern query splitting, and a durable async embed queue - with the actual code from the repo.
Read full article → ← Back to Reads