Memory Context MCP Server

Memory Context MCP Server

A Model Context Protocol (MCP) server that gives LLMs persistent, semantic memory using vector search with ChromaDB.

Category
Visit Server

README

Memory Context MCP Server

GitHub Repo Python 3.12+ License: MIT

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_memory as 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 /commands for manual database management.
  • Namespace Isolation — Memories are grouped by namespace to prevent cross-project leakage.
  • Security — Size limits, tag validation, and local-only storage.

Quick Start

1. Install Dependencies

pip install -r requirements.txt

2. Launch the CLI

python main.py

3. Launch as MCP Server (for LLM Clients)

python main.py --serve

CLI Commands

Command Description
/start Launch the MCP stdio server
/add <text> Store a memory (supports --tags t1,t2)
/search <query> Semantic search across memories
/stats View database statistics
/list List recent memories
/delete <id> Delete a memory by its ID
/clear Wipe all memories (with confirmation)
/namespace <name> Set the active namespace
/help Show help
/exit 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 CLI

License

MIT

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured