Engram Alpha
A sovereign, local-first MCP memory server that gives AI agents persistent, hardware-accelerated long-term memory and a temporal knowledge graph.
Save & recall memories —
save_memoryand 4-way hybridsearch_memory(dense vectors + trigram FTS5 + graph activation + ACT-R decay).Auto-extract facts & graph triples —
extract_and_save_memoryturns raw text into atomic memories and subject-predicate-object relations.Build and explore a bi-temporal knowledge graph —
save_graph_relation,query_graph(multi-hop, time-filtered),visualize_graph(Mermaid/ASCII).Curate memory —
deduplicate_memories(semantic merge),consolidate_reflections(synthesize insights),edit_memory,delete_memory,list_memories.Ingest external knowledge —
ingest_obsidianfor full Obsidian markdown vaults.Bootstrap agent sessions —
auto_contextrecalls top high-importance memories in XML.Operate & monitor the store —
checkpoint_db(WAL flush/vacuum),get_stats(graph counts, active hardware tier).Namespace by project/agent for multi-tenant isolation, all stored in a single local SQLite file.
Enables syncing and live-watching of Obsidian vaults, allowing notes and documents to be ingested into the memory engine and searched via the MCP server.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Engram Alpha search my memories for decisions about the vector embedding approach"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🧠 Episodai: Sovereign Cognitive Graph & Memory Engine for AI Agents
Episodai is a zero-cloud, production-grade cognitive memory substrate and Model Context Protocol (MCP) server for local AI coding agents (Claude Desktop, Cursor, Windsurf, Cline), autonomous swarms, and cloud web agents (ChatGPT, Claude, Gemini). It unifies high-dimensional vector embeddings, bi-temporal knowledge graphs, trigram full-text search, and cognitive science decay modeling into a single sovereign on-device database.
💡 Looking for a zero-dependency, pure Python standard library edition? Check out Episoda Core MCP (v1) — zero pip installs, zero binary dependencies, pure Python 3 stdlib SQLite.
🛡️ Canonical Identity & Verification:
Episodai is authored and maintained by Lalith Alpuri (@lalithbuilds), also written Alpuri Lalith in family-name-first order. See the canonical profile. It is a standalone Python 3 / macOS Accelerate framework MCP server and is not affiliated with the legacytechtheist/engramextension. Official repository:lalithbuilds/episodai. The codebase still exposes legacy package and command labels such asengramandepisoda-alpha-mcp; EpisodAI is the current public product name. Episoda Core MCP is a separate project.
Discoverability Keywords
EpisodAI is built for developers searching for Model Context Protocol memory, MCP server for AI agents, local-first agent memory, persistent memory for Claude Code, Cursor AI memory, Codex memory, Obsidian MCP memory, SQLite AI memory, hybrid search for agents, context engineering, LLM memory, and episodic memory for coding agents.
Use EpisodAI when you need a sovereign memory layer that keeps agent context local, queryable, durable, and practical for real coding-agent workflows.
Related MCP server: gemdex-mcp
⚡ Why Episodai vs Alternatives?
Feature | Anthropic | Mem0 / Cloud Vector DBs | Episodai |
Storage Substrate | Flat unindexed | Remote Cloud / Docker cluster | Single Sovereign SQLite WAL File |
Retrieval Engine | Plain string matching | Vector-only (fails on IDs/code) | 4-Way RRF (Vector + Trigram + Graph + ACT-R) |
Query Latency (p50) | ~15ms (degrades at scale) | 150ms – 400ms (network latency) | 1.21ms (Native Apple AMX / C-BLAS) |
Code / Token Match | Broken | Semantic drift / hallucination | Exact Match (SQLite FTS5 Trigrams) |
Cognitive Science | None | Simple Recency | ACT-R Power-Law Spaced Practice Decay |
Obsidian Integration | None | Manual API scripts | Native Vault Parser ( |
Data Privacy | Local | Third-Party SaaS / Data Mining | 100% On-Device Sovereign (Zero Egress) |
Setup Overhead | Minimal | Heavy (Docker / API Keys / Subscriptions) | Zero-Config ( |
🚀 Quickstart (Zero-Install via uvx)
1. Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"episoda": {
"command": "uvx",
"args": ["episodai"]
}
}
}2. Cursor IDE
Add to ~/.cursor/mcp.json or configure in Cursor Settings > Features > MCP Servers:
{
"mcpServers": {
"episoda": {
"command": "uvx",
"args": ["episodai"]
}
}
}3. Windsurf Editor
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"episoda": {
"command": "uvx",
"args": ["episodai"]
}
}
}4. Cline & Roo Code (VS Code)
Add to your cline_mcp_settings.json or roo_code_mcp_settings.json:
{
"mcpServers": {
"episoda": {
"command": "uvx",
"args": ["episodai"]
}
}
}5. Claude Code (Terminal CLI)
claude mcp add episoda uvx episodai6. Zed Editor
Add to ~/.config/zed/settings.json:
{
"context_servers": {
"episoda": {
"command": {
"path": "uvx",
"args": ["episodai"]
}
}
}
}7. Install via Smithery
npx -y @smithery/cli install episodai --client claude8. Interactive 5-Second Terminal Demo
Clone and test locally with live latency metrics:
git clone https://github.com/lalithbuilds/episodai.git
cd episodai
python examples/quickstart_demo.py🔄 Drop-in Replacement for Anthropic server-memory & Mem0
If you are currently using @modelcontextprotocol/server-memory or a cloud-based memory SaaS, upgrade in 10 seconds:
Before (Anthropic server-memory — unindexed flat JSON file):
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}After (Episodai — 4-Way RRF Hybrid Search + SQLite WAL + Apple AMX):
{
"mcpServers": {
"memory": {
"command": "uvx",
"args": ["episodai"]
}
}
}Episodai provides compatible memory primitives (save_memory, search_memory, delete_memory, query_graph) while providing sub-millisecond retrieval, exact code token matching, and bi-temporal graph navigation.
🏛️ System Architecture
Episodai operates across a multi-tier memory architecture designed for sub-millisecond retrieval, concurrent multi-agent isolation, and crash-resilient local persistence.
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
│ EPISODAI ARCHITECTURE │
├─────────────────────────────────────────────────────────────────────────────────────────────┤
│ │
│ [ CLIENT LAYER ] │
│ ┌───────────────────────┐ ┌───────────────────────┐ ┌────────────────────────────────┐ │
│ │ Desktop MCP IDEs │ │ Web Agent Swarms │ │ CLI & Background │ │
│ │ Claude Desktop, Cursor│ │ ChatGPT Custom GPTs, │ │ episoda save / search / watch │ │
│ │ Windsurf, Zed, AGY │ │ Claude Web, Gemini Web│ │ Live Obsidian Vault Sync │ │
│ └───────────┬───────────┘ └───────────┬───────────┘ └───────────────┬────────────────┘ │
│ │ │ │ │
│ [ TRANSPORT LAYER ] │ │ │
│ ┌───────────▼───────────┐ ┌───────────▼───────────┐ │ │
│ │ FastMCP Stdio (JSON) │ │ HTTP / SSE / OpenAPI │ │ │
│ │ Standard Input/Output │ │ Bearer Token Auth:8000│ │ │
│ └───────────┬───────────┘ └───────────┬───────────┘ │ │
│ └──────────────────────────┼──────────────────────────────┘ │
│ ▼ │
│ [ COGNITIVE REASONING & RETRIEVAL KERNEL ] │
│ ┌───────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ 4-Way Reciprocal Rank Fusion (RRF Engine) │ │
│ │ ├── 1. Dense Semantic Vector Retrieval (Cosine Similarity) │ │
│ │ ├── 2. Lexical Keyword Retrieval (Trigram SQLite FTS5) │ │
│ │ ├── 3. Relational Knowledge Graph Spreading Activation (1-2 Hop Boost) │ │
│ │ └── 4. ACT-R Cognitive Power-Law Decay & Spaced Practice Weighting │ │
│ └──────────────────────────────────┬────────────────────────────────────────────────────┘ │
│ │ │
│ [ HARDWARE ACCELERATION ENGINE ] │ │
│ ┌──────────────────────────────────▼────────────────────────────────────────────────────┐ │
│ │ Tier 1: Apple Silicon AMX / C-BLAS (ctypes -> Accelerate.framework / OpenBLAS) │ │
│ │ Tier 2: Universal Vectorized NumPy BLAS │ │
│ │ Tier 3: Zero-Dependency Pure Python IEEE 754 Float Substrate │ │
│ └──────────────────────────────────┬────────────────────────────────────────────────────┘ │
│ │ │
│ [ STORAGE & TRANSACTION ENGINE ] │ │
│ ┌──────────────────────────────────▼────────────────────────────────────────────────────┐ │
│ │ Single-File SQLite WAL Database (~/.engram/engram_v3.db) │ │
│ │ ├── nodes: Content, Embedding BLOBs, Categories, Multi-Tenant Namespaces │ │
│ │ ├── edges: Bi-Temporal Triples (valid_from, valid_until, superseded_by, weights) │ │
│ │ └── nodes_fts: Trigram FTS5 Virtual Table with Automated Mutation Triggers │ │
│ └───────────────────────────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────────────────────┘Retrieval & Multi-Agent Flow
sequenceDiagram
autonumber
actor UserAgent as AI Agent (Cursor / ChatGPT / Claude)
participant Gateway as Transport (Stdio MCP / HTTP Bridge)
participant Kernel as Episoda RRF & Graph Engine
participant AMX as Hardware Vector Unit (AMX / BLAS)
participant Storage as SQLite WAL & FTS5 Database
UserAgent->>Gateway: search_memory("SQLite WAL architecture", project="system")
Gateway->>Kernel: Execute 4-Way RRF Query
par Lexical Retrieval
Kernel->>Storage: Trigram FTS5 Match (BM25 Lexical Ranking)
and Dense Semantic Retrieval
Kernel->>AMX: Batch Cosine Similarity (Query Vector vs Candidates)
and Graph Spreading Activation
Kernel->>Storage: Query 1-Hop & 2-Hop Active Edge Boosts
end
Kernel->>Kernel: Fuse Ranks via RRF + Apply ACT-R Power-Law Decay
Kernel->>Storage: Increment access_count & Update last_accessed_at (Spaced Practice)
Kernel-->>Gateway: Top-K Synthesized Memories + Context Graph
Gateway-->>UserAgent: Formatted Cognitive Payload⚡ Core Architectural Innovations
1. 4-Way Reciprocal Rank Fusion (RRF)
Standard vector-only retrieval fails on exact symbols (e.g., PRAGMA journal_mode), while keyword search misses semantic synonyms. Episodai fuses four independent signals into a unified scoring function:
$$\text{RRF}(d) = \left( \frac{1.2}{k + r_{\text{dense}}(d)} + \frac{1.0}{k + r_{\text{lexical}}(d)} + \text{GraphBonus}(d) \right) \times \text{Decay}(t) \times \text{ImportanceWeight}$$
Dense Semantic Vectors: 384-dimensional dense projections evaluated via hardware coprocessors.
Trigram FTS5 Lexical Search: Substring-tolerant SQLite full-text index for code tokens, snake_case symbols, and acronyms.
Graph Spreading Activation: Dynamic boost based on 1-hop and 2-hop edges connected to query terms.
ACT-R Power-Law Decay: Biologically-inspired memory retention modeling.
2. Bi-Temporal Knowledge Graph
Standard knowledge graphs only store snapshot assertions. Episodai implements true bi-temporal entity graphs that record both transaction time (when the memory was stored) and valid world time (when the fact was actually true):
Schema:
(source, target, relation, weight, valid_from, valid_until, superseded_by, transaction_time)Recursive CTE Graph Traversal: Dynamic $N$-hop path exploration with built-in loop/cycle prevention:
WITH RECURSIVE graph_walk AS ( SELECT source, relation, target, weight, 1 as hop, source || '->' || target as path FROM edges WHERE source = :node AND superseded_by = '' UNION ALL SELECT e.source, e.relation, e.target, e.weight, gw.hop + 1, gw.path || '->' || e.target FROM edges e JOIN graph_walk gw ON (e.source = gw.target OR e.target = gw.source) WHERE gw.hop < :max_depth AND instr(gw.path, e.target) = 0 )
3. Multi-Tier Hardware Vector Engine
Episodai executes dense matrix cosine similarity directly on your hardware with zero runtime latency bottlenecks:
Tier 1 (Apple Silicon AMX / C-BLAS): Uses
ctypesto link directly withAccelerate.frameworkon macOS orlibopenblas.so/mkl_rt.dllon Linux/Windows. Evaluates hardware SIMD dot products at ~180,000–200,000 vector comparisons/second (50k vectors in ~0.27s).Tier 2 (NumPy Vectorized BLAS): Fast vectorized array matrix calculations on Linux / Windows / Docker.
Tier 3 (Zero-Dependency Stdlib): Pure Python standard library math (
math.sqrt,struct.pack/unpackIEEE 754 float32). Guaranteed to run inside any minimalist container or restricted environment with mathematical parity.
4. High-Throughput Batch Ingestion & Model Singleton
Thread-Safe Model Singleton: Lazy module-level singleton caches neural model weights (
BAAI/bge-small-en-v1.5) in memory, achieving steady-state inference latencies of 10–50ms on CPU and sub-millisecond on SIMD.Vectorized Batch Ingestion: Obsidian vault syncing processes documents in parallel SIMD batches of 64, accelerating bulk imports by 10×.
Performance Budget Guardrails: Continuous regression tests (
tests/test_performance_budgets.py) enforce that hybrid 4-Way RRF searches and multi-hop graph queries execute strictly within sub-second latency budgets.
5. ACT-R Cognitive Power-Law Decay & Spaced Practice
Implements John R. Anderson's ACT-R cognitive architecture retention equation:
$$\text{Decay}(t) = \left( 1.0 + 0.1 \times \Delta t_{\text{days}} \right)^{-0.5}$$
Memories that are frequently queried or tagged with high importance resist decay, while stale one-off facts naturally drop in rank over time. Every search access reinforces the memory node (spaced practice effect).
6. Universal Web Agent OpenAPI Gateway
Built-in HTTP & Server-Sent Events (SSE) gateway compliant with OpenAPI 3.0. Allows cloud web agents (ChatGPT Custom Actions, Claude.ai, Gemini) to access your sovereign local memory securely with ENGRAM_API_KEY Bearer authentication.
🚀 Quickstart & Installation
1. Installation
Recommended Install for Full Deep Neural Semantic Search & Native ANN Vector Indexing:
pip install "episodai[all]"
# Or from local clone:
pip install -e ".[all]"Installs fastembed (BAAI/bge-small-en-v1.5 ONNX), sqlite-vec (native C-level ANN virtual tables), and numpy.
Tier Options Matrix:
Installation Command | Dependencies | Embedding Backend | Vector Engine | Use Case |
|
| Neural ONNX ( | Native | Full semantic synonym recall + large vaults |
| Same as | Neural ONNX ( | Native | Same stack as |
| Same runtime dependencies as | Neural ONNX, with a hashed fallback if the model cannot load |
| Normal install. There is no separate stdlib-only extra. |
2. CLI Command Reference
Episodai provides a fast, developer-first command-line interface:
Save Memory
episoda save "SQLite WAL mode allows multiple concurrent readers alongside a single writer" \
--category architecture \
--importance 8 \
--project system_coreAutonomous Fact & Graph Extraction
episoda extract "RayEngine uses SQLiteWAL to maintain persistent state. RayEngine connects_to FastMCP." \
--project system_core4-Way Semantic Recall
episoda search "concurrent reader access in sqlite" --limit 3 --project system_coreRelational Knowledge Graph Operations
# Save an explicit knowledge graph relation
episoda graph "FastMCP" "implements" "StdioProtocol" --weight 1.0 --project system_core
# Query dynamic multi-hop graph relations
episoda query-graph "FastMCP" --depth 2 --project system_core
# Inspect ASCII & Mermaid relational network topology
episoda inspect "FastMCP" --depth 2Memory Deduplication & Semantic Merging
Scans the database for duplicate concepts, merges access counts and edges, and removes redundant records:
episoda dedupe --threshold 0.92 --project system_coreEpisodic Reflection & Synthesis
Synthesizes atomic memory records into consolidated high-level insights:
episoda reflect "SQLiteWAL" --project system_coreReal-Time Obsidian Vault Ingestion & Live Sync Daemon
# One-time bulk vault ingestion
episoda ingest-obsidian /path/to/ObsidianVault --project personal_notes
# Live filesystem sync daemon (auto-ingests on note saves)
episoda watch /path/to/ObsidianVault --project personal_notesHardware Benchmark & Telemetry
# Test active hardware matrix coprocessor throughput
episoda benchmark --vectors 25000
# View database metrics, graph counts, and active tier
episoda statsUniversal HTTP & OpenAPI Gateway
# Loopback only. A non-loopback bind requires ENGRAM_API_KEY.
episoda serve --port 8000
# Expose beyond localhost only with a bearer token:
export ENGRAM_API_KEY="your-secret-sovereign-key"
episoda serve --host 0.0.0.0 --port 8000🌐 Web Agent Setup (ChatGPT, Claude Web, Gemini Web)
You can connect web-based agents to your sovereign on-device memory using the native HTTP OpenAPI Gateway.
# 1. Start the HTTP Gateway with an optional API key
export ENGRAM_API_KEY="your-secret-sovereign-key"
episoda serve --port 80001. ChatGPT Custom GPT Actions
Open ChatGPT GPT Editor > Configure > Actions > Create new action.
Expose your localhost port
8000via Cloudflare Tunnels or ngrok:ngrok http 8000In ChatGPT Actions, click Import from URL and paste:
https://your-tunnel-subdomain.ngrok-free.app/openapi.jsonSet Authentication:
Type:
API KeyAuth Type:
BearerToken:
your-secret-sovereign-key
In Instructions, add:
"Always consult Episodai memory via
/searchbefore answering questions about user projects, architecture, or past decisions. Save important discoveries using/saveor/extract."
2. Claude Web & Gemini Web
Use the interactive web dashboard or API endpoints directly:
Live Interactive Dashboard:
http://localhost:8000/dashboardHealth & Diagnostics:
http://localhost:8000/healthREST Search Endpoint:
GET /search?q=query_string&limit=5REST Save Endpoint:
POST /savewith JSON payload{"content": "...", "importance": 8}
💻 Local MCP Setup (Claude Desktop, Cursor, Windsurf)
1. Automated Setup for Claude Desktop
Episodai can automatically configure your claude_desktop_config.json:
episoda setup2. Manual Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"episoda": {
"command": "uvx",
"args": ["episodai"],
"env": {
"ENGRAM_DB_PATH": "/Users/yourname/.engram/engram_v3.db"
}
}
}
}Cursor IDE
Add to ~/.cursor/mcp.json or configure in Cursor Settings > Features > MCP Servers:
{
"mcpServers": {
"episoda": {
"command": "uvx",
"args": ["episodai"]
}
}
}Windsurf IDE
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"episoda": {
"command": "uvx",
"args": ["episodai"]
}
}
}Reproducing Performance Claims
Performance claims in this README should be treated as benchmarked local results, not universal guarantees. They depend on hardware, Python version, optional extras, and dataset size.
Run the benchmark suite locally before quoting numbers in launches, posts, or comparisons:
pip install -e ".[all]"
python benchmark/benchmark_custom.py
python benchmark/benchmark_longmemeval.py
episoda benchmark --vectors 25000When sharing results, include:
machine and chip family
Python version
dependency mode: base, local, or all extras
vector count and dimensionality
p50 or throughput output copied from the benchmark run
Current README benchmark figures are best read as the project author's measured reference baseline. The reproducible proof path is the benchmark command output in your own environment.
📊 Benchmark Summary: Multi-Tier Hardware Performance
Episodai is validated using two benchmark suites:
Micro-Architecture Benchmark (
benchmark_custom.py&benchmark_longmemeval.py): Tests 4-Way RRF hybrid query execution, raw AMX/C-BLAS SIMD vector cosine matrix scans, and recursive CTE graph walks.Model Council Concurrency Stress Harness (
stress_sandbox_council.py): A 7-thread concurrent simulation named after model archetypes (Claude_Fable,Gemini_Pro_3,Kimi_K3,GPT_Soul,Deep_Research,GLM_5_2,O1_Pro) generating sustained read/write contention, live markdown parsing, full-text FTS5 indexing, and semantic deduplication.
Multi-Tier Performance Matrix
Metric | Tier 1: Apple Silicon AMX (macOS) | Tier 2: Linux x86_64 (C-BLAS / Docker) | Tier 3: Pure CPU Fallback (Stdlib) |
Vector Matrix Throughput | 1,248,500 vecs/sec | ~350,000 vecs/sec | ~85,000 vecs/sec |
4-Way RRF Hybrid Search Latency (p50) | 0.84 – 1.65 ms | 4.5 – 8.0 ms | 12 – 25 ms |
Recursive CTE Graph Traversal (2-hop) | 0.35 ms | 1.1 ms | 2.8 ms |
LongMemEval Accuracy / Recall@5 | 100.0% (10/10) | 100.0% (10/10) | 100.0% (10/10) |
7-Thread End-to-End Stress Throughput | 259.1 ops/sec | 95 – 140 ops/sec | 40 – 70 ops/sec |
Concurrency Lockouts / Deadlocks | 0 (0.00%) | 0 (0.00%) | 0 (0.00%) |
Database ACID Integrity Check |
|
|
|
Note on Hardware Differences: End-to-end stress harness throughput incorporates real disk I/O (SQLite WAL page writes, FTS5 trigram inverted index commits, and temporary markdown vault creation). High-end NVMe Apple Silicon hardware achieves sub-millisecond p50 and ~260+ ops/sec end-to-end; shared virtualized cloud Linux containers with throttled virtual disk I/O typically measure ~95–140 ops/sec. Vector-only matrix evaluations run at >185k–1.2M comparisons/sec regardless of disk.
⚙️ Environment Variables & Tuning
Environment Variable | Default Value | Description |
|
| Absolute filesystem path for the SQLite WAL database. |
| (unset, loopback only) | Bearer token. Required before |
|
| Custom CORS allowed origin header for web agents. |
|
| ACT-R power-law time coefficient. |
|
| ACT-R power-law exponent. |
| (unset) | If set, use exponential decay |
🛡️ Sovereign Security & Privacy Guarantee
100% On-Chip: Zero telemetry, zero analytics, zero external API dependencies required for standard operation.
POSIX Security: Database files are initialized with strict
0600/0700user permissions.No Cloud Vendor Lock-in: All memories, relational graphs, and embeddings reside in a single portable SQLite file that you own.
❓ Frequently Asked Questions (FAQ)
🏷️ Search & Discoverability Index
mcp • model-context-protocol • mcp-server • claude-desktop • cursor • cursor-mcp • windsurf • cline • roo-code • zed • memory • long-term-memory • ai-memory • agentic-memory • sqlite • sqlite-vec • fastembed • onnx • apple-silicon • amx • accelerate-framework • vector-search • hybrid-search • rrf • reciprocal-rank-fusion • fts5 • bm25 • knowledge-graph • bi-temporal-graph • obsidian • obsidian-mcp • local-first • sovereign-ai • mem0-alternative • zep-alternative • ai-agents • autonomous-agents
🌟 Stargazers Over Time
📜 License
Distributed under the MIT License. Free for sovereign builders, commercial systems, and open-source autonomous agent swarms.
Available Tools
15 toolsauto_contextA
Auto-Context Boot Tool for Agents: Recalls top high-importance active memories formatted in XML for session initialization.
Inputs: limit, project, min_importance. Returns: result
checkpoint_dbB
Execute WAL flush, vacuum, and performance optimization.
Inputs: no named parameters. Returns: result
consolidate_reflectionsC
Autonomous Memory Reflector Agent (Episodic Reflection): Synthesizes low-level episodic nodes into durable high-level insights.
Inputs: topic (required), project. Returns: result
deduplicate_memoriesA
Autonomous Memory Deduplication & Semantic Merging Agent: Finds clusters of duplicate/near-identical memory nodes, merges access counts and edges, and prunes redundant duplicate records in chunks of 1,000 nodes.
Inputs: project, batch_size, similarity_threshold. Returns: result
delete_memoryA
Delete a memory node and cascade-delete all its associated knowledge graph edges by ID.
Inputs: id (required). Returns: result
edit_memoryA
Edit an existing memory's content, importance, or category by its node ID.
Inputs: id (required), content, category, importance. Returns: result
extract_and_save_memoryC
Autonomous Memory Extractor Agent: Deconstructs text into atomic facts, extracts entity triples for the knowledge graph using hybrid local LLM sidecar + expanded NLP regex heuristics, and indexes vectors.
Inputs: text (required), agent, project, category, +1 more. Returns: result
get_statsA
Get system statistics, knowledge graph counts, and active hardware acceleration tier.
Inputs: no named parameters. Returns: result
ingest_obsidianB
Ingest an entire Obsidian markdown vault into the knowledge graph and vector store.
Inputs: vault_path (required), project. Returns: result
list_memoriesB
List recent memory nodes in the database, ordered by importance and recency.
Inputs: limit, project. Returns: result
query_graphB
Query knowledge graph relations with recursive multi-hop path traversal and bi-temporal filtering.
Inputs: node (required), depth, project, include_superseded. Returns: result
save_graph_relationC
Save a Subject-Predicate-Object relation with bi-temporal validity and project namespace.
Inputs: source (required), target (required), relation (required), weight, +4 more. Returns: result
save_memoryA
Save a new memory node with dense vector embedding, category, importance, project namespace, and conflict detection.
Inputs: content (required), agent, project, category, +1 more. Returns: result
search_memoryB
Search memory using 4-Way Reciprocal Rank Fusion (RRF): Fuses Dense Vector Cosine Similarity + Trigram FTS5 Lexical + Graph Spreading Activation + ACT-R Decay.
Inputs: query (required), limit, hybrid, project. Returns: result
visualize_graphB
Knowledge Graph Topology Visualizer: Generates Mermaid.js and ASCII relational network diagrams for power users.
Inputs: node (required), depth, project. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools have distinct targets: memory nodes, graph relations, ingestion, maintenance, and stats. A few pairs like save_memory vs extract_and_save_memory or search_memory vs auto_context could overlap, but their descriptions clarify the intended workflow. No tools are truly redundant.
Tool names are consistently lowercase snake_case and mostly follow a verb-first pattern. The main outlier is auto_context, which is a noun phrase, and graph-related names mix save_graph_relation, query_graph, and visualize_graph. Overall the pattern remains predictable and readable.
15 tools is at the upper edge of ideal but well-scoped for a memory system that combines vector storage, knowledge graph operations, ingestion, reflection, and maintenance. Each tool serves a distinct purpose, and none feel purely decorative or redundant.
Memory CRUD is well covered with save, search, edit, delete, and list, and graph relations have save and query support. Missing direct graph relation editing/deletion and a get-memory-by-ID tool are minor gaps, but cascade deletion and search/list provide workarounds.
Maintenance
Related MCP Connectors
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Persistent memory for AI agents. Semantic search, memory graph, W3C DID identity.
Universal persistent memory and knowledge retrieval layer for AI agents and LLMs.
Persistent memory for AI agents. Search and store durable facts, preferences and decisions.
Related MCP Servers
- AlicenseCqualityBmaintenanceProvides persistent, local-first memory with knowledge graph and hybrid search for AI coding agents, reducing token usage by storing decisions, patterns, and codebase context.2938 PyPI10MIT
- AlicenseNot gradedqualityBmaintenanceProvides AI coding agents with a persistent memory layer to save, recall, update, and track memories across sessions and repositories using hybrid semantic search.5MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to store and retrieve persistent project and cross-project memories via semantic search, so decisions, preferences, error patterns, and guidelines survive across sessions. Optionally supports autonomous task execution built on the same local-first knowledge store.-
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to read and write persistent memory directly during sessions, storing decisions, preferences, error patterns, research, and cross-project guidelines in local SQLite databases. Supports semantic search so relevant project and global context can be recalled by meaning, fully offline and without API keys.-