context_analyze
Analyze context to extract entities and relationships
Keep what a long working session learned — decisions, cached file state, the commit it went with — so the next session starts where the last one stopped.
LABSCO SUMMARY
Work is saved under keys with categories and channels and read back filtered or diffed against a checkpoint, so "what did we decide about auth" has an answer that is not a scroll. context_prepare_compaction puts the critical items away before a compaction takes them, and a session can be branched to try a second approach and merged back when it works out.
A session-scoped context store: items saved under a key with a category, priority and channel, checkpoints over the whole session, and 38 tools for getting things back — filtered, searched, diffed against a point in time, or summarised.
npx on your PATH. No account and no key — context stays with the server, and exports are written to its exports directory.
One command — npx mcp-memory-keeper
USE CASES
Start the session from the previous one so its items come with it, pull back the high-priority context for the category you are working in, and take a summary when the item list is longer than you want to read.
Save the critical items before the compaction takes them, and take a named checkpoint — with cached files and git status attached — that you can restore into a later session.
Ask for the difference since a timestamp, a checkpoint or a relative time, and read the activity grouped by period when you want the shape of a week rather than a list of items.
Branch the session, work the alternative in the branch, and merge it back with a conflict-resolution rule if it turns out better — or leave it unmerged if it does not.
Natural-language search with a similarity floor finds the item when you cannot remember the key it was saved under, and the cross-session search widens it when the memory is from a different piece of work.
Commit through the server so the context is saved alongside the change, and add a journal entry when the reason is worth a sentence that no diff will carry.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
context_analyzeAnalyze context to extract entities and relationships
context_batch_deleteDelete multiple context items by keys or pattern in a single atomic operation
context_batch_saveSave multiple context items in a single atomic operation
context_batch_updateUpdate multiple context items with partial updates in a single atomic operation
context_branch_sessionCreate a branch from current session for exploring alternatives
context_cache_fileCache file content with hash for change detection
context_channel_statsGet detailed statistics for a specific channel or all channels
context_checkpointCreate a named checkpoint of current context
context_compressIntelligently compress old context to save space
context_delegateDelegate complex analysis tasks to specialized agents
context_diffGet changes to context items since a specific point in time (timestamp, checkpoint, or relative time)
context_exportExport session data (context items, cached files, and checkpoints with their links) for backup or sharing. JSON exports are written to the server's exports directory (<DATA_DIR>/exports, overridable via MEMORY_KEEPER_EXPORT_DIR); the response includes the full path, which can be passed back to context_import.
context_file_changedCheck if a file has changed since it was cached
context_find_relatedFind entities related to a key or entity
context_getRetrieve saved context by key, category, or session with enhanced filtering. Returns all accessible items (public items + own private items)
context_get_relatedGet items related to a given context item
context_git_commitCreate git commit with automatic context save
context_importImport previously exported session data. For security, imports are confined to the server's exports directory (where context_export writes); arbitrary filesystem paths are rejected.
context_integrate_toolTrack events from other MCP tools
context_journal_entryAdd a timestamped journal entry with optional tags and mood
context_linkCreate a relationship between two context items
context_list_channelsList all channels with metadata (counts, activity, categories)
context_merge_sessionsMerge another session into the current one
context_prepare_compactionAutomatically save critical context before compaction
context_reassign_channelMove context items between channels based on keys, patterns, or entire channel
context_restore_checkpointRestore context from a checkpoint
context_saveSave a context item with optional category, priority, and privacy setting
context_searchSearch through saved context items with advanced filtering
context_search_allSearch across multiple or all sessions with pagination support
context_semantic_searchSearch context using natural language queries
context_session_listList recent sessions
context_session_startStart a new context session with optional project directory for git tracking
context_set_project_dirSet the project directory for git tracking in the current session
context_statusGet current context status and statistics
context_summarizeGet AI-friendly summary of session context
context_timelineGet timeline of activities with optional grouping
context_visualizeGenerate visualization data for the knowledge graph
context_watchCreate and manage watchers for real-time context change monitoring
BEFORE YOU INSTALL
38 tools when we connected. TOOL_PROFILE=minimal exposes 8 tools and standard exposes 22; a config file at ~/.mcp-memory-keeper/config.json can define custom subsets. An unrecognised profile name falls back to the full set.
npx on PATH
CONTEXT COST
Rated by the size of the 38 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx mcp-memory-keeper{
"mcpServers": {
"memory-keeper": {
"command": "npx",
"args": [
"mcp-memory-keeper"
],
"env": {
"TOOL_PROFILE": "minimal"
}
}
}
}npm install -g mcp-memory-keeper
claude mcp add memory-keeper mcp-memory-keeper