SimpleMem is a semantic memory storage server based on the Model Context Protocol (MCP), designed to provide persistent memory storage and retrieval capabilities for Claude and other MCP clients. It combines traditional file storage with modern RAG (Retrieval-Augmented Generation) technology, including semantic search and automatic relationship discovery, and can be thought of as Claude's private notebook, capable of permanently saving memories and automatically discovering associations between ideas.
Main capabilities include: persistent memory storage, supporting rich metadata; semantic search, using natural language queries to find memories; automatic relationship discovery, connecting related memories through semantic backlinks; a tag system, for flexible organization of memories; vector embeddings, provided by Voyage AI for high-quality semantic understanding; a DuckDB backend, for fast and efficient storage and vector similarity search; the MCP protocol, for seamless integration with Claude and other MCP clients.
Usage: A Voyage AI API key is required. You can download the latest version for your platform from GitHub Releases (for example, simplemem-vX.X.X-linux-amd64.tar.gz for Linux AMD64), and after extracting it, place the binary file in your PATH. If you use Nix and have flakes enabled, you can also install it via Nix. Configuration uses the TOML format, supporting flexible setting of the API key and options; you can create a config.toml file (refer to config.toml.example), or configure it via environment variables. Command-line options include: --config to specify a custom configuration file, --db to specify the database path (which can also be set in the configuration). The API key source supports a file path (recommended) or a direct value. You can use different configurations for different projects. Add SimpleMem to your MCP client configuration to use it.
Available MCP tools include: create_memory (create a new memory with a metadata object and Markdown content), read_memory (read a specific memory by name), update_memory (update the metadata and content of an existing memory), delete_memory (delete a memory and all its related data), search_memories (semantic search with optional tag filtering, the primary discovery method), get_backlinks (get memories related to a specific memory), change_tag (modify tags on a memory). Note: list_memories has been temporarily removed to encourage the use of efficient semantic search rather than full listings that consume a large number of tokens.
The on-disk storage format is YAML frontmatter + Markdown. The project uses just as a command runner, providing commonly used commands for rapid development iteration. Technical architecture: the frontend is an MCP JSON-RPC 2.0 protocol server; storage is a file-based memory store with DuckDB as the backend; search uses Voyage AI embeddings + vector similarity; relationships are discovered through automatic semantic backlinks; the memory format is YAML frontmatter + Markdown content.
Limitations and caveats: The project was written entirely with AI assistance (vibe-coded); although it is usable, the implementation details do not follow best practices. There is no formal test suite; error handling may not be robust enough; some edge cases may cause crashes; documentation is limited to what the README covers; there is no database migration mechanism. Contribution guidelines: first make it work, then make it work well, and only then consider aesthetics; testing is idealized; if something goes wrong, fix it with more "vibes." The license is LGPL 3.0, allowing use and modification, but improvements must be contributed back to the community. The project uses Voyage AI embeddings, DuckDB storage, and MCP integration via mark3labs/mcp-go.