Skip to main content

What is MemContext?

MemContext is memory infrastructure for AI agents and applications. It provides a REST API and MCP server that allow AI systems to:
  • Save durable user and project knowledge across sessions
  • Search memories using hybrid retrieval (vector + full-text)
  • Evolve memories over time with automatic version chains
  • Profile users with pre-aggregated context from their memory

Who is it for?

MemContext serves two primary use cases:
  1. Coding assistants that need stable preferences, decisions, and project context across sessions
  2. Product applications that need evolving memory for content generation, support, onboarding, or personalization

Core primitives

ConceptDescription
CategoryBroad memory type: preference, fact, decision, or context
ProjectScope boundary for project-specific memories
Version chainsMemories can supersede old memories without losing history
Hybrid searchVector similarity + keyword search merged with Reciprocal Rank Fusion
MCP toolsAI assistants can save and search memory directly via Model Context Protocol

Why it exists

Plain vector search is not enough for memory. Memory needs:
  • Updates when reality changes
  • History when strategy evolves
  • Exact-match retrieval for product names, org names, and decisions
  • Lightweight APIs other tools can build on

Next steps

Quickstart

Make your first API and MCP calls in under 2 minutes.

How It Works

Understand the save flow, classification, and search pipeline.

API Reference

Full endpoint documentation with interactive examples.

MCP Setup

Connect MemContext to Claude Desktop, Cursor, or any MCP client.