mcp-memory: SQLite FTS5 + Google's OKF for Fast Agent Memory
Looking for a way to give your AI coding agent persistent memory without bolting on a heavy vector database? mcp-memory is an open-source MCP server that stores agent memory as Google's OKF v0.2 Markdown files, indexes everything locally with SQLite FTS5, and exposes four clean MCP tools. It's designed to drop into Claude Desktop, Cursor, Antigravity, Windsurf, or Codex with a zero-boilerplate setup wizard.
What it does
mcp-memory maintains a dual-layer architecture:
- Human-browseable OKF directory: Every memory is dumped as a raw
.mdfile insidememory/, with a rootindex.md(versioned withokf_version: "0.2") and alog.mdfor update history. - SQLite FTS5 index: Full-text search and triggers keep key lookups under 20ms and keyword searches instant.
Memories are stored as OKF v0.2 Markdown documents with YAML frontmatter (type, key, namespace, tags, generated, sources, verified, status, stale_after).
MCP tools
The server exposes four primary tools:
memory_store– Stores or updates a record. Requireskey,content, andproject_root. Optional:tags,namespace(defaultdefault),concept_type,title,description,resource,status,stale_after,sources,verified,generated_by.memory_retrieve– Gets a specific memory bykeyandnamespace.memory_search– Finds memories byquery,tags, ornamespace. Supportslimit(default 10).memory_get_last– Retrieves the last session checkpoint (system/last_memory) so the agent knows where work left off.
Namespace isolation and setup
Memories are scoped by namespace (e.g., user/preferences, project/architecture), keeping contexts separate. Setup is a single command:
python3 setup.py
This auto-configures installed MCP tools (Antigravity, Claude, Cursor, Windsurf, Codex). The server also supports a project_root parameter for every tool, so you can keep per-project memory stores.
Who it's for
Developers using AI coding agents (Claude, Cursor, etc.) who want persistent, searchable memory that stays in plain-text Markdown and doesn't require a vector DB or external service.
📖 Read the full source: HN AI Agents
👀 See Also

ClawMetry adds remote monitoring with E2E encryption for OpenClaw agents
ClawMetry v0.1.0 now includes cloud sync for remote monitoring of OpenClaw agents from any browser or Mac menu bar app, with end-to-end encryption that keeps data encrypted until it reaches your client.

Beagle SCM: A Source Code Management System That Stores AST Trees
Beagle is an experimental source code management system that stores abstract syntax trees instead of binary blobs, using a CRDT-ish data format called BASON and backing storage with key-value databases like RocksDB.

mnemos: A Persistent Memory Layer for AI Coding Agents (Go, MCP-Native, No Python)
mnemos is a Go-based MCP-native memory layer for AI coding agents. The author built a verifier to measure lift: +40% aggregate on read-side scenarios, but only 53% write-side capture rate after iterative fixes.

Claude Code: How to Connect Your AI-Built Frontend to a Real Backend
Claude Code builds polished frontends but often uses hardcoded data. Here are four ways to connect it to real backends: raw APIs, SDKs, CLIs, and MCP.