claude-memory-mcp
Verified Safeby adamkwhite
Overview
Provides searchable local storage for Claude conversation history, enabling context retrieval during current sessions.
Installation
python3 src/server_fastmcp.pyEnvironment Variables
- CLAUDE_MEMORY_PATH
- CLAUDE_MCP_LOG_FORMAT
- CLAUDE_MCP_LOG_LEVEL
- CLAUDE_MCP_LOG_FILE
- CLAUDE_MCP_CONSOLE_OUTPUT
Security Notes
The project demonstrates strong security practices with comprehensive input validation (titles, content, queries) to prevent path traversal, null byte injection, and dangerous regex patterns. Path validation ensures operations are confined to safe directories. Logging includes sanitization and path redaction to prevent log injection and information disclosure. Search queries are sanitized for SQLite FTS. No obvious hardcoded secrets or malicious patterns were found. The primary MCP transport is stdio, reducing network exposure.
Similar Servers
claude-historian-mcp
Provides an MCP server for Claude Code to search and retrieve insights from conversation history, including past solutions, file changes, and tool usage patterns.
mcp-memory-keeper
Provides persistent context management for Claude AI coding assistants, ensuring work history, decisions, and progress are preserved across sessions and context limits.
claude-memory-mcp
Provides local, persistent, and searchable memory for AI assistants like Claude Desktop, enabling them to store and recall information efficiently.
memcord
A privacy-first, self-hosted MCP server for organizing chat history, summarizing messages, and searching past conversations using AI, particularly for Claude interactions.