
CheMiguel23/MemoryMesh
Graph-based memory focused on AI role-play and story generation
by CheMiguel23Open source
Description
MemoryMesh is an MCP server that gives AI models a structured, long-term memory built as a knowledge graph. You describe the kinds of things to remember in small schema files, such as people, projects, characters, locations or books. For each schema, MemoryMesh creates tools the AI can use to add, update and delete items, and it links related items as it goes. The memory is made of nodes, which are things with metadata, and edges, which connect nodes and can carry an optional weight from 0 to 1. Every change is all-or-nothing: if a required field is missing or a link points at a node that does not exist, nothing is saved and the AI receives an error it can act on. The README suggests uses such as a text-based role-play world, the people and teams at a company, a personal CRM or reading notes. It explains the schema format, includes example schema sets and lists the built-in tools. The project is based on the Knowledge Graph Memory Server from the MCP servers repository and is public on GitHub.…
Highlights
- Long-term memory as a knowledge graph
- Custom schema files for each memory type
- Add, update and delete tools per schema
- All-or-nothing saves with clear errors
- Example schema sets included
Ratings & Reviews
No ratings yet
Be the first to rate CheMiguel23/MemoryMesh.
People also visit

hmem — Humanlike Memory for AI Agents
Persistent memory and agent lifecycle for Claude Code
CheMiguel23/MemoryMesh FAQ
What is MemoryMesh?
An MCP server that stores structured memory for AI models as a graph of nodes and edges.
How do I define what it remembers?
Write a schema file ending in .schema.json for each kind of thing. The README includes an npc example.
What happens if an update is invalid?
Nothing is saved. The whole call fails and the AI gets an error message it can act on.
Where does it come from?
The README says it is based on the Knowledge Graph Memory Server from the MCP servers repository.
What are the best CheMiguel23/MemoryMesh alternatives?
Popular alternatives to CheMiguel23/MemoryMesh include GrayMatter, pomazanbohdan/memory-mcp-1file and hmem — Humanlike Memory for AI Agents. See all CheMiguel23/MemoryMesh alternatives






















