Category-based Memory Server
@mkusaka
About Category-based Memory Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@mkusaka/mcp-server-memory"
]
}
}
}Tools
4Stores a memory with optional tags in a specified category
Retrieves all memories from a specified category
Removes all memories within a specified category
Removes a specific memory within a specified category
Overview
What is Category-based Memory Server?
The Category-based Memory Server provides persistent memory for Claude using a category and tag system. It stores memories as plain text files, supporting global storage (shared across all projects) and local storage (specific to the current project).
How to use Category-based Memory Server?
Install via npx and configure in claude_desktop_config.json or VS Code settings. Use the provided tools (remember_memory, retrieve_memories, remove_memory_category, remove_specific_memory) to store, retrieve, and manage categorized memories. The MEMORY_FILE_PATH environment variable can set a custom storage location.
Key features of Category-based Memory Server
- Organize memories by categories and tags.
- Supports global (home directory) and local (project) storage.
- Memories stored as plain text files.
- Add and remove memories independently.
- Atomic memories (one piece of information per entry).
Use cases of Category-based Memory Server
- Remember coding preferences and conventions across chat sessions.
- Store project‑specific knowledge that persists across interactions.
- Maintain a shared knowledge base for consistent behavior.
FAQ from Category-based Memory Server
What is the difference between global and local memories?
Global memories are stored in the user’s home directory (~/.config/goose/memory) and persist across all projects. Local memories are stored in the current project directory (.goose/memory) and are specific to that project.
What file format are memories stored in?
Memories are stored as plain text files. Each category has its own file, and tags are prefixed with # (e.g., # formatting style).
How do I configure a custom memory file path?
Set the MEMORY_FILE_PATH environment variable when starting the server (default is memory.json in the server directory).
Can I remove all memories at once?
Yes, use the remove_memory_category tool with * as the category, and specify whether to target global or local storage.
What are the runtime requirements?
The server requires Node.js and is distributed via npm as @mkusaka/mcp-server-memory. It communicates via MCP stdio and does not require authentication.
More Memory & Knowledge MCP servers
Context Portal MCP (ConPort)
GreatScottyMacContext Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.
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
Obsidian MCP Server
StevenStavrakisA simple MCP server for Obsidian
RAG Documentation MCP Server
hannesrudolphAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
Comments