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.
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
Basic information
More Memory & Knowledge MCP servers

Memory
modelcontextprotocolModel Context Protocol Servers
Obsidian MCP Server
cyanheadsRead, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP. STDIO or Streamable HTTP.
Docs MCP Server
araboldGrounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools
📓 GistPad MCP
lostintangent📓 An MCP server for managing your personal knowledge, daily notes, and re-usable prompts via GitHub Gists
minutes
silversteinEvery meeting, every idea, every voice note — searchable by your AI. Open-source, privacy-first conversation memory layer.
Comments