Clarik Mcp Server

io.github.Mikerichardmail由 GitHub 账号 Mikerichardmail 发布v0.1.1更新于 Oct 24, 2026

Clarity and memory persistent workspace context manager for Claude.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

本地 MCP 服务器,为 Claude 提供按项目隔离的持久记忆与检查点工作区,让上下文跨会话保留。

可以做什么
  • 保存、列出并召回项目记忆,如技术栈选择、架构决策、文件用途和注意事项,并按相关度排序注入上下文
  • 保存与恢复会话检查点,记录目标、进度、决策和下一步
  • 保护指定文件,标记未经验证的假设与相互矛盾的记忆(Pro 工具)
  • 建立代码库索引、监控 token 用量、审查 diff 并检测幻觉(Pro 工具)
  • 搜索与导出历史会话,保存可复用的提示词模板(Pro 工具)
适用场景
适合每天在 Claude Desktop 或 Claude Code 中长期开发同一批仓库的开发者,希望决策和注意事项在会话之间延续、不必反复粘贴上下文。也适合上下文用尽后需要稍后接着做的情况。
运行要求
以本地 npm 包(npx clarik)通过 stdio 运行,支持 macOS、Windows 和 Linux;安装程序会写入 Claude Desktop 与 Claude Code 的配置。付费工具需要 Pro 许可证密钥,通过命令行激活。调用模型时使用用户自己的 Anthropic API 密钥。
安装前请注意
Pro 工具需要付费:20 美元终身或每月 8 美元,需用许可证密钥激活。Pro 许可证校验每天约一次会连接 Gumroad,离线宽限期为 5 天。安装程序会修改 Claude Desktop 和 Claude Code 的配置文件,记忆写入本地目录并持续保留直到手动删除。节省 token 的数字为厂商自述估算。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Clarik Mcp Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

✨ Clarik

Clarity and memory for Claude. One install.

[NPM Version] [License] [Platform]

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


🚀 Quick Start

bash
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.


💡 What It Does

Clarik is an MCP server that silently fixes the biggest problems developers have with Claude:

ProblemHow Clarik Fixes It
🧠 Claude forgets everything between sessionsPersistent memory — facts, decisions, and gotchas survive forever
📄 Context fills up and quality dropsIntelligent injection — only the most relevant memories are loaded
💸 Repeating context wastes tokensToken optimization — saves $47–73/month on API costs
🔄 Lost progress when context fills upCheckpoints — save and resume exactly where you left off
🗂️ Memories from one project leak into anotherProject isolation — each repo has its own memory space
⚠️ Claude edits files it shouldn'tRepo guard — protected files require your confirmation
🤔 Claude assumes instead of askingAssumption checker — flags unverified claims

🔧 All 20 Tools

Free Tools (no license needed)

ToolWhat It Does
clarik_memory_learnExtract and store facts from conversations. Strips thinking blocks.
clarik_memory_recallRetrieve relevant memories ranked by relevance, recency, and importance.
clarik_memory_listShow all memories for the current project.
clarik_memory_editUpdate a specific memory fact.
clarik_memory_clearClear memories by category or all.
clarik_context_trimIntelligent memory injection within a token budget.
clarik_checkpoint_saveSave a structured snapshot of your session state.
clarik_checkpoint_resumeResume from a checkpoint — pick up exactly where you left off.

Pro Tools ($20 lifetime)

ToolWhat It Does
clarik_project_indexFile-to-purpose map — Claude understands your entire codebase.
clarik_token_monitorLive token usage tracking. Warns at 70% context.
clarik_memory_archiveMove stale memories to archive. Keeps active memory fast.
clarik_conflict_resolverSurface and resolve contradicting memories.
clarik_change_scope_guardProtected file confirmation before edits.
clarik_assumption_checkerFlag when Claude assumes instead of asking.
clarik_diff_reviewerStructured diff review with explanations.
clarik_hallucination_detectorCross-check claims against your actual code.
clarik_decision_timelineTrack architectural decisions with dates and reasons.
clarik_prompt_librarySave and reuse prompt templates.
clarik_session_searchFull-text search across past sessions.
clarik_export_sessionExport session data as JSON or Markdown.

💰 Token Savings

Clarik's intelligent memory injection means Claude processes fewer redundant tokens.

Real Numbers (Sonnet 4.6 at $3/M input tokens)

Without ClarikWith 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.

🏷️ Pricing

TierPriceWhat You Get
Free$0 forever8 core tools — memory, context, checkpoints
Pro Lifetime$20All 20 tools. One payment. Forever.
Pro Monthly$8/moAll 20 tools. Cancel anytime.

→ Get Clarik Pro

Already have a key?

bash
npx clarik activate YOUR-KEY

🛡️ Safe Modes

Clarik includes four safety modes to match your workflow:

ModeMemoryGuardsBest For
Safe (default)✅ On✅ ActiveNormal development
Strict✅ On🔒 Confirm allProduction code, sensitive repos
Minimal❌ Off❌ OffMaximum privacy, quick tasks
Creative✅ On🟡 RelaxedPrototyping, exploration

🖥️ CLI Commands

bash
npx clarik install          # Install into Claude Desktop + Claude Codenpx clarik activate KEY     # Unlock Pro tools with license keynpx clarik status           # Show plan, tools, savings, grace periodnpx clarik upgrade          # Open clarik.dev/pro in browsernpx clarik uninstall        # Clean removal from all configs

🔒 Privacy & Data

Your data never leaves your machine.

  • All memory stored locally in ~/.clarik/
  • No telemetry, no analytics server, no cloud sync
  • No data transmitted except to Anthropic's API using your own API key
  • You own your memory files — they're plain JSON you can read, edit, or delete
  • License validation is the only network call (Gumroad, once per 24 hours)

❓ FAQ

Does Clarik send my code anywhere?

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).

Does it work with Claude Desktop and Claude Code?

Yes. The installer detects and configures both automatically.

What happens when my context fills up?

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.

Can I use it offline?

Yes. Free tools work offline always. Pro tools have a 5-day offline grace period after your last successful license check.

Does it work on Windows?

Yes. Full Windows support with automatic cmd /c wrapper for stdio compatibility. Also works on macOS and Linux.

Will it conflict with other MCP servers?

No. All tools are prefixed with clarik_ to prevent naming conflicts.

Can I see what Clarik has memorized?

Yes. Use clarik_memory_list to see all stored memories, or browse the JSON files directly in ~/.clarik/projects/.

How do I delete my data?

bash
npx clarik uninstall        # Remove from Claude configsrm -rf ~/.clarik/           # Delete all stored data

🔧 Compatibility

PlatformStatus
macOS✅ Fully supported
Windows✅ Fully supported (cmd /c wrapper)
Linux✅ Fully supported
Claude Desktop✅ Auto-configured
Claude Code✅ Auto-configured

Known Issues

  • macOS beta: MCP connections may be unstable on macOS beta releases. The installer will warn you if a beta version is detected.
  • Transport: Clarik uses stdio transport only. SSE and HTTP transports are not supported due to known MCP compatibility issues.

🔍 Troubleshooting

Clarik tools don't appear in Claude

  1. Make sure the install completed successfully: npx clarik status
  2. Restart Claude Desktop / Claude Code
  3. Check that the MCP config file was written correctly:
    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json

"Connection lost" or frequent disconnects

Clarik includes a 30-second heartbeat ping to keep the connection alive. If you still experience disconnects:

  1. Update Claude Desktop to the latest version
  2. Avoid macOS beta releases if possible
  3. Check ~/.clarik/ directory permissions

License activation fails

  1. Check your internet connection
  2. Verify the key format: CLARIK-XXXX-XXXX-XXXX
  3. Try again — Gumroad's API occasionally has brief outages
  4. Pro tools work offline for 5 days after last successful check

📊 How Memory Works

What Clarik Learns

  • ✅ Stack and framework choices ("We're using Next.js 14 with App Router")
  • ✅ Architectural decisions ("Moved from REST to tRPC")
  • ✅ File purposes ("lib/auth.ts handles JWT and sessions")
  • ✅ Gotchas and warnings ("Don't use the v2 API — it's broken")
  • ✅ User-confirmed facts

What Clarik Never Learns

  • ❌ Thinking blocks (<thinking>, <antml-thinking>)
  • ❌ Chain-of-thought traces
  • ❌ Speculative guesses
  • ❌ Content before a user correction

Memory Ranking

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.

Project Isolation

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.


Legal

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.

Get Started · Go Pro · Report Issues

来源:README.md,提交 9a5c610

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分