Skip to content

Memory Server

The memory server (servers/memory/) provides persistent, searchable memory across AI sessions.

Tools

crow_store_memory

Store a new piece of information in persistent memory.

ParameterTypeRequiredDescription
contentstringYesThe information to remember
categorystringNoCategory: general, project, preference, person, process, decision, learning, goal
contextstringNoAdditional context about when/why this was stored
tagsstringNoComma-separated tags for filtering
sourcestringNoWhere this information came from
importancenumberNo1-10 importance score (default: 5)

crow_search_memories

Search memories using full-text search (FTS5).

ParameterTypeRequiredDescription
querystringYesSearch query (supports FTS5 syntax)
categorystringNoFilter by category
tagsstringNoFilter by tags (comma-separated)
limitnumberNoMax results (default: 10)

crow_recall_by_context

Recall memories relevant to a given context. Uses FTS5 ranking to find the most relevant memories.

ParameterTypeRequiredDescription
contextstringYesThe context to match against
limitnumberNoMax results (default: 5)

crow_list_memories

List memories with optional filtering and sorting.

ParameterTypeRequiredDescription
categorystringNoFilter by category
tagsstringNoFilter by tags
limitnumberNoMax results (default: 20)
offsetnumberNoPagination offset
sortstringNoSort by: created_at, updated_at, importance

crow_update_memory

Update an existing memory.

ParameterTypeRequiredDescription
idnumberYesMemory ID to update
contentstringNoNew content
categorystringNoNew category
tagsstringNoNew tags
importancenumberNoNew importance score

crow_delete_memory

Delete a memory by ID.

ParameterTypeRequiredDescription
idnumberYesMemory ID to delete

crow_memory_stats

Get statistics about stored memories. No parameters — returns counts by category, tag distribution, and total memory count.

Resources

memory://categories

Returns the list of valid memory categories.

Database

Memories are stored in the memories table with a companion memories_fts FTS5 virtual table for full-text search. SQLite triggers keep the FTS index in sync on insert, update, and delete.

Released under the MIT License.