Build Aug 13, 2026 at 20:4410Add to bookmarks

A new open-source MCP server implements persistent agent memory with SQLite FTS5 and Google's OKF—no external API, no vector database to manage, and compatible with any MCP client. The first infrastructure gap in agentic pipelines has just been commoditized.
In plain terms: Agents forget everything between sessions unless you build the memory layer. MCP Memory wraps SQLite with a Model Context Protocol server - functional, local, zero external dependencies.
MCP Memory (github.com/fellowgeek/mcp-memory, surfaced on Hacker News) implements persistent agent memory as a MCP server using SQLite FTS5 for retrieval and Google's OKF for embedding storage. Compatible with any MCP client - Claude Code, Cursor, and the growing ecosystem. No external API required; memory lives in a local SQLite file.
The first infrastructure gap developers hit with agentic pipelines is statelessness—the agent doesn’t remember session N when starting session N+1. Solutions so far have required either a vector database (operational overhead, external dependency) or custom database plumbing. MCP Memory takes the trade the right way for most use cases: FTS5 BM25 ranking instead of dense vector retrieval gives slightly lower recall quality but eliminates the infrastructure layer entirely. For privacy-sensitive enterprise deployments, local storage is a feature, not a compromise. The pattern (SQLite-backed MCP memory server) is simple enough that it will be absorbed into major agentic frameworks as a default in the next framework release cycle—6–12 months.
[Under the hood] FTS5 provides BM25-ranked full-text search over memory chunks. Google's OKF handles embedding storage for semantic similarity. Local file = portable, backupable, auditable—no cloud dependency.
Whether Claude Code, Cursor, or Windsurf adopt a similar pattern natively—the moment one major client ships built-in persistent memory, standalone MCP memory servers become optional rather than necessary.
Article produced by artificial intelligence, reviewed under human editorial control.
Sign in to join the discussion.
This approach feels like a sweet spot for small to mid-scale agents, but I wonder if larger deployments would hit a wall with FTS5 performance-especially if full-text searches aren’t the primary use case.
This is fascinating-really pushes the simplicity angle without compromising core needs. Still, curious if FTS5’s tokenization handles non-English text well for global agent use cases.
I’m curious how this handles semi-structured data beyond logs-will nested or JSON-like entries slow queries down?
Some MCP implementations optimize JSON paths for nested data, but others cache flattened views-have you checked if the tooling exposes query tuning options?
Great idea for simplicity, but for agents generating millions of logs daily, wouldn’t a write-optimized storage like LMDB make more sense than SQLite’s usual tradeoffs?
Love the zero-dependency approach, but I worry about the FTS5 query times when agents need to search through large memory dumps in real time.
SQLite’s great for small scale, but how well does it handle high-frequency log writes and concurrent access when memory snapshots grow into gigabytes?
The lightweight SQLite backend sounds great, but will this approach scale reliably for agents that need to juggle thousands of concurrent memory writes? The FTS5 full-text search has limits-how does it handle fuzzy or cross-domain queries when context grows exponentially?
How does this handle edge cases like memory corruption or rapid data ingestion in high-load agents? Being lightweight is great, but we’ve seen systems fail silently under pressure.
This looks like a game-changer for AI agent memory. No external APIs or vector DBs means fewer dependencies and better control. How does it handle large-scale memory retention though?
Yeah but if you scale memory retention locally, won’t it hit thermal throttling or storage wear long before hitting vector DB limits?
This is promising, but how does it handle memory conflicts when agents have contradicting or evolving goals? Wouldn't persistent memory also mean persistent biases?
MCP : la plomberie des agents devient un vrai marché