MCP Memory Service

Product · Self-hosted / on-prem software by Glen

Open-source, self-hosted memory server for AI agents with hybrid search and entity graphs.

MCP Memory Service is a self-hosted Python memory server designed to provide persistent storage and retrieval for AI agents. It utilizes a hybrid search approach combining vector similarity and BM25, supported by an entity graph for complex data relationships. The service can be deployed locally using SQLite or scaled with backends like Milvus and Cloudflare. It exposes 28 specialized tools through the Model Context Protocol (MCP), enabling agents to store sessions, harvest decisions from transcripts, and manage mistake notes. This open-source tool is particularly suited for developers who req

Price
From 0 USD
Languages
Python
License
Apache 2.0
Search Modes
Semantic, Exact, Time-based
Storage Backends
sqlite_vec, cloudflare, hybrid, milvus
Number of Tools
28
API Port
8000
Language
Python

Overview

MCP Memory Service is a self-hosted Python memory server designed to provide persistent storage and retrieval for AI agents. It utilizes a hybrid search approach combining vector similarity and BM25, supported by an entity graph for complex data relationships. The service can be deployed locally using SQLite or scaled with backends like Milvus and Cloudflare. It exposes 28 specialized tools through the Model Context Protocol (MCP), enabling agents to store sessions, harvest decisions from transcripts, and manage mistake notes. This open-source tool is particularly suited for developers who require full control over their agent's memory infrastructure without a paid tier.

Core Features

  • Hybrid Search: Uses a hybrid of vector similarity and BM25 for precise and semantic retrieval.
  • Entity Graph Extraction: Extracts entities into a graph with typed associations for complex relationship traversal.
  • Scheduled Consolidation: Automates clustering, compression, and controlled forgetting of older or contradictory memories.
  • Flexible Backends: Supports SQLite with sqlite-vec, Cloudflare, or Milvus as storage backends.
  • 28 MCP Tools: Exposes 28 tools over stdio or Streamable HTTP for memory storage, search, and maintenance.

Developer Tools

  • memory_harvest: Extracts decisions, bugs, and conventions from Claude Code transcripts.
  • memory_ingest: Ingests PDF, text, Markdown, or JSON files and directories as chunked memories.
  • get_bootstrap_profile: Builds behavioral context profiles for short-lived or ephemeral agents.
  • mistake_note_add: Records mistake patterns with wrong and correct actions to prevent repeats.

Pricing

Self-hosted
Free (Apache 2.0)

Specifications

License
Apache 2.0
Search Modes
Semantic, Exact, Time-based
Storage Backends
sqlite_vec, cloudflare, hybrid, milvus
Number of Tools
28
API Port
8000
Language
Python

Added by AntSpace from public sources (tryglen.com).

Related

More products by Glen