1. Conduid
  2. Data
  3. Memory Keeper
MCP server · Data

Memory Keeper

MCP server for persistent context management in AI coding assistants

72Good

Scored 1 hours ago · breakdown

About Memory Keeper

Memory Keeper is an MCP server published by mkreyman in the Data category: mCP server for persistent context management in AI coding assistants. Conduid read 40 tools from its source: context_analyze, context_batch_delete, context_batch_save, context_batch_update, context_branch_session, context_cache_file and 34 more. No package is published for it, so it installs from a source checkout.

The repository has 137 stars and 30 forks, is licensed MIT, and its last commit was on 3 Sep 2026. The latest release is v0.12.1 (25 Mar 2026): Server crashes with SQLITE_CANTOPEN when parent process CWD changes (#31) Server now resolves database path to an absolute location ($DATA_DIR or ~/mcp-data/memory-keepe… The release before it was v0.10.2 (16 Sep 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data, context-persistence, sqlite and context-management.

Install

From source
git clone https://github.com/mkreyman/mcp-memory-keeper

Tools (40)

context_analyzeAnalyze context to extract entities and relationships
ParameterTypeDescription
categoriesarrayCategories to analyze
sessionIdstringSession ID to analyze (defaults to current)
context_batch_deleteDelete multiple context items by keys or pattern in a single atomic operation
ParameterTypeDescription
dryRunbooleanPreview items to be deleted without actually deleting
keyPatternstringPattern to match keys for deletion (supports wildcards: *, ?)
keysarrayArray of specific keys to delete
sessionIdstringSession ID (defaults to current)
context_batch_saveSave multiple context items in a single atomic operation
ParameterTypeDescription
items *arrayArray of items to save
updateExistingbooleanUpdate existing items with same key (default: true)
context_batch_updateUpdate multiple context items with partial updates in a single atomic operation
ParameterTypeDescription
sessionIdstringSession ID (defaults to current)
updates *arrayArray of updates to apply
context_branch_sessionCreate a branch from current session for exploring alternatives
ParameterTypeDescription
branchName *stringName for the new branch
copyDepthstringHow much to copy: shallow (high priority only) or deep (everything)
context_cache_fileCache file content with hash for change detection
ParameterTypeDescription
content *stringFile content to cache
filePath *stringPath to the file
context_channel_statsGet detailed statistics for a specific channel or all channels
ParameterTypeDescription
channelstringSpecific channel name (omit for all channels overview)
includeInsightsbooleanInclude AI-generated insights
includeTimeSeriesbooleanInclude hourly/daily activity data
sessionIdstringSession context for privacy filtering
context_checkpointCreate a named checkpoint of current context
ParameterTypeDescription
descriptionstringCheckpoint description
includeFilesbooleanInclude cached files in checkpoint
includeGitStatusbooleanCapture current git status
name *stringCheckpoint name
context_compressIntelligently compress old context to save space
ParameterTypeDescription
olderThanstringCompress items older than this date (ISO format)
preserveCategoriesarrayCategories to preserve (not compress)
sessionIdstringSession to compress (defaults to current)
targetSizenumberTarget size in KB (optional)
context_delegateDelegate complex analysis tasks to specialized agents
ParameterTypeDescription
chainbooleanProcess multiple tasks in sequence
input *object
sessionIdstringSession to analyze (defaults to current)
taskType *stringType of task to delegate
context_diffGet changes to context items since a specific point in time (timestamp, checkpoint, or relative time)
ParameterTypeDescription
categorystringFilter by category
channelstringFilter by single channel
channelsarrayFilter by multiple channels
includeValuesbooleanInclude full item values in response
limitnumberMaximum items per category (added/modified)
offsetnumberPagination offset
sessionIdstringSession ID to analyze (defaults to current)
sincestringPoint in time to compare against (ISO timestamp, checkpoint name/ID, or relative time like "2 hours ago")
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.
ParameterTypeDescription
formatstringExport format
sessionIdstringSession to export (defaults to current)
context_file_changedCheck if a file has changed since it was cached
ParameterTypeDescription
currentContentstringCurrent file content to compare
filePath *stringPath to the file
context_find_relatedFind entities related to a key or entity
ParameterTypeDescription
key *stringContext key or entity name
maxDepthnumberMaximum graph traversal depth
relationTypesarrayTypes of relations to include
context_getRetrieve saved context by key, category, or session with enhanced filtering. Returns all accessible items (public items + own private items)
ParameterTypeDescription
categorystringFilter by category
channelstringFilter by single channel
channelsarrayFilter by multiple channels
createdAfterstringISO date - items created after this time
createdBeforestringISO date - items created before this time
includeMetadatabooleanInclude timestamps and size info
keystringSpecific key to retrieve
keyPatternstringRegex pattern for key matching
limitnumberMaximum items to return. Must be a positive integer. Invalid values will cause validation error. (default: auto-derived)
offsetnumberPagination offset. Must be a non-negative integer. Invalid values will cause validation error. (default: 0)
prioritiesarrayFilter by priority levels
sessionIdstringSpecific session ID (defaults to current)
sortstringSort order for results
context_get_relatedGet items related to a given context item
ParameterTypeDescription
depthnumberTraversal depth for multi-level relationships (default: 1)
directionstringDirection of relationships to retrieve
key *stringKey of the context item to find relationships for
relationshipstringFilter by specific relationship type
context_get_sharedGet shared context items from other sessions
ParameterTypeDescription
includeAllbooleanInclude all shared items from all sessions
context_git_commitCreate git commit with automatic context save
ParameterTypeDescription
autoSavebooleanAutomatically save context state
message *stringCommit message
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.
ParameterTypeDescription
filePath *stringPath to an export file inside the exports directory. Relative paths resolve against that directory; absolute paths must point inside it.
mergebooleanMerge with current session instead of creating new
context_integrate_toolTrack events from other MCP tools
ParameterTypeDescription
data *objectEvent data
eventType *stringType of event
toolName *stringName of the tool
context_journal_entryAdd a timestamped journal entry with optional tags and mood
ParameterTypeDescription
entry *stringJournal entry text
moodstringCurrent mood/feeling
tagsarrayTags for categorization
context_linkCreate a relationship between two context items
ParameterTypeDescription
metadataobjectOptional metadata for the relationship
relationship *stringType of relationship
sourceKey *stringKey of the source context item
targetKey *stringKey of the target context item
context_list_channelsList all channels with metadata (counts, activity, categories)
ParameterTypeDescription
includeEmptybooleanInclude channels with no items
sessionIdstringFilter by specific session (shows accessible items)
sessionIdsarrayFilter by multiple sessions
sortstringSort order for results
context_merge_sessionsMerge another session into the current one
ParameterTypeDescription
conflictResolutionstringHow to resolve conflicts
sourceSessionId *stringID of the session to merge from
context_prepare_compactionAutomatically save critical context before compaction
context_reassign_channelMove context items between channels based on keys, patterns, or entire channel
ParameterTypeDescription
categorystringFilter by category
dryRunbooleanPreview changes without applying them
fromChannelstringSource channel to move all items from
keyPatternstringPattern to match keys (supports wildcards: *, ?)
keysarraySpecific keys to reassign
prioritiesarrayFilter by priority levels
sessionIdstringSession ID (defaults to current)
toChannel *stringTarget channel to move items to
context_restore_checkpointRestore context from a checkpoint
ParameterTypeDescription
checkpointIdstringSpecific checkpoint ID
namestringCheckpoint name to restore
restoreFilesbooleanRestore cached files
context_saveSave a context item with optional category, priority, and privacy setting
ParameterTypeDescription
categorystringCategory (e.g., task, decision, progress)
channelstringChannel to organize this item (uses session default if not provided)
key *stringUnique key for the context item
prioritystringPriority level
privatebooleanIf true, item is only accessible from the current session. Default: false (accessible from all sessions)
value *stringContext value to save
context_searchSearch through saved context items with advanced filtering
ParameterTypeDescription
categorystringFilter by category
channelstringFilter by single channel
channelsarrayFilter by multiple channels
createdAfterstringISO date - items created after this time
createdBeforestringISO date - items created before this time
includeMetadatabooleanInclude timestamps and size info
keyPatternstringPattern for key matching (uses GLOB syntax)
limitnumberMaximum items to return. Must be a positive integer. Invalid values will cause validation error. (default: auto-derived)
offsetnumberPagination offset. Must be a non-negative integer. Invalid values will cause validation error. (default: 0)
prioritiesarrayFilter by priority levels
query *stringSearch query
relativeTimestringNatural language time (e.g., "2 hours ago", "yesterday")
searchInarrayFields to search in
sessionIdstringSession to search (defaults to current)
sortstringSort order for results
context_search_allSearch across multiple or all sessions with pagination support
ParameterTypeDescription
categorystringFilter by category
channelstringFilter by single channel
channelsarrayFilter by multiple channels
createdAfterstringFilter items created after this date (ISO format or relative time)
createdBeforestringFilter items created before this date (ISO format or relative time)
includeMetadatabooleanInclude timestamps and size info
includeSharedbooleanInclude shared items in search
keyPatternstringPattern to match keys (supports wildcards: *, ?)
limitnumberMaximum number of items to return. Must be a positive integer between 1-100. Non-integer values will be rejected with validation error. (default: 25)
offsetnumberNumber of items to skip for pagination. Must be a non-negative integer (0 or higher). Non-integer values will be rejected with validation error. (default: 0)
prioritiesarrayFilter by priority levels
query *stringSearch query
searchInarrayFields to search in
sessionsarraySession IDs to search (empty for all sessions)
sortstringSort order for results
context_semantic_searchSearch context using natural language queries
ParameterTypeDescription
minSimilaritynumberMinimum similarity score (0-1)
query *stringNatural language search query
sessionIdstringSearch within specific session (defaults to current)
topKnumberNumber of results to return
context_session_listList recent sessions
ParameterTypeDescription
limitnumberMaximum number of sessions to return
context_session_startStart a new context session with optional project directory for git tracking
ParameterTypeDescription
continueFromstringSession ID to continue from
defaultChannelstringDefault channel for context items (auto-derived from git branch if not provided)
descriptionstringSession description
namestringSession name
projectDirstringProject directory path for git tracking (e.g., "/path/to/your/project")
context_set_project_dirSet the project directory for git tracking in the current session
ParameterTypeDescription
projectDir *stringProject directory path for git tracking (e.g., "/path/to/your/project")
context_shareShare a context item with other sessions for cross-session collaboration
ParameterTypeDescription
key *stringKey of the item to share
makePublicbooleanShare with all sessions
targetSessionsarraySession IDs to share with (empty for public sharing)
context_statusGet current context status and statistics
context_summarizeGet AI-friendly summary of session context
ParameterTypeDescription
categoriesarrayFilter by specific categories
maxLengthnumberMaximum summary length
sessionIdstringSession to summarize (defaults to current)
context_timelineGet timeline of activities with optional grouping
ParameterTypeDescription
categoriesarrayFilter by categories
endDatestringEnd date (ISO format)
groupBystringHow to group timeline data
includeItemsbooleanInclude item details in timeline
itemsPerPeriodnumberMax items per time period
minItemsPerPeriodnumberOnly include periods with at least N items
relativeTimestringNatural language time (e.g., "2 hours ago", "today")
sessionIdstringSession to analyze (defaults to current)
showEmptybooleanInclude periods with 0 items (default: false)
startDatestringStart date (ISO format)
context_visualizeGenerate visualization data for the knowledge graph
ParameterTypeDescription
entityTypesarrayEntity types to include
sessionIdstringSession to visualize (defaults to current)
typestringVisualization type
context_watchCreate and manage watchers for real-time context change monitoring
ParameterTypeDescription
action *stringAction to perform
filtersobjectFilters for watching specific changes (for create action)
pollTimeoutnumberPolling timeout in seconds (default: 30)
watcherIdstringWatcher ID (required for poll/stop actions)

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 4.7K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 33 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:2
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
7 callssrc/index.ts:36, src/index.ts:53, src/index.ts:1927
Lockfile
package-lock.json

Pattern matches on the source text of 33 files: places to read, not proof of what the code does at run time.

Releases

v0.12.1v0.12.1 · 25 Mar 2026Fixed Server crashes with SQLITE_CANTOPEN when parent process CWD changes (#31) Server now resolves database path to an absolute location (`$DATA_DIR` or `~/mcp-data/memory-keeper/`) instead of relying on CWD Added try/catch around data…
v0.10.2v0.10.2 - Fix Token Limit Overflow · 16 Sep 2025🐛 Bug Fix: Token Limit Overflow with includeMetadata This release fixes the critical issue #24 where responses with `includeMetadata=true` exceed the MCP protocol's 25,000 token limit. What's Fixed Dynamic Token Limit Management: Responses…

README

The repository's README runs to about 4.7K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Memory Keeper

How do I install Memory Keeper?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Memory Keeper safe to use with an AI agent?

Its trust score is 72 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 33 source files found that it serves MCP over stdio and writes or deletes files (7 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Memory Keeper still maintained?

Yes — the last commit was 3 months ago. The repository has 137 stars and 30 forks and 1 open issues.

What tools does Memory Keeper provide?

Conduid read 40 tools from the source: context_analyze, context_batch_delete, context_batch_save, context_batch_update, context_branch_session, context_cache_file, context_channel_stats, context_checkpoint and 32 more. 38 of them publish their parameters, listed under Tools above.

What license is Memory Keeper released under?

The repository declares the MIT license. That applies to the latest release, v0.12.1, as well.