Vector Memory Mcp Server
About
Vector Memory MCP Server is a secure, vector-based memory server for Claude Desktop that uses sqlite-vec and sentence-transformers. It provides persistent semantic memory capabilities to enhance AI coding assistants by remembering and retrieving relevant coding experiences…
Details
- Author
- Xsaven
- Downloads
- 320
- Categories
- Knowledge Base, AI
Jump to
- Semantic search using 384-dimensional embeddings
- Persistent SQLite storage with vector indexing
- Smart organization with categories and tags
- Input validation, path sanitization, and resource limits
- Fast embedding generation with sentence-transformers
- Automatic deduplication via SHA-256 content hashing
- Access tracking with counts and timestamps
- Smart cleanup algorithm based on recency and importance
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Vector Memory Mcp ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install via uvx (recommended) or from source. Configure Claude Desktop by adding a JSON entry pointing to the server and a working directory. Then use available tools such as store_memory, search_memories, list_recent_memories, get_memory_stats, clear_old_memories, get_by_memory_id, and delete_by_memory_id via natural language commands.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"vector memory mcp server": {
"vector-memory": {
"command": "uvx",
"args": [
"vector-memory-mcp",
"--working-dir",
"/absolute/path/to/your/project"
]
}
}
}
}
McpServers
{
"vector-memory": {
"command": "uvx",
"args": [
"vector-memory-mcp",
"--working-dir",
"/absolute/path/to/your/project"
]
}
}
Vector Memory MCP Server
A secure, vector-based memory server for Claude Desktop usingsqlite-vec and sentence-transformers. This MCP server provides persistent semantic memory capabilities that enhance AI coding assistants by remembering and retrieving relevant coding experiences, solutions, and knowledge.
✨ Features
- 🔍 Semantic Search: Vector-based similarity search using 384-dimensional embeddings - 💾 Persistent Storage: SQLite database with vector indexing viasqlite-vec
- 🏷️ Smart Organization: Categories and tags for better memory organization
- 🔒 Security First: Input validation, path sanitization, and resource limits
- ⚡ High Performance: Fast embedding generation with sentence-transformers
- 🧹 Auto-Cleanup: Intelligent memory management and cleanup tools
- 📊 Rich Statistics: Comprehensive memory database analytics
- 🔄 Automatic Deduplication: SHA-256 content hashing prevents storing duplicate memories
- 📈 Access Tracking: Monitors memory usage with access counts and timestamps for optimization
- 🧠 Smart Cleanup Algorithm: Prioritizes memory retention based on recency, access patterns, and importance
🛠️ Technical Stack
| Component | Technology | Purpose | |-----------|------------|---------| | Vector DB | sqlite-vec | Vector storage and similarity search | | Embeddings | sentence-transformers/all-MiniLM-L6-v2 | 384D text embeddings | | MCP Framework | FastMCP | High-level tools-only server | | Dependencies | uv script headers | Self-contained deployment | | Security | Custom validation | Path/input sanitization | | Testing | pytest + coverage | Comprehensive test suite |📁 Project Structure
``
vector-memory-mcp/
├── main.py # Main MCP server entry point
├── README.md # This documentation
├── requirements.txt # Python dependencies
├── pyproject.toml # Modern Python project config
├── .python-version # Python version specification
├── claude-desktop-config.example.json # Claude Desktop config example
│
├── src/ # Core package modules
│ ├── __init__.py # Package initialization
│ ├── models.py # Data models & configuration
│ ├── security.py # Security validation & sanitization
│ ├── embeddings.py # Sentence-transformers wrapper
│ └── memory_store.py # SQLite-vec operations
│
└── .gitignore # Git exclusions
`
🗂️ Organization Guide
This project is organized for clarity and ease of use:
- main.py - Start here! Main server entry point
- src/ - Core implementation (security, embeddings, memory store)
- claude-desktop-config.example.json - Configuration template
New here? Start with main.py and claude-desktop-config.example.json
🚀 Quick Start
Prerequisites
- Python 3.10 or higher (recommended: 3.11)
- uv package manager
- Claude Desktop app
Installing uv (if not already installed):
macOS and Linux:
`bash
curl -LsSf https://astral.sh/uv/install.sh | sh
`
Verify installation:
`bash
uv --version
`
Installation
Option 1: Quick Install via uvx (Recommended)
The easiest way to use this MCP server - no cloning or setup required!
Once published to PyPI, you can use it directly:
``bashSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


