π§
Memory
Persistent Memory AI Models & RoutingInstall Command
npx clawhub@latest install memory
Installation Guide
1
Check Environment
Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.
2
Run Installation
Run the install command above in your terminal. ClawHub will automatically download and install Memory to the ~/.openclaw/skills/ directory.
3
Verify Installation
Run openclaw skills list to check your installed skills and confirm Memory appears in the list.
4
Configure (Optional)
Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.
Manual Installation: Copy the Skill folder to
~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Build and query knowledge graphs
Cross-session persistent memory
Entity relationship management and reasoning
Detailed Description
Memory MCP Server is an official persistent memory server provided by Anthropic, using knowledge graphs to enable AI to remember and retrieve information across sessions.
Core Features
- Knowledge Graph: Store information as a graph structure of entities and relations, supporting rich semantic expression
- Persistent Storage: Information is persistently stored in local JSON files, maintained across sessions without loss
- Intelligent Retrieval: Fuzzy search and precise querying via entity names, relation types, or natural language
Configuration
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"env": {
"MEMORY_FILE_PATH": "Memory file storage path (optional)"
}
}
}
}
Use Cases
- Let AI remember user preferences and automatically apply them in subsequent sessions
- Build project knowledge bases to record technical decisions and architecture information
- Save and associate customer information for context-continuous conversations
- Accumulate and leverage domain knowledge across multiple sessions