Memora v0.2.25 MCP Server: 5× Faster Writes on D1 Database

✍️ OpenClawRadar📅 Published: April 15, 2026🔗 Source
Memora v0.2.25 MCP Server: 5× Faster Writes on D1 Database
Ad

Performance Improvements in Memora v0.2.25

Memora v0.2.25 is a lightweight MCP (Model Context Protocol) server that provides Claude with persistent memory capabilities including semantic search, knowledge graph functionality, and cross-session recall. The server supports SQLite for local storage or Cloudflare D1, S3, and R2 for remote storage.

The latest release focuses on significant performance improvements for D1 database operations. The headline change is that memory_create and memory_update operations on D1 have been reduced from 10+ seconds to approximately 2 seconds per call.

What Was Slow

  • ensure_schema() was making 7-9 D1 round-trips on every tool call, wasting ~4-8s each time
  • Crossref scan used a two-step list + get_embeddings pattern that required ~10 round-trips on a 500-memory store
  • D1 session token was stored at class level and could be overwritten by background threads
Ad

What Changed

  • Schema is now cached per backend instance, paid once at connect time
  • Crossref scan rewritten as a single paginated LEFT JOIN operation
  • Session token moved to per-instance storage with backend-level keep-max bookmark mirroring

Measured Performance on Live D1

  • memory_create: 10s+ → ~1.8s
  • memory_update: 10s+ → ~1.1s
  • connect() 2nd call onward: ~4-8s → ~0ms (cache hit)

Additional improvements include reduced Durable Object requests (lowering Cloudflare costs), an XSS fix in the graph UI, and a schema cache correctness fix for CloudSQLiteBackend file swaps. The release requires no schema migration and maintains backward compatibility with no API changes. All 39 tests pass.

This type of MCP server is useful for developers who want to give their AI coding agents persistent memory across sessions, enabling more contextual and consistent interactions.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also