Ctx Memory

v1.0.0Knowledge & Memorystable

A fully local persistent memory layer for LLM coding agents (Claude Code, Codex, Gemini CLI, OpenCode). A shell wrapper intercepts tool invocations, fires hooks on every tool call, then runs a 3-layer pipeline (extract → compress to ≤500-token digest

ctx-memorymcpai-integration
Share:
0
Stars
0
Downloads
0
Weekly
0/5

What is Ctx Memory?

Ctx Memory is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to fully local persistent memory layer for llm coding agents (claude code, codex, gemini cli, opencode). a shell wrapper intercepts tool invocations, fires hooks on every tool call, then runs a 3-layer p...

A fully local persistent memory layer for LLM coding agents (Claude Code, Codex, Gemini CLI, OpenCode). A shell wrapper intercepts tool invocations, fires hooks on every tool call, then runs a 3-layer pipeline (extract → compress to ≤500-token digest

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A fully local persistent memory layer for LLM coding agents

Use Cases

Add persistent local memory to LLM coding agents like Claude Code and Gemini CLI. Intercept tool invocations and manage compressed token digests (≤500 tokens). Run hooks on every tool call.
GhadiSaab

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedN/A
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ctx-memory

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

Frequently Asked Questions about Ctx Memory

What is Ctx Memory?

Ctx Memory is a Model Context Protocol (MCP) server that fully local persistent memory layer for llm coding agents (claude code, codex, gemini cli, opencode). a shell wrapper intercepts tool invocations, fires hooks on every tool call, then runs a 3-layer pipeline (extract → compress to ≤500-token digest It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Ctx Memory?

Follow the installation instructions on the Ctx Memory GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Ctx Memory?

Ctx Memory works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Ctx Memory free to use?

Yes, Ctx Memory is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ctx-memory": { "command": "npx", "args": ["-y", "ctx-memory"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Ctx Memory?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides