Memory Context MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Memory Context MCP Serverremember that I prefer dark mode in all my apps"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Memory Context MCP Server
A Model Context Protocol (MCP) server that gives LLMs persistent, semantic memory using vector search.
Built with Python, ChromaDB, and the official MCP SDK, this server allows AI models to store, search, update, and delete knowledge — and recall it across sessions using cosine-similarity vector search, not just keyword matching.
Features
Vector Search — Semantic similarity search powered by
sentence-transformers(runs 100% locally).MCP Protocol — Exposes
store_memory,search_memory,update_memory,delete_memoryas MCP tools.MCP Prompts — Slash-command style prompts (
recall_topic,memory_summary,recall_session) for compatible LLM clients.Interactive CLI — A polished terminal interface with
/commandsfor manual database management.Namespace Isolation — Memories are grouped by namespace to prevent cross-project leakage.
Security — Size limits, tag validation, and local-only storage.
Related MCP server: Chroma MCP Server
Quick Start
1. Install Dependencies
pip install -r requirements.txt2. Launch the CLI
python main.py3. Launch as MCP Server (for LLM Clients)
python main.py --serveCLI Commands
Command | Description |
| Launch the MCP stdio server |
| Store a memory (supports |
| Semantic search across memories |
| View database statistics |
| List recent memories |
| Delete a memory by its ID |
| Wipe all memories (with confirmation) |
| Set the active namespace |
| Show help |
| Exit the CLI |
MCP Client Configuration (Claude Desktop)
Add this to your Claude Desktop claude_desktop_config.json:
{
"mcpServers": {
"memory-context-server": {
"command": "python",
"args": ["main.py", "--serve"],
"cwd": "/path/to/MCP - SERVER"
}
}
}Architecture
MCP - SERVER/
├── main.py # Entry point (CLI or --serve)
├── requirements.txt # Python dependencies
├── .gitignore
├── README.md
├── chroma_data/ # ChromaDB persistent storage (auto-created)
└── src/
├── __init__.py
├── config.py # Constants and security limits
├── db.py # ChromaDB vector database layer
├── mcp_server.py # MCP tools & prompts
└── cli.py # Interactive terminal CLILicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote ChromaDB vector database MCP server with streamable HTTP transport
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Persistent memory for AI agents — log and recall conversation context over MCP.
Shared cross-LLM long-term memory over MCP: semantic recall, sessions, and media (pgvector).
Related MCP Servers
- AlicenseAqualityCmaintenanceA Model Context Protocol server providing vector database capabilities through Chroma, enabling semantic document search, metadata filtering, and document management with persistent storage.641MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server integration that creates a persistent, searchable working memory for AI-assisted development by enabling automated context recall and knowledge persistence in Chroma, the open-source embedding database.27 PyPI24MIT
- FlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides persistent memory capabilities using OpenAI's vector stores, allowing AI assistants to save and search through memories across conversations.2-
- AlicenseNot gradedqualityCmaintenancePersistent semantic memory server for AI assistants via MCP, enabling long-term context retention and semantic search across conversations.11MIT