loading…
Search for a command to run...
loading…
Persistent AI memory brain for Claude Code, Cursor, Copilot, Windsurf, Cline & Zed. sessionstart() briefs your AI on last session, lessons, and open tasks in on
Persistent AI memory brain for Claude Code, Cursor, Copilot, Windsurf, Cline & Zed. sessionstart() briefs your AI on last session, lessons, and open tasks in one call. 84 tools — Team Brain, semantic BM25+ search, Team Telepathy, Ambient Git Learning, Memory Crystals, Analytics, and managed Valkey/Redis. npx @cachly-dev/init — free tier, no credit card. Website
Your AI is brilliant for one session. Then it forgets you.
Every morning you re-explain your architecture, your deploy process, the bug you already fixed last week. cachly gives your AI — and your whole team — a permanent, shared brain that gets smarter with every commit.
You are a good engineer. You want to ship, not babysit a forgetful assistant.
But every session starts at zero. Your AI doesn't remember the race condition you chased for three hours on Tuesday. It doesn't know your deploy gotchas. It can't tell you that Carol already solved this exact bug in March — because Carol's knowledge lives in Carol's head, and yours in yours.
So you re-explain. You re-research. Your team makes the same mistake in five different branches. And when someone leaves, their hard-won knowledge walks out the door with them.
The villain isn't your AI. It's amnesia. Context death between sessions, and knowledge silos between people. The average developer loses ~45 minutes a day re-establishing context that should already exist.
You don't need a smarter model. You need a memory that doesn't reset — and one that your whole team shares.
cachly is the brain layer that sits under whatever AI you already use. We've watched hundreds of teams lose the same knowledge the same way, and we built the fix:
We're not the hero of this story. You are. cachly is the thing that makes you the engineer whose AI never forgets and whose team compounds knowledge instead of losing it.
npx @cachly-dev/mcp-server@latest demo
Run it in any project folder. It reads YOUR git history and shows what your AI would know — your bugs fixed, your patterns, your past decisions. Nothing leaves your machine.
┌─────────────────────────────────────────────────────────────┐
│ Brain Preview — What your AI would know │
├─────────────────────────────────────────────────────────────┤
│ Commits: 847 Lessons: 634 Contributors: 7 │
│ Date range: 2024-01-12 → 2026-05-14 │
├─────────────────────────────────────────────────────────────┤
│ Security fixes your AI would know: │
│ • fix(auth): JWT expiry check before signature validation │
│ • security: sanitize webhook payload before JSON.parse │
├─────────────────────────────────────────────────────────────┤
│ Bug fixes your AI would remember: │
│ • fix: Redis pub/sub race condition under high concurrency │
│ • fix: k8s readinessProbe threshold too low for cold start │
│ • fix: Stripe idempotency_key missing on retry path │
├─────────────────────────────────────────────────────────────┤
│ With cachly, your AI arrives pre-briefed every session. │
└─────────────────────────────────────────────────────────────┘
Like what you see? Make it permanent in the next step.
npx @cachly-dev/mcp-server@latest setup
It signs you in (one browser click, no password, no credit card), detects every AI editor you use, writes the MCP config, seeds your brain from git history, and installs a git hook so it keeps learning.
That's it. From now on your AI arrives pre-briefed — every session.
cachly learns in the background. You never have to "remember to save." Every fix, every commit, every session feeds the brain automatically.
Already inside Claude / Cursor / Copilot? Paste this to your AI and it configures everything itself:
Set up cachly for this project. Run: npx @cachly-dev/mcp-server@latest setup It gives my AI persistent memory across sessions. Follow the browser login (one click, no credit card), then restart the editor.
Our agreement with you: Free forever tier. GDPR, EU servers. No model lock-in — leave anytime and take your data. No code content is ever stored.
| The moment | Without cachly | With cachly |
|---|---|---|
| Session start | "What's your architecture again?" | "Ready. 23 lessons. Last session: deployed API." |
| A known bug returns | Re-researches from scratch | "You fixed this March 12 — here's the exact command." |
| You open an unfamiliar file | Cold start | "Carol fixed 3 bugs here. Related: fix:stripe-retry." |
| A teammate leaves | Their knowledge leaves too | Their lessons stay, attributed, searchable |
| New hire, day one | Weeks to onboard | setup → full team context instantly |
| Pre-deploy | Hope nothing breaks | Brain predicts failure risks from past patterns |
This is the transformation: from the engineer who re-explains everything every morning → to the team whose collective brain never forgets and gets sharper with every commit.
Anthropic now ships memory for Claude — and it's genuinely good for one developer, using only Claude, alone. That's not the game we're playing. Here's the honest map:
| cachly | Claude built-in memory | |
|---|---|---|
| Works across teams | ✅ one engineer's fix → everyone's reflex | ❌ per-user / per-agent only |
| Works across models & tools | ✅ MCP — Claude, Cursor, Copilot, Windsurf, Zed… | ❌ Claude + Anthropic API only |
| Structured knowledge | ✅ topic · outcome · severity · causal graph | ⚠️ flat text files, read linearly |
Causal root-cause (causal_trace) |
✅ problem → chain → proven fix | ❌ |
| Provable recall quality | ✅ +22.2 % Precision@1 vs. BM25 (benchmark) | ❌ no public metric |
| Governance (review, attribution, audit) | ✅ team_confirm, roles, audit trail |
❌ |
| Self-hosting / BYOK / VPC | ✅ data stays in your infra | ❌ Anthropic-hosted |
| Survives a model switch | ✅ your brain is yours | ❌ memory is gone or fragmented |
| Zero-setup for one solo user | ⚠️ ~1 command | ✅ built in |
The honest takeaway: if you're a solo dev who only ever uses Claude, the built-in memory is great — use it. If you work on a team, switch tools, care about proof, or need governance and data residency, that's a gap Anthropic structurally can't close without breaking its own lock-in. That gap is where cachly wins. (Full strategic analysis: STRATEGY.md.)
| cachly | mem0 | MemGPT / Letta | Plain CLAUDE.md | |
|---|---|---|---|---|
| Persistent memory | ✅ | ✅ | ✅ | Manual |
| MCP server (no code changes) | ✅ | ✅ | ❌ | ✅ |
| Causal root cause analysis | ✅ | ❌ | ❌ | ❌ |
| Fully automatic (no explicit calls) | ✅ | ❌ | ❌ | ❌ |
| Team knowledge graph + attribution | ✅ | Paid | ❌ | ❌ |
| Provable recall lift (published) | ✅ | ❌ | ❌ | ❌ |
| Git-ambient learning | ✅ | ❌ | ❌ | ❌ |
| GDPR / EU servers | ✅ | ❌ | ❌ | ✅ |
| Free tier forever | ✅ | Limited | ❌ | ✅ |
| Capability | What it does |
|---|---|
causal_trace |
Root-cause analysis through memory: problem → causal chain → the fix that worked, with date and commands. No other system builds and queries a causal graph. |
brain_who_knows |
"Who on my team knows about Kubernetes deploys?" → ranked experts 🥇🥈🥉, built automatically from authorship. |
brain_file_map |
Before you touch a file: who's worked on it and which lessons reference it. |
team_expertise_map |
The whole team's skills matrix in one table — onboarding and bus-factor insurance. |
brain_from_git |
Reads your entire git history and populates the team knowledge graph (people + files + lessons) — zero setup, retroactively. |
brain_coverage / skill_gaps |
A 0–100 health score for your knowledge + a ranked list of blind spots to fix. |
brain_predict |
Predicts likely failures before they happen, from past incident patterns. |
| Ambient Git | A git hook auto-extracts lessons from every commit. Zero extra calls. |
causal_trace in action:
causal_trace(problem="auth breaks after restart")
→ Root: k8s:namespace-terminating
→ Via: keycloak:jwks-race
→ Fix: PollUntilContextTimeout 3min ← used this March 12, worked
30 minutes of git blame in one call.
| Trigger | What the Brain does — no prompting |
|---|---|
| First tool call | Session starts; project indexed in background |
| Before every task | Recalls relevant past lessons |
| During debugging | Traces root causes through causal memory |
| Before deploys | Predicts failure risks from past patterns |
| After every fix | Stores the lesson with commands + file paths + author |
| Every git commit | Hook extracts a lesson from the commit |
| Editor closes | Session summary saved for next time |
npx @cachly-dev/mcp-server@latest demo # Preview your Brain (no account needed)
npx @cachly-dev/mcp-server@latest setup # Wire up all your AI editors (1–5 minutes)
npx @cachly-dev/mcp-server@latest health # Check token, API, editors, git hook
npx @cachly-dev/mcp-server@latest digest # Weekly Brain summary — shareable
npx @cachly-dev/mcp-server@latest share # Generate a shareable stats card + tweet
npx @cachly-dev/mcp-server@latest badge # Get a live README badge for your Brain
npx @cachly-dev/mcp-server@latest invite # Invite a teammate to share your Brain
npx @cachly-dev/mcp-server@latest index . # Index a project's code into the Brain (CI-friendly)
npx @cachly-dev/mcp-server@latest learn-git # Auto-learn lessons from recent git commits
Tip — auto-learn on every merged PR: run
learn-gitin CI via the cachly-brain-setup GitHub Action withmode: learn. Each merged PR teaches your Brain automatically.
| Tool | What it does |
|---|---|
session_start |
Full briefing: last session, open failures, recent lessons, brain health |
session_end |
Save what you built; auto-extract lessons from summary + git log |
learn_from_attempts |
Store structured lessons after any fix, deploy, or discovery (with author, visibility) |
recall_best_solution |
Best known solution for a topic — with success/failure history |
smart_recall |
Hybrid BM25 + semantic + causal-graph search — 11 languages, quality-reranked |
remember_context |
Cache architecture findings, decisions, file summaries |
compact_recover |
Full context recovery after hitting the context-window limit |
| Tool | What it does |
|---|---|
team_learn / team_recall |
Share lessons across the team with author attribution |
team_confirm |
A reviewer confirms a lesson (🛡️ senior / ✔️ peer) → ranks higher in recall |
brain_who_knows |
Find your team's experts on any topic — ranked 🥇🥈🥉 |
brain_file_map |
Experts + lessons per file, before you touch it |
team_expertise_map |
Full team skills matrix in one table |
skill_gaps |
Knowledge blind spots: unresolved failures, missing attribution |
brain_coverage |
0–100 knowledge-health score for your codebase |
madc_deliberate |
Specialist AI agents vote to resolve contradictory lessons |
memory_crystalize |
Distill all lessons into a Crystal for instant team context |
| Tool | What it does |
|---|---|
causal_trace |
Root-cause analysis through the Causal Knowledge Graph |
brain_predict / brain_predict_failures |
Predict likely failures before they happen |
brain_from_git |
Bootstrap people + files + lessons from git history — incremental |
memory_consolidate |
Detect contradictions, merge duplicates, expire stale lessons |
ckg_inspect |
Inspect the causal graph around any concept |
| Tool | What it does |
|---|---|
syndicate / fedbrain_search |
Contribute to / search the global Knowledge Commons |
cache_get / cache_set / semantic_search / index_project |
Cache + semantic ops |
list_instances / create_instance / delete_instance |
Manage Brain instances |
roadmap_add / roadmap_next |
Persistent project roadmap stored in the Brain |
…and ~70 more. Run health to see what's wired up in your editor.
Does my AI need to call session_start manually?
No. Sessions start and end automatically on the first tool call and when the editor closes.
How is this different from Claude's built-in memory? Claude's memory is per-user, Claude-only, flat-file, and unbenchmarked. cachly is team-shared, model-neutral (any MCP client), structured + causal, governed, and has a published recall benchmark. See the comparison table above.
Can my whole team share one Brain?
Yes — that's the point. team_learn / team_recall, or
npx @cachly-dev/mcp-server@latest invite [email protected].
Is my code sent to cachly servers? No code content is stored. cachly stores lesson text, commit messages, session summaries, and key-value context. All data on EU servers, GDPR-compliant.
What is causal_trace and why is it unique?
Given any error, it walks the Causal Knowledge Graph to find root cause, intermediate
causes, and the exact fix that worked — including date and commands. No other memory
system builds or queries a causal graph.
What if I hit the context-window limit mid-session?
Call compact_recover. It reconstructs full context from Memory Crystal + recent
sessions + WIP registry — typically one tool call.
~/.claude/mcp.json or .mcp.json){
"mcpServers": {
"cachly": {
"command": "npx",
"args": ["-y", "@cachly-dev/mcp-server@latest"]
}
}
}
On the first tool call your AI will prompt you to sign in — takes 10 seconds.
{
"mcpServers": {
"cachly": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cachly-dev/mcp-server@latest"]
}
}
}
.zed/settings.json){
"context_servers": {
"cachly": {
"command": {
"path": "npx",
"args": ["-y", "@cachly-dev/mcp-server@latest"]
}
}
}
}
| Tier | RAM | Price | Best for |
|---|---|---|---|
| Free | 25 MB | €0/mo forever | Dev & side projects |
| Dev | 200 MB | €19/mo | Individual developers |
| Pro | 900 MB | €49/mo | Teams |
| Speed | 900 MB + Dragonfly | €79/mo | AI-heavy workloads |
| Business | 7 GB | €199/mo | Scale-ups |
✅ All plans: EU servers · GDPR-compliant · 99.9% SLA · No credit card for Free
| Variable | Default | Description |
|---|---|---|
CACHLY_JWT |
— | API token (set by wizard automatically) |
CACHLY_BRAIN_INSTANCE_ID |
— | Default instance UUID (optional — auto-resolved) |
CACHLY_API_URL |
https://api.cachly.dev |
Override for self-hosted |
CACHLY_NO_TELEMETRY |
unset | Set to 1 to disable anonymous usage pings |
| Package | What it does |
|---|---|
| @cachly-dev/mcp-server | ← you are here |
| @cachly-dev/openclaw | Cut LLM costs 60–90% in JS/TS apps |
Stop re-explaining yourself to your own tools. Give your AI — and your team — a brain that remembers, learns, and gets sharper with every commit.
npx @cachly-dev/mcp-server@latest setup
Выполни в терминале:
claude mcp add cachly-dev-cachly-mcp -- npx pro-tip
Поставил cachly-dev/cachly-mcp? Скажи Claude: «запомни почему я установил cachly-dev/cachly-mcp и что хочу попробовать» — попадёт в твой Vault.
как это работает →Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.