Solves Claude's session amnesia by storing persistent memories locally as JSON files in your home directory. Exposes 8 free tools for learning facts from conversations, recalling context ranked by relevance, and saving checkpoints you can resume from later. Pro tier adds 12 more including project indexing, token monitoring, and a change scope guard that confirms edits to protected files. Installs via npx and auto-configures both Claude Desktop and Claude Code. All data stays local, no cloud sync. Useful when you're working on long-running projects where Claude needs to remember architectural decisions, gotchas, and context across multiple sessions without burning tokens on repeated explanations.
Claude forgets everything between sessions. Clarik fixes that.
Memory that persists · Context that stays lean · Sessions that never die
Get Started · All 20 Tools · How It Saves You Money · Go Pro
npx clarik install
That's it. Clarik detects Claude Desktop and Claude Code, configures both, and starts working silently in the background.
╔═══════════════════════════════════════╗
║ Welcome to Clarik ║
║ Clarity and memory for Claude. ║
╚═══════════════════════════════════════╝
✅ Detected: Claude Desktop
✅ Detected: Claude Code
✅ Checking compatibility...
✅ Done. Clarik is active.
Open Claude and start chatting. Clarik remembers everything.
Clarik is an MCP server that silently fixes the biggest problems developers have with Claude:
| Problem | How Clarik Fixes It |
|---|---|
| 🧠 Claude forgets everything between sessions | Persistent memory — facts, decisions, and gotchas survive forever |
| 📄 Context fills up and quality drops | Intelligent injection — only the most relevant memories are loaded |
| 💸 Repeating context wastes tokens | Token optimization — saves $47–73/month on API costs |
| 🔄 Lost progress when context fills up | Checkpoints — save and resume exactly where you left off |
| 🗂️ Memories from one project leak into another | Project isolation — each repo has its own memory space |
| ⚠️ Claude edits files it shouldn't | Repo guard — protected files require your confirmation |
| 🤔 Claude assumes instead of asking | Assumption checker — flags unverified claims |
| Tool | What It Does |
|---|---|
clarik_memory_learn | Extract and store facts from conversations. Strips thinking blocks. |
clarik_memory_recall | Retrieve relevant memories ranked by relevance, recency, and importance. |
clarik_memory_list | Show all memories for the current project. |
clarik_memory_edit | Update a specific memory fact. |
clarik_memory_clear | Clear memories by category or all. |
clarik_context_trim | Intelligent memory injection within a token budget. |
clarik_checkpoint_save | Save a structured snapshot of your session state. |
clarik_checkpoint_resume | Resume from a checkpoint — pick up exactly where you left off. |
| Tool | What It Does |
|---|---|
clarik_project_index | File-to-purpose map — Claude understands your entire codebase. |
clarik_token_monitor | Live token usage tracking. Warns at 70% context. |
clarik_memory_archive | Move stale memories to archive. Keeps active memory fast. |
clarik_conflict_resolver | Surface and resolve contradicting memories. |
clarik_change_scope_guard | Protected file confirmation before edits. |
clarik_assumption_checker | Flag when Claude assumes instead of asking. |
clarik_diff_reviewer | Structured diff review with explanations. |
clarik_hallucination_detector | Cross-check claims against your actual code. |
clarik_decision_timeline | Track architectural decisions with dates and reasons. |
clarik_prompt_library | Save and reuse prompt templates. |
clarik_session_search | Full-text search across past sessions. |
clarik_export_session | Export session data as JSON or Markdown. |
Clarik's intelligent memory injection means Claude processes fewer redundant tokens.
| Without Clarik | With Clarik | |
|---|---|---|
| Input tokens/session | ~800K | ~320K |
| Cost per session | ~$3.90 | ~$1.50 |
| Monthly cost (20 days) | ~$78/mo | ~$5–31/mo |
| Monthly savings | — | $47–73/mo |
Clarik Pro costs $20 once.
Saves $47–73/month.
Pays for itself in 8 days.
| Tier | Price | What You Get |
|---|---|---|
| Free | $0 forever | 8 core tools — memory, context, checkpoints |
| Pro Lifetime | $20 | All 20 tools. One payment. Forever. |
| Pro Monthly | $8/mo | All 20 tools. Cancel anytime. |
Already have a key?
npx clarik activate YOUR-KEY
Clarik includes four safety modes to match your workflow:
| Mode | Memory | Guards | Best For |
|---|---|---|---|
| Safe (default) | ✅ On | ✅ Active | Normal development |
| Strict | ✅ On | 🔒 Confirm all | Production code, sensitive repos |
| Minimal | ❌ Off | ❌ Off | Maximum privacy, quick tasks |
| Creative | ✅ On | 🟡 Relaxed | Prototyping, exploration |
npx clarik install # Install into Claude Desktop + Claude Code
npx clarik activate KEY # Unlock Pro tools with license key
npx clarik status # Show plan, tools, savings, grace period
npx clarik upgrade # Open clarik.dev/pro in browser
npx clarik uninstall # Clean removal from all configs
Your data never leaves your machine.
~/.clarik/No. Everything stays on your machine. Clarik stores memories as local JSON files. The only network request is license validation via Gumroad (Pro users, once/day).
Yes. The installer detects and configures both automatically.
Clarik can save a checkpoint of your current session — goal, progress, decisions,
next steps. Start a fresh session and resume instantly with clarik_checkpoint_resume.
Yes. Free tools work offline always. Pro tools have a 5-day offline grace period after your last successful license check.
Yes. Full Windows support with automatic cmd /c wrapper for stdio compatibility.
Also works on macOS and Linux.
No. All tools are prefixed with clarik_ to prevent naming conflicts.
Yes. Use clarik_memory_list to see all stored memories, or browse the JSON
files directly in ~/.clarik/projects/.
npx clarik uninstall # Remove from Claude configs
rm -rf ~/.clarik/ # Delete all stored data
| Platform | Status |
|---|---|
| macOS | ✅ Fully supported |
| Windows | ✅ Fully supported (cmd /c wrapper) |
| Linux | ✅ Fully supported |
| Claude Desktop | ✅ Auto-configured |
| Claude Code | ✅ Auto-configured |
npx clarik status~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonClarik includes a 30-second heartbeat ping to keep the connection alive. If you still experience disconnects:
~/.clarik/ directory permissionsCLARIK-XXXX-XXXX-XXXX<thinking>, <antml-thinking>)When recalling memories, Clarik scores each fact:
score = (relevance × 0.5) + (recency × 0.3) + (importance × 0.2)
Only the highest-scoring facts are injected into context — never everything at once.
Each project gets its own memory space, derived from:
git remote URL → workspace root → package.json name
React project memories never appear in your Python project.
Clarik is an independent, community-built tool. It is not affiliated with, endorsed by, or associated with Anthropic PBC in any way.
Claude® is a registered trademark of Anthropic PBC. All references to Claude, Claude Desktop, and Claude Code are for compatibility identification purposes only.
Token cost savings are estimates based on typical developer usage patterns. Actual savings depend on your workflow, model choice, and usage volume.
Clarik stores all data locally on your device. No data is transmitted to any server except the Anthropic API using your own API key.
Provided as-is without warranty of any kind.
Full terms: https://clarik.dev/terms
Built for developers who use Claude every day.
io.github.ericm1018/skillfm-llm-cost-optimizer-openai-anthropic-usage
io.github.mikerawsonnz/llm-orchestration-agent
io.github.mikerawsonnz/authenticated-llm-agent
labforgedev/copilot-memory-mcp
csoai-org/agent-prompt-injection-firewall-mcp
io.github.mikerawsonnz/authenticated-multi-llm-agent