MemoVault
A personal memory system that provides AI assistants with long-term memory capabilities through semantic search and vector storage. It enables Claude Code to store, retrieve, and manage personal context and project preferences using flexible LLM backends.
README
MemoVault
A simplified personal memory system for AI assistants, designed for Claude Code integration via MCP.
Features
- MCP Server: First-class integration with Claude Code
- Flexible Backends: Support for OpenAI and Ollama (local) LLMs
- Vector Search: Semantic memory retrieval using Qdrant
- Simple JSON Storage: Lightweight option for basic use cases
- Easy Configuration: Environment-based setup
Quick Start
Installation
pip install memovault
# For local embeddings (optional)
pip install memovault[local]
Basic Usage
from memovault import MemoVault
# Initialize with default settings (reads from .env)
mem = MemoVault()
# Add memories
mem.add("I prefer Python for backend development")
mem.add("My project deadline is March 15th")
# Search for relevant memories
results = mem.search("programming preferences")
for result in results:
print(result.memory)
# Chat with memory context
response = mem.chat("What language should I use for my backend?")
print(response)
# Save memories to disk
mem.dump("./my_memories")
Claude Code Integration
- Configure MemoVault in your Claude Code settings:
{
"mcpServers": {
"memovault": {
"command": "memovault-mcp",
"env": {
"MEMOVAULT_LLM_BACKEND": "openai",
"MEMOVAULT_OPENAI_API_KEY": "sk-..."
}
}
}
}
- Use memory commands in Claude Code:
- "Remember that I prefer dark mode"
- "What do you know about my preferences?"
Configuration
Copy .env.example to .env and customize:
# LLM Backend
MEMOVAULT_LLM_BACKEND=openai # or "ollama"
MEMOVAULT_OPENAI_API_KEY=sk-...
MEMOVAULT_OPENAI_MODEL=gpt-4o-mini
# Embedder Backend
MEMOVAULT_EMBEDDER_BACKEND=openai # or "ollama", "sentence_transformer"
# Memory Backend
MEMOVAULT_MEMORY_BACKEND=vector # or "simple"
# Storage
MEMOVAULT_DATA_DIR=./memovault_data
MCP Tools
| Tool | Description |
|---|---|
add_memory |
Store new information |
search_memories |
Find relevant memories |
chat_with_memory |
Memory-enhanced chat |
get_memory |
Retrieve specific memory by ID |
delete_memory |
Remove a memory |
list_memories |
Show recent memories |
clear_memories |
Clear all memories |
Architecture
MemoVault/
├── src/memovault/
│ ├── core/ # Main MemoVault class
│ ├── memory/ # Memory backends (simple, vector)
│ ├── llm/ # LLM providers (OpenAI, Ollama)
│ ├── embedder/ # Embedding providers
│ ├── vecdb/ # Vector database (Qdrant)
│ ├── config/ # Configuration management
│ └── api/ # MCP server & REST API
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.