MemoryMesh
@CheMiguel23
About MemoryMesh
A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MemoryMesh": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"memorymesh",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MemoryMesh?
MemoryMesh is a local knowledge graph server designed for AI models, with a focus on text-based RPGs and interactive storytelling. It helps AI maintain consistent, structured memory across conversations and is built upon the MCP Knowledge Graph Memory Server.
How to use MemoryMesh?
After installing dependencies with npm install, place your schema files (.schema.json) in the dist/data/schemas directory. The server automatically detects schemas and generates dynamic tools. Data is stored by default in dist/data/memory.json. A companion Memory Viewer web app can load and visualize the memory file.
Key features of MemoryMesh
- Dynamic schema-based tools: automatically generated add/update/delete tools
- Intuitive schema design with required fields, enums, and relationships
- Metadata for AI guidance on entity purpose and connections
- Relationship handling to create edges between related nodes
- Informative error feedback to help the AI improve
- Event system tracking all knowledge graph modifications
- 11 pre-built schemas for text-based RPGs
Use cases of MemoryMesh
- Text-based RPGs with persistent, structured character and world memory
- Interactive storytelling with consistent lore tracking
- Social network simulations with entity relationships
- Organizational planning with structured data management
- Any scenario requiring structured data for AI models
FAQ from MemoryMesh
Where should schema files be placed?
Place your schema files (.schema.json) in the dist/data/schemas directory. Files must be named with a prefix add_ (e.g., add_npc.schema.json).
Where is the memory data stored?
By default, the knowledge graph data is stored in a JSON file at dist/data/memory.json. You can load this file into the Memory Viewer for inspection.
How does dynamic tool generation work?
MemoryMesh reads your schema definitions and automatically creates three tools per entity type: add_<entity>, update_<entity>, and delete_<entity>. These tools are then available for AI clients.
What changed in v0.3.0 and how do I update?
Version 0.3.0 updates the MCP SDK from v1.0.4 to v1.25.2 for compatibility with the latest MCP specification (2025-11-25). After updating, run npm install to fetch new dependencies. Since v0.2.7, the default schema location changed to dist/data/schemas; move your schema files if upgrading from an earlier version.
What are the runtime requirements?
MemoryMesh is a TypeScript project. It requires Node.js and the MCP SDK. The server runs locally and is compatible with MCP clients like Claude Desktop, ChatGPT, Cursor, Gemini, and VS Code.
Frequently asked questions
Where should schema files be placed?
Place your schema files (`.schema.json`) in the `dist/data/schemas` directory. Files must be named with a prefix `add_` (e.g., `add_npc.schema.json`).
Where is the memory data stored?
By default, the knowledge graph data is stored in a JSON file at `dist/data/memory.json`. You can load this file into the Memory Viewer for inspection.
How does dynamic tool generation work?
MemoryMesh reads your schema definitions and automatically creates three tools per entity type: `add_<entity>`, `update_<entity>`, and `delete_<entity>`. These tools are then available for AI clients.
What changed in v0.3.0 and how do I update?
Version 0.3.0 updates the MCP SDK from v1.0.4 to v1.25.2 for compatibility with the latest MCP specification (2025-11-25). After updating, run `npm install` to fetch new dependencies. Since v0.2.7, the default schema location changed to `dist/data/schemas`; move your schema files if upgrading from an earlier version.
What are the runtime requirements?
MemoryMesh is a TypeScript project. It requires Node.js and the MCP SDK. The server runs locally and is compatible with MCP clients like Claude Desktop, ChatGPT, Cursor, Gemini, and VS Code.
Basic information
More Memory & Knowledge MCP servers
minutes
silversteinEvery meeting, every idea, every voice note — searchable by your AI. Open-source, privacy-first conversation memory layer.
Mcp Knowledge Graph
shanehollomanMCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
Context7 MCP - Up-to-date Docs For Any Cursor Prompt
upstashContext7 Platform -- Up-to-date code documentation for LLMs and AI code editors
Groundwork
Rarefied-EarthGroundwork: company memory for your AI tools. Docs public. Source closed. Public proof needs no account.
Notion MCP Integration
danhilseA simple MCP integration that allows Claude to read and manage a personal Notion todo list
Comments