An MCP server that allows Claude and other LLMs to manage persistent memories across conversations through text file storage, enabling commands to add, search, delete and list memory entries.
This is an MCP server to interact with a memory text file to help Claude with inter-chat context.
Each line is a memory.
These tools allow Claude (and other MCP clients) to manage memories mid-chat:
memory_add(memory: string)
- append the memorymemory_search(query: string)
- return matching memories (substring exact match) - later, might allow globs/regexmemory_delete(query: string)
- delete matching memories (substring exact match)memory_list()
- return all memoriesmemory_update
== memory_delete
+ memory_add
For example,
"talking to Wes"
"Wes's daughter is 8"
"working on typescript project"
run_command
)... say there is a failure on a first attempt to use the tool (i.e. the python
command isn't present) and then a subsequent tool use succeeds (i.e. using python3
instead of python
)
Claude can record "use python3, python is not present"...
memory_delete(query: X)
memory_search("oldname") + memory_delete(each matching record, or a common subset query) + memory_add("newname")
Then, when a new chat begins, Claude will automatically get recent memories (a subset or all) OR can ask for memories (some/more/all). And then can use those to influence responses/tools/etc.
A simple memory text file, why:
mcp-server-commands
worked great (when Claude had them).Cueing mechanism:
I have no idea if these are worth the time, just listing ideas here for the future. Perhaps in part to stop myself from working on them :)
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!