loading…
Search for a command to run...
loading…
Enables AI assistants to save and recall information from files or free-form notes using natural language, acting as a long-term memory system.
Enables AI assistants to save and recall information from files or free-form notes using natural language, acting as a long-term memory system.
An MCP server that gives AI assistants the ability to save and recall information from files or free-form notes. Works like a long-term memory system where you can store documents and retrieve relevant information later using natural language.
📖 Complete Usage Guide | 🔗 PyPI Package | 🌐 MCP Registry
# Using Docker
docker run -d -p 6379:6379 redis:latest
# Or using Homebrew on macOS
brew install redis
brew services start redis
# Via pip
pip install mcp-server-vector-memory
# Via uvx (isolated environment)
uvx mcp-server-vector-memory
# From source
git clone https://github.com/NeerajG03/vector-memory.git
cd vector-memory
uv sync
After pip install:
# Run the server
mcp-server-vector-memory
# Manage memory
vector-memory-manage list
vector-memory-cleanup stats
From source:
uv run vector_memory.py
uv run manage_memory.py list
uv run cleanup.py stats
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"vector-memory": {
"command": "uvx",
"args": ["mcp-server-vector-memory"]
}
}
}
Codex CLI (~/.config/codex/mcp_config.toml):
[servers.vector-memory]
command = "uvx"
args = ["mcp-server-vector-memory"]
See USAGE.md for complete integration examples and advanced configuration.
You can customize the server using environment variables or by editing vector_memory.py:
REDIS_URL: Redis connection string (default: redis://localhost:6379/0)redis://host:port/db_numberredis://localhost:6379/1 (use database 1)INDEX_NAME: Vector store index name (default: mcp_vector_memory)MODEL_NAME: Embedding model (default: sentence-transformers/all-MiniLM-L6-v2)The server uses multiple layers of isolation:
mcp_vector_memory:*This ensures your vector memory data won't conflict with other Redis applications.
┌─────────────────┐
│ Claude/Client │
└────────┬────────┘
│ MCP Protocol
│
┌────────▼────────┐
│ Vector Memory │
│ MCP Server │
└────────┬────────┘
│
├─────► HuggingFace Embeddings
│
└─────► Redis Vector Store
Two management tools are included:
vector-memory-manage - Interactive tool with search and selective deletionvector-memory-cleanup - Quick cleanup commandsSee USAGE.md for complete documentation and examples.
To run in development mode with auto-reload:
uv run --reload vector_memory.py
Ensure Redis is running:
redis-cli ping
# Should return: PONG
The first time you run the server, it will download the embedding model (~80MB). This is normal and only happens once.
The server accepts both absolute and relative file paths, but automatically converts them to absolute paths for storage. If a file is not found, check that the path is correct relative to where the server is running.
/full/path/to/file.txt) and relative (./docs/file.txt) pathsrecall_from_memory always returns absolute paths to source filesThis ensures consistent path references regardless of how files were originally added to memory.
Выполни в терминале:
claude mcp add vector-memory-mcp-server -- npx Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolProvides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzНе уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai