mcp-memory: SQLite FTS5 + Google's OKF for Fast Agent Memory

✍️ OpenClawRadar📅 Published: August 16, 2026🔗 Source
Ad

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 .md file inside memory/, with a root index.md (versioned with okf_version: "0.2") and a log.md for 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).

Ad

MCP tools

The server exposes four primary tools:

  • memory_store – Stores or updates a record. Requires key, content, and project_root. Optional: tags, namespace (default default), concept_type, title, description, resource, status, stale_after, sources, verified, generated_by.
  • memory_retrieve – Gets a specific memory by key and namespace.
  • memory_search – Finds memories by query, tags, or namespace. Supports limit (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

Ad

👀 See Also

Open Source Dashboard Reveals Actual Claude Code Compute Costs
Tools

Open Source Dashboard Reveals Actual Claude Code Compute Costs

A developer reverse-engineered Claude Code's rate limit formula to build a local dashboard that shows real-time usage percentage, actual dollar costs, burn rate, peak hours, and which skills/hooks are firing. The tool revealed a $100/month plan consumed $13,286 in equivalent API compute in one month.

OpenClawRadar
Claude Code v2.1.176: Language-Aware Sessions, Bedrock Credential Caching, and Dozens of Fixes
Tools

Claude Code v2.1.176: Language-Aware Sessions, Bedrock Credential Caching, and Dozens of Fixes

Session titles now match conversation language; Bedrock credentials cached until expiration; fixed model enforcement bypass for /fast and env vars; tmux clipboard fixes; sandbox symlink fix.

OpenClawRadar
Brunnfeld Agentic World: Multi-Agent Medieval Economy Simulation Without Behavioral Prompts
Tools

Brunnfeld Agentic World: Multi-Agent Medieval Economy Simulation Without Behavioral Prompts

A TypeScript simulation where 20 LLM agents autonomously trade in a medieval village economy with no behavioral instructions, goals, or trading strategies. Agents receive ~200 token perceptions each tick and interact through a deterministic engine handling physics, recipes, and market mechanics.

OpenClawRadar
Lisp Development with AI Agents: High Costs and Technical Challenges
Tools

Lisp Development with AI Agents: High Costs and Technical Challenges

A DevOps engineer found AI agents struggle with Lisp development, costing $10-$20 in minutes for subpar code, while Python and Go work efficiently. He created tmux-repl-mcp to improve REPL interaction but still faced high token costs and tooling issues.

OpenClawRadar