claude-memory-mcp
by tanaka-kun-dev·★ 0·Score 33
MCP server for persistent file-based memory management with tools to read, search, and update Claude's memory files.
Overview
This MCP server bridges the gap between Claude's auto-memory feature and other MCP-compatible clients. It exposes memory files stored in ~/.claude/memory/ as MCP resources and provides a comprehensive set of tools for managing these entries. The server supports listing, searching, adding, updating, and deleting memory files, with automatic rebuilding of the MEMORY.md index after each write operation. Memory files follow a structured format with YAML frontmatter containing metadata such as name, description, and type.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you're already using Claude's memory feature and need to manage it across multiple MCP clients, or if you want programmatic access to Claude's persistent memories.
When NOT to choose this
Don't choose this if you need memory storage outside of Claude's ecosystem, or if you require more sophisticated memory management with relationships or structured data.
Tools this server exposes
6 tools extracted from the READMElist_memoryList all memories (optionally filter by type)
search_memoryKeyword search across name/description/body
add_memoryCreate a new memory file
update_memoryOverwrite an existing memory file
delete_memoryDelete a memory file
rebuild_indexRegenerate MEMORY.md index
Comparable tools
Installation
npm install -g @tanaka-kun-dev/claude-memory-mcpClaude Code
Add to your .claude/settings.json:
{
"mcpServers": {
"memory": {
"command": "claude-memory-mcp"
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"memory": {
"command": "claude-memory-mcp"
}
}
}For custom memory directory, use environment variable CLAUDE_MEMORY_DIR.
FAQ
- What memory types are supported?
- The server supports four memory types: user (user role/preferences), feedback (corrections/validations), project (active work context), and reference (external resources).
- Can I use this with MCP clients other than Claude?
- Yes, this server exposes memory files as MCP resources and provides tools that work with any MCP-compatible client like Claude Desktop, Cursor, etc.
Compare claude-memory-mcp with
Last updated · Auto-generated from public README + GitHub signals.