Toon Memory
What it does
Offline persistent memory for AI coding agents — 35 tools, 80% fewer calls, no LLM
- Connects パソコンで動く
- Account or key Needs TOON_MEMORY_KEY, GITHUB_TOKEN
- Category 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
Toon Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
Toon Memory に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "toon-memory": { "command": "npx", "args": [ "-y", "toon-memory", "mcp" ], "env": { "TOON_MEMORY_KEY": "your-value", "TOON_MEMORY_CAPTURE": "your-value", "TOON_MEMORY_SESSION_ID": "your-value", "TOON_MEMORY_BRANCH": "your-value", "TOON_MEMORY_NO_SESSION": "your-value", "GITHUB_TOKEN": "your-value" } } } }キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude を終了してもう一度開く
試してみる
Toon Memory を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Toon Memory を使っていると言うか、回答に Toon Memory のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Toon Memory につなげません
Toon Memory はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Toon Memory につなげるアプリを使う
- Toon Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- Toon Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
- Toon Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
- Toon Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
Claude Code につなげますが、先に準備が必要です
Toon Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
Toon Memory に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user toon-memory --env TOON_MEMORY_KEY=your-value --env TOON_MEMORY_CAPTURE=your-value --env TOON_MEMORY_SESSION_ID=your-value --env TOON_MEMORY_BRANCH=your-value --env TOON_MEMORY_NO_SESSION=your-value --env GITHUB_TOKEN=your-value -- npx -y toon-memory mcpEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Toon Memory が一覧にあり、接続済みと表示されれば OK です
試してみる
Toon Memory を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Toon Memory を使っていると言うか、回答に Toon Memory のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Toon Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
Toon Memory に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーを入力
Toon Memory の設定で TOON_MEMORY_KEY, TOON_MEMORY_CAPTURE, TOON_MEMORY_SESSION_ID, TOON_MEMORY_BRANCH, TOON_MEMORY_NO_SESSION, GITHUB_TOKEN が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Toon Memory を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Toon Memory を使っていると言うか、回答に Toon Memory のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Toon Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
Toon Memory に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーを入力
Toon Memory の設定で TOON_MEMORY_KEY, TOON_MEMORY_CAPTURE, TOON_MEMORY_SESSION_ID, TOON_MEMORY_BRANCH, TOON_MEMORY_NO_SESSION, GITHUB_TOKEN が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Toon Memory を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Toon Memory を使っていると言うか、回答に Toon Memory のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user toon-memory --env TOON_MEMORY_KEY=your-value --env TOON_MEMORY_CAPTURE=your-value --env TOON_MEMORY_SESSION_ID=your-value --env TOON_MEMORY_BRANCH=your-value --env TOON_MEMORY_NO_SESSION=your-value --env GITHUB_TOKEN=your-value -- npx -y toon-memory mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"toon-memory": {
"command": "npx",
"args": [
"-y",
"toon-memory",
"mcp"
],
"env": {
"TOON_MEMORY_KEY": "your-value",
"TOON_MEMORY_CAPTURE": "your-value",
"TOON_MEMORY_SESSION_ID": "your-value",
"TOON_MEMORY_BRANCH": "your-value",
"TOON_MEMORY_NO_SESSION": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"toon-memory": {
"command": "npx",
"args": [
"-y",
"toon-memory",
"mcp"
],
"env": {
"TOON_MEMORY_KEY": "your-value",
"TOON_MEMORY_CAPTURE": "your-value",
"TOON_MEMORY_SESSION_ID": "your-value",
"TOON_MEMORY_BRANCH": "your-value",
"TOON_MEMORY_NO_SESSION": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"toon-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"toon-memory",
"mcp"
],
"env": {
"TOON_MEMORY_KEY": "your-value",
"TOON_MEMORY_CAPTURE": "your-value",
"TOON_MEMORY_SESSION_ID": "your-value",
"TOON_MEMORY_BRANCH": "your-value",
"TOON_MEMORY_NO_SESSION": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}自分で入力する値
TOON_MEMORY_KEY秘密 envEncryption key for AES-256-GCM memory encryptionTOON_MEMORY_CAPTUREenvSet to 'true' to enable activity capture hooksTOON_MEMORY_SESSION_IDenvOverride the auto-detected session IDTOON_MEMORY_BRANCHenvOverride the auto-detected git branch nameTOON_MEMORY_NO_SESSIONenvSet to disable session heartbeat trackingGITHUB_TOKEN秘密 envGitHub personal access token for exporting/importing memory to Gist
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- 98/週
- 接続方法
- パソコンで動く
- 最新バージョンi
- 4.3.5
- レジストリ公開日i
- 2026年8月5日
- コードの最終更新i
- 2026年8月5日
- 作者
- LuiggiVal08
- パッケージ
npm: toon-memory- ウェブサイト
- github.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月14日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント LuiggiVal08 で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:3 か月前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの6076件のうち93%よりスターが多い
- このカテゴリのほかの6076件のうち26%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6076件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Toon Memoryは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:TOON_MEMORY_KEY, GITHUB_TOKEN
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は3 か月前、最新バージョン(4.3.5)がレジストリに届いたのは3 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, OpenSEO
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
OpenSEO
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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
- Why TOON?
- Troubleshooting
- FAQ
- Development
- Contributing
- Security & Privacy
- License
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](https://luiggival08.github.io/toon-memory/)
Real-world use cases
| Scenario | What toon-memory does |
|---|---|
| Design debates | "We chose Redis over Memcached because of pub/sub support" |
| Framework choices | "This project uses Zod for validation, not Joi" |
| Bug fixes | "Redis pool exhaustion — fix was max_connections=20" |
| Architecture notes | "Broker service uses RESP protocol, not HTTP" |
| Onboarding | "The deploy script lives in scripts/deploy.sh" |
| Team context | "PR #142 reverted the caching change — don't re-add it" |
Blog Post
Read How toon-memory Makes Your AI Agent Smarter to see a real-world demo of persistent memory in action.
Features
- A complete memory toolkit — Full memory management via Model Context Protocol, including
memory_smart_recall(unified recall with session bias),memory_sessionsfor multi-session coordination,context_*tools for one-call context generation (briefing, diff, focus, health audit, export),memory_compress(LLM-powered compression),memory_consolidate(deterministic dedup/merge/cleanup),memory_primer(auto-injected context),memory_merge_sessions(cross-session merge),memory_pin/memory_unpin(pin important entries with priority 1-5),memory_checkpoint(session snapshot with 7d TTL),memory_search(unified search with tag filters + session bias),memory_tag(batch tag operations),memory_export_gist/memory_import_gist(GitHub Gist sync),memory_secret(encrypted secrets vault),memory_export_global/memory_import_global(cross-project conventions),memory_forget(soft/hard delete, restore, supersede),memory_reflect(staleness/quality reflection), andmemory_promote(auto-promote low-confidence drafts) - MCP Resources — Read memory as context without tool invocations, including a System Primer (auto-generated knowledge map)
- 22 agents supported — OpenCode, VS Code, Claude Code, Cursor, Windsurf, Cline, Continue, Codex CLI, Gemini CLI, Zed, Antigravity, Aider, KiloCode, OpenClaw, Kiro, Qwen, Kimi, Goose, Junie, Amp, Grok, Trae
- Interactive installer — Select which agents to configure from a menu
- SessionStart hooks — Auto-reminders for Claude Code, Codex CLI, Gemini CLI, Antigravity
- TOON format — 22% fewer tokens than JSON (measured), better LLM comprehension
- Per-project memory — Each project gets its own memory file
- Zero config — Just install and use
- Auto gitignore — Automatically adds
.toon-memory/memory/to.gitignore - Date filtering — Search memory by date range
- Auto-archive — Old entries (>30 days), expired TTL entries, or 100+ entries moved to archive automatically
- Encryption — AES-256-GCM encryption for sensitive data
- Watch mode — Auto-backup every N minutes
- Memory TTL — Configurable per-entry expiration (7d, 30d, or exact dates)
- Tag inference — Auto-detect tags from content when tags are empty (built-in vocabulary + project dependencies)
- Memory diff — See what changed since your last session
- Related entries — Auto-suggest related memories when saving
- Memory graph — Connect entries with
links/[[key]]refs;memory_recallcan expand a relationship-aware subgraph for more precise, lower-token recall (no embeddings, no LLM) - Token-efficient recall —
memory_recall({ compact: true })returns numeric-indexed entries, dropsid/date/file, renders graph edges as->2, and truncates graph neighbors to snippets - BM25 + centrality ranking — Recall re-ranks by BM25 relevance and graph centrality (hubs surface even without the query word); per-hop decay keeps distant nodes low
- Auto-tag from dependencies —
toon-memory initscanspackage.json/Cargo.toml/requirements.txt/go.modand writes a project vocabulary so entries mentioning a dependency get auto-tagged with it - Smart Recall —
memory_smart_recallcombines BM25 + graph + decay + quality in one call; the LLM calls this at the start of every task - Quality scoring — Every entry gets a 0–1 quality score based on structure (tags, links, content specificity, recency, access count); high-quality entries surface first
- Merge-dedup — Saving with the same
keymerges attributes (union of tags, max confidence, latest date, combined links) instead of overwriting - Near-duplicate detection — Consolidation detects near-duplicates via Jaccard similarity (threshold 0.7) and merges them
- Confidence score — Each entry tracks reliability: user-asserted = 1.0, inferred = 0.65–0.75
- LLM-powered compression —
memory_compressuses AI to summarize long entries;memory_consolidate(mode: "low-quality")does batch cleanup deterministically - Cross-session merge —
memory_merge_sessionsmerges observations across parallel sessions for a file - GitHub Gist sync —
memory_export_gistandmemory_import_gistsync memory entries via GitHub Gist (zero dependencies) - Verbatim mode —
config.verbatimpreserves original entries instead of overwriting on save - Context generation tools —
context_generate(full briefing),context_diff(incremental),context_focus(targeted),context_health(audit),context_export(markdown) — each replaces 5-6 manual tool calls. Zero LLM, pure deterministic aggregation - System Primer — Auto-injected at session start via
systemPrimer(), showing top 5 memories for instant context - Path Scoping — Entries can be scoped to file paths via glob patterns (
path_scope); recall filters by scope automatically - Budget Control — Three output levels:
budget: "tiny"(key+1 line, ~50 tokens),"normal"(compact with tags/edges),"deep"(all fields with origin/scope/status). Backward compatible withcompact: true - Origin Tracking — Each entry tracks its origin (
human,agent,inferred); human assertions get a quality boost - Soft Delete —
memory_forgetsoft-deletes by default (setsstatus=obsolete). Restore withmemory_forget(key, action: "restore"), hide withaction: "soft", permanent removal viaaction: "hard" - Enhanced Health Audit —
context_healthnow detects missing-evidence (path_scope without file) and stale-claims (overlapping content in same category) - Typed graph edges — Edges carry types (
superseded_by,supersedes,relates), written astype:keyin the graph. Explicitlinksbecomerelates:key, so you can tell *how* entries are related, not just that they are - RRF ranking — Recall fuses BM25 (×3) and graph-centrality ranks with Reciprocal Rank Fusion and an adaptive
k = clamp(3..60, round(sqrt(n))). Benchmark (8 gold queries): nDCG 0.776, MRR 0.917 — exact parity with the previous linear scoring. Passrrf: falseto fall back - Memory reflect —
memory_reflectranks entries by staleness, quality, and over-connection to surface what needs attention or cleanup. Deterministic, zero LLM - Memory supersede —
memory_forget(key, action: "supersede", new_key)marks an entry as replaced by a newer one (superseded_bylink +supersededOndate).memory_recall({ as_of })re-includes old entries for point-in-time queries before their supersession - Auto-promote —
memory_promotepromotes low-confidence drafts to active entries deterministically (threshold 0.65, Jaccard dedup), withdryRunby default - Explain WHY —
memory_recall/memory_smart_recallacceptexplain: trueand append a deterministic reason line to every returned entry (↳ 100% relevance · used 14× · used today · importance HIGH) — *why* it was retrieved, no LLM - Token budgets —
budget_tokenscaps the recall output by estimated token count; entries accumulate greedily and the tail that would exceed the budget is dropped (0= no limit) - Version supersession —
memory_consolidate(mode: "versions")detects entries describing the same subject at different library versions (e.g. "Use React 18" vs "Use React 19") and retires the older ones in favor of the newest - Negative memories — a
warningcategory for "do NOT do this" facts;warningentries get a recall boost so the agent sees the landmines before repeating them - Language + folder ranking — recall boosts entries written in the same script family (latin/CJK/cyrillic/…) and entries whose
path_scopematches the current file - Explicit importance —
memory_remember({ importance })setscritical,high,medium, orlow. Critical decisions surface first (+0.3), low notes stay out of the way (−0.1); empty = auto (recency + frequency). Re-saving keeps the higher level - Evidence layer — every
memory_remembersave is annotated with an evidence level:verifiedwhen its referenced file exists on disk,unverifiedwhen it doesn't,conflictwhen it overlaps a warning or critical/high decision. Conflicts get a +0.15 recall boost (verified +0.03, unverified −0.02) and a ⚠️ CONTRADICTION warning on save — but never block the write - Secrets vault —
memory_secretstores credentials in an encrypted sidecar (secrets.toon, AES-256-GCM) sodata.toonstays a readable open format while sensitive values never hit plaintext - Global memory import/export —
memory_export_globalwrites project memory to~/.toon-memory/memory/global.toon;memory_import_globalpulls cross-project conventions back with a one-shot, deterministic, offline merge (never a live dual source) - ~1 MB install — three tiny prompt packages (
@inquirer/checkbox/select/confirm); the MCP SDK, zod, and the TOON parser are bundled into the shipped binary — a singlenpm i -gdownloads ~1 MB (was ~14 MB) and lands ~4.4 MB on disk (was ~33 MB)
Installation
1. Install
# macOS / Linux
curl