Memorymesh
MemoryMesh is a knowledge graph server designed for AI models, focusing on text RPGs and interactive narratives, helping AI maintain structured memory across conversations.
rating : 3.5 points
downloads : 212
đ Memory Mesh
MemoryMesh is an MCP server for managing knowledge graph data in the Claude desktop environment. It enables AI to perform reasoning through structured data and provides an in-memory data storage system.
đ Quick Start
Installation
-
Clone the repository:
git clone https://github.com/CheMiguel23/memorymesh.git cd memorymesh
-
Install dependencies:
npm install
-
Compile the project:
npm run build
This command compiles the TypeScript code into JavaScript and stores it in the
dist
directory. It also copies the example schema and data files to this directory. -
Configure the Claude desktop environment:
-
Open your configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the following content to the
mcpServers
section:"memorymesh": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/YOUR/PROJECT/memorymesh/dist/index.js"] }
Replace
/ABSOLUTE/PATH/TO/YOUR/PROJECT/
with the actual path of your project.
-
Verify the Installation
- Launch the Claude desktop.
- Open a new chat window.
- Check the MCP plugin icon in the top - right corner. If you see the icon, the configuration is correct.
- Click the icon and view the list of connected servers. You should see "memorymesh".
⨠Features
- Pluggable Knowledge Representation: Define entities and relationships through JSON Schema.
- Persistent Storage: Data is saved in files to prevent data loss due to power outages or restarts.
- AI Programmable Interface: Provide custom tools for Claude to interact with the knowledge graph.
đģ Usage Examples
Basic Usage
// Create a user using the add_user tool
{
"tool": "add_user",
"args": {
"username": "john_doe",
"email": "john@example.com",
"age": 30,
"hobbies": ["reading", "music"]
}
}
Advanced Usage
// Query a user using the query_user tool
{
"tool": "query_user",
"args": {
"username": "john_doe"
},
"result": {
"found": true,
"user": {
"username": "john_doe",
"email": "john@example.com",
"age": 30,
"hobbies": ["reading", "music"]
}
}
}
đ Documentation
Dependencies
- express: Used to create an HTTP server.
- yargs: Command - line argument parsing.
- uuid: Generate unique identifiers.
Install via npm
npm install memorymesh --save
Directory Structure
memorymesh/
âââ dist/ # Compiled output directory
â âââ index.js # Entry file
â âââ data/ # Data storage directory
âââ schemas/ # Schema files defining entities and relationships
âââ src/ # Source code directory
âââ server.ts # Server implementation
âââ tools/ # Custom tools
Tutorial
Create a New Entity Type
- Create a new JSON Schema file in the
schemas
directory. - Define the attributes and relationships of the entity.
- Use AI tools for data operations.
đ¤ Contribution
Any contributions, feedback, or ideas are welcome to further advance this project or inspire new explorations.
Featured MCP Services

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
79
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
130
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
554
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.6K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
745
4.8 points
Š 2025AIbase