context-modeMCP Server41/100 via “fts5-based full-text search knowledge base with bm25 ranking”
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
Unique: Implements SQLite FTS5 with BM25 ranking as a lightweight, persistent knowledge base that survives session resets and context compaction. Unlike vector-based RAG systems, it requires no embedding model or external vector database, making it zero-dependency and suitable for offline-first agents.
vs others: Faster and simpler than vector RAG for keyword-heavy queries (code search, API docs) because it avoids embedding latency, and persists across sessions without external state management, but lacks semantic understanding compared to embedding-based retrieval.