Vector Memory MCP Server
Provides local vector-based semantic memory storage for AI assistants to persist context and decisions across sessions using local embeddings and LanceDB. It enables private semantic search and session handoff capabilities to maintain long-term project context.
README
Vector Memory MCP Server
Semantic memory storage for AI assistants. Store decisions, patterns, and context that persists across sessions.
A local-first MCP server that provides vector-based memory storage. Uses local embeddings and LanceDB for fast, private semantic search.
Features
- Local & Private - All embeddings generated locally, data stored in local LanceDB
- Semantic Search - Vector similarity search with configurable scoring
- Batch Operations - Store, update, delete, and retrieve multiple memories at once
- Session Handoffs - Save and restore project context between sessions
- MCP Native - Standard protocol, works with any MCP-compatible client
Quick Start
Prerequisites
- Bun 1.0+
- An MCP-compatible client (Claude Code, Claude Desktop, etc.)
Install
bun install -g @aeriondyseti/vector-memory-mcp
First install downloads ML models (~90MB). This may take a minute.
Configure
Add to your MCP client config (e.g., ~/.claude/settings.json):
{
"mcpServers": {
"vector-memory": {
"type": "stdio",
"command": "bunx",
"args": ["--bun", "@aeriondyseti/vector-memory-mcp"]
}
}
}
Use
Restart your MCP client. You now have access to:
| Tool | Description |
|---|---|
store_memories |
Save memories (accepts array) |
search_memories |
Find relevant memories semantically |
get_memories |
Retrieve memories by ID (accepts array) |
update_memories |
Update existing memories |
delete_memories |
Remove memories (accepts array) |
store_handoff |
Save session context for later |
get_handoff |
Restore session context |
Usage
Store a memory:
You: "Remember that we use Drizzle ORM for database access"
Assistant: [calls store_memories]
Search memories:
You: "What did we decide about the database?"
Assistant: [calls search_memories with relevant query]
Session handoffs:
You: "Save context for next session"
Assistant: [calls store_handoff with summary, completed items, next steps]
Configuration
Environment variables:
| Variable | Default | Description |
|---|---|---|
VECTOR_MEMORY_DB_PATH |
.vector-memory/memories.db |
Database location |
VECTOR_MEMORY_MODEL |
Xenova/all-MiniLM-L6-v2 |
Embedding model |
VECTOR_MEMORY_HTTP_PORT |
3271 |
HTTP server port |
Development
git clone https://github.com/AerionDyseti/vector-memory-mcp.git
cd vector-memory-mcp
bun install
bun run test # Run all tests
bun run dev # Watch mode
bun run typecheck # Type checking
See CHANGELOG.md for release history and ROADMAP.md for planned features.
Contributing
Contributions welcome! See issues for areas we'd love help with.
License
MIT - see LICENSE
Built with MCP SDK, LanceDB, and Transformers.js
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.
E2B
Using MCP to run code via e2b.
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.