# Claude Mem ## Docs - [Architecture evolution](https://mintlify.wiki/thedotmack/claude-mem/architecture-evolution.md): The journey from naive memory dumps in v1–v2 to the AI-compressed, progressive-disclosure, hook-driven architecture of v5+. Why each version changed and what it unlocked. - [Database Architecture](https://mintlify.wiki/thedotmack/claude-mem/architecture/database.md): SQLite3 schema, FTS5 virtual tables, SessionStore CRUD operations, and data directory structure - [Hook scripts reference](https://mintlify.wiki/thedotmack/claude-mem/architecture/hooks.md): Complete technical reference for all 7 Claude Mem hook scripts — file names, lifecycle events, stdin/stdout contracts, exit codes, and the full hooks.json configuration. - [Architecture Overview](https://mintlify.wiki/thedotmack/claude-mem/architecture/overview.md): System components, technology stack, and data flow in Claude-Mem - [PM2 to Bun migration](https://mintlify.wiki/thedotmack/claude-mem/architecture/pm2-to-bun-migration.md): Why PM2 was replaced with a custom Bun-based ProcessManager in v7.1.0, what changed for users, and how the automatic one-time migration works. - [Search Architecture](https://mintlify.wiki/thedotmack/claude-mem/architecture/search-architecture.md): MCP tools, 3-layer progressive disclosure workflow, FTS5 keyword search, and ChromaDB semantic search - [Worker Service](https://mintlify.wiki/thedotmack/claude-mem/architecture/worker-service.md): Express HTTP server, API endpoints, SSE real-time updates, and Bun process management - [Beta Features](https://mintlify.wiki/thedotmack/claude-mem/beta-features.md): Try experimental features like Endless Mode before they reach the stable release channel - [Configuration](https://mintlify.wiki/thedotmack/claude-mem/configuration.md): Environment variables and settings reference for Claude Mem. Configure AI providers, context injection, worker service, and more. - [Context engineering](https://mintlify.wiki/thedotmack/claude-mem/context-engineering.md): Best practices for curating the optimal set of tokens for AI agents — and how Claude Mem applies these principles. - [Cursor + Gemini Setup](https://mintlify.wiki/thedotmack/claude-mem/cursor/gemini-setup.md): Use Claude Mem in Cursor with Google's free Gemini API - [Cursor Integration](https://mintlify.wiki/thedotmack/claude-mem/cursor/index.md): Persistent AI memory for Cursor IDE — free tier options available, works with or without Claude Code - [Cursor + OpenRouter Setup](https://mintlify.wiki/thedotmack/claude-mem/cursor/openrouter-setup.md): Use Claude Mem in Cursor with OpenRouter's 100+ AI models - [Development](https://mintlify.wiki/thedotmack/claude-mem/development.md): Build Claude Mem from source, run tests, manage the worker service, and contribute to the project. - [Hooks Architecture](https://mintlify.wiki/thedotmack/claude-mem/hooks-architecture.md): How Claude Mem uses Claude Code lifecycle hooks to observe sessions, capture tool output, and inject memory — without touching the main session. - [Installation](https://mintlify.wiki/thedotmack/claude-mem/installation.md): Install the Claude-Mem plugin in two commands and get persistent memory across all sessions - [Introduction](https://mintlify.wiki/thedotmack/claude-mem/introduction.md): Persistent memory compression system for Claude Code — context that survives across sessions - [Modes and languages](https://mintlify.wiki/thedotmack/claude-mem/modes.md): Switch Claude Mem's behavior, observation categories, and output language using the mode system — without reinstalling. - [OpenClaw Integration](https://mintlify.wiki/thedotmack/claude-mem/openclaw-integration.md): Persistent memory for OpenClaw agents — observation recording, system prompt context injection, and real-time observation feeds - [Platform Integration Guide](https://mintlify.wiki/thedotmack/claude-mem/platform-integration.md): Complete reference for integrating the claude-mem worker service into VSCode extensions, IDE plugins, and CLI tools - [Progressive disclosure](https://mintlify.wiki/thedotmack/claude-mem/progressive-disclosure.md): The philosophy behind Claude Mem's 3-layer context priming strategy — and why fetching everything upfront wastes your token budget. - [Troubleshooting](https://mintlify.wiki/thedotmack/claude-mem/troubleshooting.md): Solutions to common Claude Mem issues: worker not starting, context not injecting, search returning no results, and more. - [Claude Desktop](https://mintlify.wiki/thedotmack/claude-mem/usage/claude-desktop.md): Connect Claude Desktop to your Claude Mem database and search past sessions, decisions, and observations from any conversation. - [Export and import memory](https://mintlify.wiki/thedotmack/claude-mem/usage/export-import.md): Share observations between Claude Mem installations, back up specific memory sets, and import community knowledge using hybrid search export. - [Folder context files](https://mintlify.wiki/thedotmack/claude-mem/usage/folder-context.md): Auto-generated CLAUDE.md files that give Claude directory-level awareness of recent activity in each project folder. - [Gemini Provider](https://mintlify.wiki/thedotmack/claude-mem/usage/gemini-provider.md): Use Google's Gemini API as an alternative to Claude for observation extraction, with a generous free tier. - [Getting Started](https://mintlify.wiki/thedotmack/claude-mem/usage/getting-started.md): How Claude-Mem works automatically — what gets captured, how context is injected, and how to search your history - [OpenRouter Provider](https://mintlify.wiki/thedotmack/claude-mem/usage/openrouter-provider.md): Access 100+ AI models through OpenRouter's unified API, including free models for zero-cost observation extraction. - [Private tags](https://mintlify.wiki/thedotmack/claude-mem/usage/private-tags.md): Prevent sensitive content from being stored in memory by wrapping it in tags. - [Memory search tools](https://mintlify.wiki/thedotmack/claude-mem/usage/search-tools.md): Search your project history with MCP tools using the 3-layer progressive disclosure workflow for ~10x token savings. ## OpenAPI Specs - [openapi](https://mintlify.wiki/thedotmack/claude-mem/api-reference/openapi.json)