MCP.so
Sign In

Context Mem

@JubaKitiashvili

About Context Mem

Your AI forgets everything between sessions. This fixes that — 98%+ retrieval accuracy, 100% on LongMemEval, 99% token savings. 44 MCP tools. Fully local, zero cost.

Basic information

Category

Memory & Knowledge

License

MIT

Runtime

node

Transports

stdio

Publisher

JubaKitiashvili

Submitted by

Juba

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "context-mem": {
      "command": "npx",
      "args": [
        "-y",
        "context-mem",
        "serve"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Context Mem?

Context Mem is a local MCP (Model Context Protocol) server that provides memory and context infrastructure for AI agents. It automatically remembers every tool call and compresses observations to save tokens, storing everything in a local SQLite database and a markdown vault. It is designed for developers using AI coding assistants like Claude Code, Cursor, Windsurf, VS Code Copilot, and others.

How to use Context Mem?

Install the package with npm i context-mem and run npx context-mem init to auto-configure for your editor. The server runs locally with no API keys or cloud account required.

Key features of Context Mem

  • Automatic memory ingestion into a markdown vault.
  • 14 content-aware summarizers for 99.1% token savings.
  • Hybrid retrieval with BM25, vector, and LLM reranking.
  • 45+ MCP tools for querying and managing memory.
  • Fully local: no cloud, no API keys required.
  • Adaptive compression with pinned entries staying verbatim.

Use cases of Context Mem

  • Retain project context across AI sessions to avoid re-explaining.
  • Comp

Comments

More Memory & Knowledge MCP servers