Skip to main content
Glama
amoghsamadhiya779-afk

Memory Context MCP Server

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.


Related MCP server: Chroma MCP Server

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

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    A Model Context Protocol server providing vector database capabilities through Chroma, enabling semantic document search, metadata filtering, and document management with persistent storage.
    Last updated
    6
    41
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A 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.
    Last updated
    25
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    A 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.
    Last updated
    2
  • A
    license
    -
    quality
    C
    maintenance
    Persistent semantic memory server for AI assistants via MCP, enabling long-term context retention and semantic search across conversations.
    Last updated
    11
    MIT

View all related MCP servers

Related MCP Connectors

  • Remote ChromaDB vector database MCP server with streamable HTTP transport

  • User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.

  • Local-first RAG engine with MCP server for AI agent integration.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amoghsamadhiya779-afk/MCP-SERVER'

If you have feedback or need assistance with the MCP directory API, please join our Discord server