This story was originally published on HackerNoon at:
https://hackernoon.com/how-i-built-local-first-memory-for-claude-code-cursor-and-codex-945percent-locomo-recall10-70ms-p50.
Open-source local-first memory for Claude Code, Cursor, Codex via MCP. 94.5% LoCoMo recall, 70ms p50, no API keys. Five techniques explained with code.
Check more stories related to programming at:
https://hackernoon.com/c/programming.
You can also check exclusive content about
#open-source,
#ai,
#programming,
#machine-learning,
#python,
#large-language-models,
#mcp,
#developer-tools, and more.
This story was written by:
@oleksiijko. Learn more about this writer by checking
@oleksiijko's about page,
and for more stories, please visit
hackernoon.com.
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.