memory-mcp
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., "@memory-mcp show recent changes from the last 24 hours"
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.
memory-mcp
Persistent knowledge graph MCP server with SQLite backend. Drop-in replacement for the off-the-shelf mcp-server-memory (npm) — same tool signatures, but with graph traversal, fuzzy search, temporal queries, and timestamps.
Part of the Palimpsest intelligence fusion toolkit.
Why
The npm mcp-server-memory stores everything in a flat JSONL file. Every operation reads the entire file into memory. No timestamps, no graph queries, keyword-only search.
This replaces it with SQLite (WAL mode) while maintaining JSONL export compatibility. Adds:
Graph traversal —
traverse("shen-meta", depth=2)finds 46 connected nodes across 112 relationsFuzzy search — trigram similarity for entity names (no more exact-case matching)
Temporal queries —
recent(hours=24)shows everything added or modifiedTimestamps — every entity, observation, and relation has
created_at/updated_atCase-insensitive search —
search_nodes("project")matchesProjectX
Related MCP server: astra-knowledge-base-mcp
Tools
CRUD (backward compatible)
create_entities,create_relations,add_observationsdelete_entities,delete_observations,delete_relationssearch_nodes,open_nodes,read_graph
New
traverse(start_node, depth)— graph walk from a node, returns all entities within N hopsrecent(hours)— entities/relations created or updated in the last N hourssearch_similar(name, threshold)— trigram fuzzy matching for entity names
Usage
pip install -e .Reads from MEMORY_FILE_PATH (default: ~/.vibe/memory.jsonl). Stores in SQLite at MEMORY_DB_PATH (default: ~/.vibe/memory.db). On first run, auto-migrates existing JSONL into SQLite. All writes go to both stores.
Available Tools
12 toolsadd_observationsA
Add new observations to existing entities in the knowledge graph.
Each item must have: entityName (str), contents (list[str]).
Inputs: observations (required). Returns: result
create_entitiesA
Create multiple new entities in the knowledge graph.
Each entity must have: name (str), entityType (str), observations (list[str]).
Inputs: entities (required). Returns: result
create_relationsA
Create multiple new relations between entities in the knowledge graph.
Each relation must have: from (str), to (str), relationType (str).
Inputs: relations (required). Returns: result
delete_entitiesA
Delete multiple entities and their associated relations from the knowledge graph.
Inputs: entityNames (required). Returns: result
delete_observationsA
Delete specific observations from entities in the knowledge graph.
Each item must have: entityName (str), observations (list[str] — exact content match).
Inputs: deletions (required). Returns: result
delete_relationsA
Delete multiple relations from the knowledge graph.
Each relation must have: from (str), to (str), relationType (str). If relationType is omitted, all relations between from and to are deleted.
Inputs: relations (required). Returns: result
open_nodesB
Open specific nodes in the knowledge graph by their names.
Returns full entity details including all observations and timestamps.
Inputs: names (required). Returns: result
read_graphA
Read the entire knowledge graph.
Returns all entities with observations and all relations. Note: loads the full graph into memory — may be large.
Inputs: no named parameters. Returns: result
recentA
Return entities, relations, and observations created or updated in the last N hours.
Args: hours: Look-back window in hours (default 24, max 720)
Inputs: hours. Returns: result
search_nodesA
Search for nodes in the knowledge graph.
Case-insensitive token match across entity names, types, and observation content. Returns matching entities with their observations.
Inputs: query (required). Returns: result
search_similarA
Fuzzy search for entity names using trigram similarity.
Args: name: Name to search for (fuzzy matched) threshold: Minimum similarity score 0.0–1.0 (default 0.3)
Inputs: name (required), threshold. Returns: result
traverseA
Traverse the graph from a starting node, returning all entities within N hops.
Args: start_node: Entity name to start from depth: Number of hops to traverse (default 1, max 3)
Inputs: start_node (required), depth. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool addresses a distinct operation: entity/relation/observation CRUD is clearly separated, and the query tools (search_nodes, open_nodes, read_graph, traverse, recent, search_similar) each serve a unique retrieval use case. Even similar-sounding searches like search_nodes and search_similar are differentiated by 'token match' vs 'fuzzy name similarity'. No two tools appear to perform the same function.
Most tools follow a clear verb_noun pattern (create_entities, delete_observations, read_graph, open_nodes). However, 'traverse' is a bare verb and 'recent' is a time-filter command rather than verb_noun, breaking the pattern slightly. Overall, the naming is readable and predictable enough for an agent to infer tool purposes.
With 12 tools, the server covers the full knowledge graph lifecycle (create, add, delete) plus a diverse set of query and traversal operations. This is a well-scoped count that is neither too sparse nor overwhelming. Each tool earns its place for a memory system.
The surface includes CRUD for entities, relations, and observations, plus retrieval via search, open, full-graph read, traversal, and recent-time filtering. The only notable gap is lack of an 'update entity' or 'update relation' operation, though this can be worked around with delete+create or add_observations. Overall, the domain coverage is strong.
Related MCP Connectors
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
Repository knowledge graph MCP server for codebase understanding and debugging.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
KnowMan MCP server: search, ask, save and read your Knowledge Base from any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceA Knowledge Graph MCP server optimized for LLM context efficiency through compact JSON and SQLite persistence. It enables full graph management including node/edge CRUD operations, full-text search, and subgraph traversal.-
- AlicenseAqualityBmaintenanceMCP server for managing and searching multi-tenant knowledge bases backed by SQLite with FTS5, enabling AI agents to persist and retrieve content via full-text search.132MIT
- AlicenseNot gradedqualityFmaintenanceAgent-first knowledge graph MCP server that provides 25 tools for managing a knowledge graph with nodes and edges, plus a human-readable dashboard for LLMs and AI agents.288 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceA knowledge-graph-based persistent memory server for the Model Context Protocol, storing entities, observations, and relations in SQLite with semantic vector search and temporal versioning.34 npmMIT