Toon Memory logo

Toon Memory

Offline MCP memory for coding agents with graph recall, context briefings, session coordination, encryption, and persistent project knowledge.

Install Toon Memory

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "toon-memory": {
      "command": "npx",
      "args": [
        "-y",
        "toon-memory",
        "mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio toon-memory -- npx -y toon-memory mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 13 tools correctly ().

Overview

Toon Memory is an MCP server for storing and retrieving project knowledge across AI coding sessions using local per-project memory files. Its tools cover memory capture, smart recall, graph relationships, lifecycle management, context generation, session coordination, backups, and optional encryption. Deterministic context tools combine memory, Git state, files, and active sessions without an LLM, while compression can use an available Anthropic or OpenAI CLI. Reach for it when agents need persistent project decisions, conventions, bug history, or handoff context without sending memory to a hosted service.

Use cases

  • Save architecture decisions and rejected approaches for later sessions
  • Recall project conventions before reading source files
  • Generate handoff context for parallel coding sessions
  • Track bug fixes, warnings, and file-specific knowledge
  • Share selected conventions through GitHub Gists or global memory

Key features

  • Persistent per-project memory in local TOON files
  • BM25, graph, decay, quality, and session-aware recall
  • Deterministic context briefings and incremental diffs
  • TTL, archiving, deduplication, consolidation, and checkpoints
  • AES-256-GCM memory and secrets encryption
  • GitHub Gist and cross-project memory synchronization

Tools13

What Toon Memory lets your agent do. Expand a tool for its parameters.

Verified live~3.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/19 checks healthy over the last 117d

What it can do

From the 13 tools this server returned when we ran it; 13 declare their own safety hints.

Can delete or modify data · 1Makes changes · 8Handles credentials · 1Read-only tools · 5
Network at startup3 connections
Files written at startup1
Install scriptsNone
npm provenanceSigned build
Package age143 days
Maintainers1

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · toon-memory (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars12Stargazers on the source repository.
npm downloads637Package downloads in the last 30 days.
Last commit8d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed13Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Toon Memory works

What Toon Memory does

Toon Memory gives AI coding agents persistent, project-scoped memory over MCP. It stores decisions, patterns, bug fixes, warnings, architecture notes, and other knowledge so later sessions can retrieve them instead of rebuilding the same context. Each project has its own memory file, and the server can also exchange selected entries through GitHub Gists or a shared global memory file.

The memory model includes tags, confidence, origin, quality, status, expiration, and optional file-path scope. Saving an existing key merges attributes rather than blindly replacing the entry, while related entries can be connected into a knowledge graph. Warnings are treated as a distinct kind of negative guidance and receive a recall boost.

How it works

Use memory_smart_recall at the start of a task for a combined search across BM25 relevance, graph relationships, decay, quality, and optional branch bias. memory_recall supports graph expansion and compact output budgets, and context_compile, context_brief, and context_generate assemble task or project context from several sources in one operation. Exact entries can be fetched with context_hydrate.

The server records project memory locally in TOON format, which is designed to use fewer tokens than JSON. It does not require a hosted service or an LLM for ordinary storage, search, graph traversal, cleanup, or context aggregation. memory_compress is the exception: it can use an available Anthropic or OpenAI CLI to summarize and overwrite long entries, or return a prompt for manual compression.

Session-oriented tools track active branches, files, last-seen activity, and soft conflicts. Checkpoints create snapshots with a seven-day TTL, while merge tools combine observations from parallel sessions. Git changes and memory changes can be assembled into full or incremental briefings.

Setup and configuration

Installation uses an interactive installer that lets you select which supported coding agents to configure. The project describes a zero-configuration starting point and automatically adds .toon-memory/memory/ to .gitignore. Supported agents include Cursor, VS Code, Claude Code, Windsurf, Cline, Continue, Codex CLI, Gemini CLI, and Zed, among others.

Memory entries can have a seven-day, 30-day, or exact-date TTL. Older entries, expired entries, and large collections can be archived automatically. A watch mode can create backups at configured intervals. AES-256-GCM encryption is available for memory, and the separate encrypted secrets vault keeps sensitive values outside the readable data file. Set TOON_MEMORY_KEY when using the secrets vault.

Tools and capabilities

  • Save, search, suggest, summarize, tag, pin, restore, supersede, archive, and permanently remove memory entries.
  • Combine BM25 search with graph centrality, decay, quality scoring, session bias, and token budgets.
  • Create project primers, task context packets, full briefings, focused context, health information, and change-based briefings.
  • Track parallel sessions, merge observations by file, create checkpoints, and inspect captured hook activity.
  • Deduplicate identical or similar entries and remove low-quality entries through deterministic consolidation.
  • Back up memory locally, export or import entries through public or private GitHub Gists, and share conventions through global memory.
  • Protect memory and secrets with AES-256-GCM encryption.

Limitations and notes

Memory recall is based on textual ranking and graph relationships rather than embeddings. Automatic compression depends on an available Anthropic or OpenAI CLI; otherwise the tool supplies a prompt for manual work. GitHub Gist synchronization uses GITHUB_TOKEN or the gh CLI. Session-start hooks are available for Claude Code, Codex CLI, Gemini CLI, and Antigravity, while the broader agent list can be configured through the installer.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Toon Memory

Toon Memory is an MCP server that connects AI coding agents to local per-project memory files and optional GitHub Gist or global memory. Its main tools save and recall knowledge, generate task context, coordinate sessions, manage lifecycle operations, create backups, and protect sensitive data with encryption.

Use its interactive installer to choose which supported coding agents to configure. The project is designed to start with zero configuration, creates per-project memory, and adds the memory directory to `.gitignore` automatically.

Yes, Cursor is one of the supported agents. The installer can configure supported agents, including Cursor, VS Code, Claude Code, Windsurf, Cline, Continue, Codex CLI, Gemini CLI, and Zed.

Set `TOON_MEMORY_KEY` when using the encrypted secrets vault. Toon Memory stores vault data in `secrets.toon` with AES-256-GCM, keeping sensitive values separate from the readable memory file.

Yes, ordinary storage, recall, graph traversal, cleanup, and context aggregation work without an LLM. The optional `memory_compress` tool can use an Anthropic or OpenAI CLI for summarization, or return a prompt for manual compression.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewToon Memory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/toon-memory?style=directory)](https://allmcps.com/mcp/toon-memory)
HTML Embed
<a href="https://allmcps.com/mcp/toon-memory"><img src="https://allmcps.com/api/badge/toon-memory?style=directory" alt="Toon Memory on AllMCPs" /></a>