MCP Memory - Fast Agent Memory Using Google's OKF and SQLite FTS5

Show HN: MCP Memory – Fast Agent Memory Using Google's OKF and SQLite FTS5

MCP Memory is a Model Context Protocol (MCP) server that gives AI agents like Claude Desktop, Cursor, and Windsurf persistent, long-term memory. It stores memories in Google's Open Knowledge Format (OKF v0.2) and indexes them with SQLite FTS5 for sub-20ms lookups and instant keyword searches. Features include namespace isolation, a human-browsable OKF directory, and a zero-boilerplate setup wizard. Ideal for maintaining context across sessions, it helps agents remember user preferences, project architecture, and progress checkpoints.

MCP Memory bridges the gap between stateless AI interactions and the need for persistent, structured memory, enabling agents to pick up right where they left off with sub-20ms recall.
  1. jrflo

    Cool idea. Why is this beneficial over just using markdown files and allowing agents to grep for whatever they need? I've tried various MCP things in the past and I've found they tend to slow down the agent and waste tokens more than they end up helping, but a better memory system is 100% needed for agents.

  2. infogulch

    Last month a Show HN: ContextVault proposed an interesting long-term memory architecture. I discussed the design with the founder: https://news.ycombinator.com/item?id=48900288#48901679 (I think he bailed the conversation when I got too close haha.)

    The basic shape is to periodically "distill the conversation into several areas (problem, solution, learnings, 'context' or original problem, plus other fields) and vectorized" (aka vector embedding), then queried against pgvector table to find related "memories". The vectorized distillates are also inserted into the pgvector table with a reference to back to the source conversation to add new memories.

    Vector search requires a full scan but it's still pretty fast and I bet it's more accurate the FTS.

  3. Alifatisk

    What I do currently is having a markdown file named MEMORY.md at the root folder. Then, whenever I create a new conversation with an agent, I refer to that file. That file becomes the initial source of context and knowledge. At the end of an task, before I leave the conversation, I ask the agent to update MEMORY.md with lessons and new knowledge it has gathered from our conversation, it also removes stale or outdated information from that markdown file.

    I myself do not care what's written in that file, I steer, instruct and share my knowledge, visions, goal and preferences in our conversations, and the agent will boil that down and update the markdown folder. It has worked very well for me.

    I now do not have to worry about creating handoff prompts when creating a new conversation or that I have to teach an agent from the ground up about the context we're in, I just refer to that markdown file.

  4. ksajadi

    For those looking for similar tools, there is also https://markbase.cloud/ as a hosted service. (Disclaimer: we built it for internal use first and would like to open source with the community help as we don’t have much experience in OSS maintenance)

  5. rcarmo

    Nice to see more OKF-based approaches. My entry in this field is https://rcarmo.github.io/projects/memento/, which I’ve been running for a few months now.

More from this day

2026-08-13