Toon Memory MCP server
io.github.LuiggiVal08/toon-memory·v4.3.5·11 starsOffline persistent memory for AI coding agents — 35 tools, 80% fewer calls, no LLM
11 stars119 downloads/wk
Reviews
Write oneNobody has reviewed Toon Memory yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Toon Memory tools (37, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
context_briefGenerate a compact context briefing: relevant memory + active sessions + project health. Single call instead of 5-6 separate calls. Zero LLM, pure deterministic logic.
context_diffWhat changed since the last session: git commits + modified files + new/updated memory entries. Zero LLM.
context_exportExport all memory as markdown injectable for other agents or sessions. Full (detailed) or compact format. Zero LLM.
context_focusHyper-focused context for a specific task: relevant entries + related files + code referencing the symbol + existing tests. Zero LLM.
context_generateGenerate a full system prompt: project (package.json, deps, framework) + git (branch, commits) + memory (relevant entries) + sessions. Single call to prepare the agent. Zero LLM.
context_healthFull memory health audit: orphan links, duplicates, broken refs, expired TTL, quality, stale sessions. Includes score 0-100. Zero LLM.
memory_archiveMove old entries (>30 days) to archive.toon to keep memory clean.
memory_backupwrite actionCreate a timestamped backup of the memory file. Use before major operations or to preserve state.
memory_capturedShow activity log captured automatically by hooks (only if capture is enabled). Useful for promoting observations to memory with memory_remember.
memory_checkpointSave or update a session checkpoint with 7-day TTL. Creates a knowledge entry snapshot of the current session state. Same session = upsert (single checkpoint per session). Auto-expires.
memory_compressLLM-powered compression: select entries to compress into one concise entry. The agent (YOU) reads the entries, writes a compressed summary, then calls memory_remember to save it. Two-step dance: this tool provides context, you provide intelligence.
memory_consolidateCleanup operations, all deterministic (no LLM): identical removes duplicate entries (keeps the first), similar merges entries with >50% word overlap (keeps longer content, combines tags), low-quality removes entries below minQuality or without tags, versions marks entries describing the same subject with older versions obsolete in favor of the newest.
memory_decryptDisable encryption and decode memory.
memory_diffShow what changed in memory since a date. Useful for seeing what was learned since the last session.
memory_encryptEnable AES-256-GCM encryption for memory. Requires TOON_MEMORY_KEY in environment.
memory_export_gistExport memory to a private GitHub Gist for cloud sync. Requires GITHUB_TOKEN env var. Zero deps \u2014 uses Node's built-in fetch().
memory_export_globalwrite actionWrite the current project memory to the global memory file (~/.toon-memory/memory/global.toon, or TOON_MEMORY_GLOBAL_FILE). One-shot: the global file is a plain TOON document you curate and import into other projects with memory_import_global.
memory_forgetLifecycle operations for a memory entry: soft (default) marks it obsolete and hides it from recalls, hard permanently removes it, restore brings it back to active, supersede retires it with a typed superseded_by edge to a newer entry.
memory_graph_pathFind the shortest path between two memory entries in the knowledge graph. Shows how two concepts are connected through related entries.
memory_import_gistImport memory from a GitHub Gist. Merges entries (keeps newer dates, combines tags). Requires GITHUB_TOKEN env var.
memory_import_globalMerge cross-project conventions from the global memory file (~/.toon-memory/memory/global.toon, or TOON_MEMORY_GLOBAL_FILE) into this project. One-shot merge by key: keeps newer dates, unions tags/links, preserves all fields. Deterministic and offline.
memory_merge_sessionsMerge observations from multiple sessions/branches into a consolidated view. Deduplicates and suggests entries to promote to memory. Inspired by Hindsight's multi-agent session merging.
memory_pinPin a memory entry with priority level (1-5). Higher priority entries appear first in recalls. Default: 1. Useful for critical decisions, project rules, or frequently-needed context.
memory_primerGenerate a compact system primer: always-current knowledge map for auto-injection into agent context. Excludes private entries, shows top memories by importance, categories, and patterns. Use at session start or when context feels stale.
memory_promoteHeuristic auto-promote from the capture log (no LLM). Each observation gets a deterministic confidence score; high-confidence ones promote as active entries, low-confidence (\u2264 minConfidence) become reviewable drafts. Opt-in: run with dryRun: true first.
memory_recallSearch the project's persistent memory. Returns relevant entries. Use BEFORE reading files. Pattern: recall \u2192 context_diff for recent changes \u2192 capture to save observations.
memory_reflectDeterministic memory audit (no LLM): tag co-occurrence themes, hub/orphan entries, near-duplicates, contradiction candidates, stale entries, and superseded-but-active entries. Signals what to link, merge, or retire.
memory_rememberSave a fact to the project's persistent memory (decisions, patterns, bugs, knowledge). Persists between sessions. Tags: 'private' excludes from context injection; 'superseded' marks as obsolete.
memory_searchSearch memory with combined filters: text query, category, tags, and date range. Returns ranked results.
memory_secretStore/retrieve secrets in the encrypted sidecar vault (secrets.toon, AES-256-GCM). Keeps data.toon readable and open while sensitive values stay encrypted at rest. Requires TOON_MEMORY_KEY. 'store' encrypts, 'get' decrypts, 'list' shows metadata only (no values), 'forget' removes.
memory_sessionsShow active agent sessions in this project (git branch, files touched, last-seen) and detect soft conflicts (files touched by 2+ sessions). Use at startup to avoid overwriting other parallel sessions' work.
memory_smart_recallUnified retrieval: combines BM25 + graph + decay + quality in a single call. Use at the START of each task to get all relevant memory context. Then use context_diff for recent changes, context_focus for deep dives.
memory_statsShow project memory statistics.
memory_suggestSuggest memory entries related to a given context. Useful for gathering context before a task.
memory_summarySave or retrieve a summary of a large file to save tokens.
memory_tagBatch add, remove, or set tags on one or more memory entries by key or id.
memory_unpinwrite actionRemove the pin from a memory entry so it returns to normal ranking.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan60 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 50 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.evalmcp/server.js: …ode, sch); const makeValidate = new Function(`${names_1.default.self}`, `${names_1.de…
How Toon Memory compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 71/100
- higher than 38% of 4,460 AI and agents servers
- Tools
- 37
- the typical AI and agents server has 6
- Tools that change things
- 8%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 11
- more than 85% of 2,711 AI and agents servers
- Downloads a week
- 119
- more than 67% of 1,538 AI and agents servers with a package
What its tools let an agent do: 34 read · 3 change
Install Toon Memory in Claude Code, Cursor or VS Code
Runs npx -y toon-memory on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add toon-memory -- npx -y toon-memory
What the publisher says
From the Toon Memory repository's README, as published. We do not edit it. Read it on GitHub
English | Español | 中文 | 日本語 | 한국어 | Português (BR) | Deutsch | Français
toon-memory
The Continuity Layer for AI Agents — AI agents shouldn't have to relearn your project every session.
Table of Contents
- Overview
- Blog Post
- Features
- Installation
- Supported Agents
- MCP Tools
- Coordinación multi-sesión
- Memory Graph (recall basado en grafo)
- Tips & Best Practices
- CLI Commands
- Configuration
- How It Works
Overview
Ever had that feeling where your AI agent forgets everything from yesterday's session? You explain the same architecture decision for the third time, and it still suggests the approach you already rejected?
toon-memory fixes this. It's the Continuity Layer for AI Agents — a lightweight system that preserves your project's knowledge, decisions, and conventions across sessions, so every session starts where the last one ended. Fully local and private, over MCP — no cloud, no server.
📖 Read the documentation
Real-world use cases
Blog Post
Read How toon-memory Makes Your AI Agent Smarter to see a real-world demo of persistent memory in action.
Features
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Toon Memory: common questions
- Is Toon Memory MCP server safe?
- Mostly: it is graded B (71/100). Read the Toon Memory safety report
- How do I install Toon Memory?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Toon Memory need an API key?
- Yes. The registry entry asks for
TOON_MEMORY_KEY,GITHUB_TOKEN. - Is Toon Memory maintained?
- The last commit was 91 days ago (2026-08-05). The latest release is v4.3.5.
- What can I use instead of Toon Memory?
- Servers from other publishers that do the same job: Total Agent Memory MCP server, Memanto MCP server and Serena MCP: the IDE for your agent MCP server.
- How does Toon Memory compare with other AI and agents MCP servers?
- safety score 71/100 (higher than 38% of 4,460 AI and agents servers); tools 37 (the typical AI and agents server has 6); tools that change things 8% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Toon Memory
Same job from other publishers: the closest match first, then the best rated.
- Total Agent MemoryPersistent local memory for coding agents: temporal knowledge graph, procedural and episodic recallnot reviewedEstablishedA
- MemantoMCP server for Memanto - persistent semantic memory for any MCP-compatible agentnot reviewedEstablishedA
- Serena MCP: the IDE for your agentA powerful toolkit for coding, providing semantic retrieval and editing capabilities.not reviewedWidely usedC
- Figma ContextGive your coding agent access to your Figma data. Implement designs in any framework in one-shot.not reviewedWidely usedB
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB