Toon Memory
개요
제작자가 쓴 설명(영어 원문)
Offline persistent memory for AI coding agents — 35 tools, 80% fewer calls, no LLM
PopNx MCP의 세 기둥
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
- 사용자 의견i아직 리뷰가 없어요리뷰는 다음 단계에서 계정 기능과 함께 열려요
- 우리의 기본 점검i2개 중 2개 통과공개된 정보로 점검했으며, 코드는 아직 스캔하지 않았어요
- 사용 정도i아주 새로움↓ 98/주 · ★ 12
할 수 있는 일
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
- 연결 방식: 내 컴퓨터에서 실행
- 전송 방식: stdio
- 카테고리: 검색 및 AI 기억
- 입력해야 할 값: TOON_MEMORY_KEY, GITHUB_TOKEN
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
설치하기 전에
- 기본 점검: 2개 중 2개 통과
- 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
- 직접 입력할 값:
TOON_MEMORY_KEY,TOON_MEMORY_CAPTURE,TOON_MEMORY_SESSION_ID,TOON_MEMORY_BRANCH,TOON_MEMORY_NO_SESSION,GITHUB_TOKEN
비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 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"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add 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 mcp실행하기 전에 빈 값을 채워 주세요.
또는 설정을 직접 복사하기
프로젝트의 .cursor/mcp.json 또는 ~/.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"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
또는 설정을 직접 복사하기
프로젝트의 .vscode/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"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
직접 입력할 값
- Encryption key for AES-256-GCM memory encryption
TOON_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 tracking- GitHub personal access token for exporting/importing memory to Gist
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
어떤 앱에서 쓸 수 있나요
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 11일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 LuiggiVal08 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ✓ 통과
계속 관리되고 있음
코드 마지막 변경: 3개월 전
- … 아직 점검 안 함
라이선스 있음
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
검색 및 AI 기억 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 5867개 중 92%보다 스타가 많아요
- 이 카테고리의 다른 서버 5867개 중 27%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 5867개 중 100%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
Toon Memory, 안전한가요?
해당하는 기본 점검 2개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
입력해야 할 값: TOON_MEMORY_KEY, GITHUB_TOKEN
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 3개월 전 변경됐고, 최신 버전(4.3.5)은 3개월 전 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
대신 쓸 수 있는 건 뭐가 있나요?
같은 카테고리에는: Ruflo, Context7, Metabase
대안
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
제작자의 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