@cachly-dev/mcp-server 0.10.62 β†’ 0.10.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,9 @@
1
1
  # 🧠 cachly AI Brain β€” MCP Server
2
2
 
3
- > **Your AI forgets everything between sessions. cachly fixes that.**
4
- > Stop re-teaching your stack every morning. cachly gives your AI a permanent brain β€” pre-briefed every session, learns from every commit, never makes the same mistake twice. Works whether you write 10 lines or 10,000.
3
+ > ### Your AI is brilliant for one session. Then it forgets you.
4
+ > Every morning you re-explain your architecture, your deploy process, the bug you
5
+ > already fixed last week. **cachly gives your AI β€” and your whole team β€” a permanent,
6
+ > shared brain that gets smarter with every commit.**
5
7
 
6
8
  <p align="center">
7
9
  <a href="https://www.npmjs.com/package/@cachly-dev/mcp-server">
@@ -20,24 +22,60 @@
20
22
  <img src="https://img.shields.io/badge/GDPR-EU%20servers-green" alt="GDPR: EU servers" />
21
23
  </a>
22
24
  &nbsp;
23
- <img src="https://img.shields.io/badge/100%20MCP%20tools-violet" alt="100 MCP tools" />
25
+ <img src="https://img.shields.io/badge/101%20MCP%20tools-violet" alt="101 MCP tools" />
24
26
  &nbsp;
25
27
  <img src="https://img.shields.io/badge/License-Apache--2.0-yellow" alt="License: Apache-2.0" />
26
- &nbsp;
27
- <a href="https://cachly.dev">
28
- <img src="https://img.shields.io/badge/Brain%20badge-embed%20in%20README-7c3aed" alt="Brain badge" />
29
- </a>
30
28
  </p>
31
29
 
32
30
  ---
33
31
 
34
- ## Try it right now β€” no account needed
32
+ ## The story you already live every day
33
+
34
+ You are a good engineer. You want to **ship**, not babysit a forgetful assistant.
35
+
36
+ But every session starts at zero. Your AI doesn't remember the race condition you
37
+ chased for three hours on Tuesday. It doesn't know your deploy gotchas. It can't tell
38
+ you that **Carol already solved this exact bug in March** β€” because Carol's knowledge
39
+ lives in Carol's head, and yours in yours.
40
+
41
+ So you re-explain. You re-research. Your team makes the same mistake in five different
42
+ branches. And when someone leaves, their hard-won knowledge walks out the door with them.
43
+
44
+ > **The villain isn't your AI. It's amnesia.** Context death between sessions, and
45
+ > knowledge silos between people. The average developer loses **~45 minutes a day**
46
+ > re-establishing context that should already exist.
47
+
48
+ You don't need a smarter model. **You need a memory that doesn't reset β€” and one that
49
+ your whole team shares.**
50
+
51
+ ---
52
+
53
+ ## Meet your guide
54
+
55
+ cachly is the brain layer that sits under whatever AI you already use. We've watched
56
+ hundreds of teams lose the same knowledge the same way, and we built the fix:
57
+
58
+ - **It learns automatically** β€” from every commit, every fix, every session. No extra calls.
59
+ - **It arrives pre-briefed** β€” your AI opens each session already knowing your stack.
60
+ - **It's shared** β€” one engineer's solved bug becomes the whole team's reflex.
61
+ - **It's provable** β€” quality-aware recall beats raw text search by **+22.2 % Precision@1**
62
+ ([see the benchmark](./BENCH.md)). A claim without a number is marketing; this is the number.
63
+ - **It's neutral** β€” speaks [MCP](https://modelcontextprotocol.io), so it works with
64
+ Claude, Cursor, Copilot, Windsurf, Cline, Zed. Switch models anytime β€” **your brain stays.**
65
+
66
+ We're not the hero of this story. **You are.** cachly is the thing that makes you the
67
+ engineer whose AI never forgets and whose team compounds knowledge instead of losing it.
68
+
69
+ ---
70
+
71
+ ## Taste it first β€” no account, no risk
35
72
 
36
73
  ```bash
37
74
  npx @cachly-dev/mcp-server@latest demo
38
75
  ```
39
76
 
40
- Run it in any project folder. It scans your git history and shows a preview of what your AI would know β€” YOUR bugs fixed, YOUR patterns, YOUR past decisions. No account needed.
77
+ Run it in any project folder. It reads YOUR git history and shows what your AI *would*
78
+ know β€” your bugs fixed, your patterns, your past decisions. Nothing leaves your machine.
41
79
 
42
80
  ```
43
81
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
@@ -46,12 +84,6 @@ Run it in any project folder. It scans your git history and shows a preview of w
46
84
  β”‚ Commits: 847 Lessons: 634 Contributors: 7 β”‚
47
85
  β”‚ Date range: 2024-01-12 β†’ 2026-05-14 β”‚
48
86
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
49
- β”‚ Category breakdown: β”‚
50
- β”‚ fix β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 312 β”‚
51
- β”‚ feat β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 189 β”‚
52
- β”‚ security β–ˆβ–ˆ 18 β”‚
53
- β”‚ deploy β–ˆβ–ˆ 15 β”‚
54
- β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
55
87
  β”‚ Security fixes your AI would know: β”‚
56
88
  β”‚ β€’ fix(auth): JWT expiry check before signature validation β”‚
57
89
  β”‚ β€’ security: sanitize webhook payload before JSON.parse β”‚
@@ -60,143 +92,118 @@ Run it in any project folder. It scans your git history and shows a preview of w
60
92
  β”‚ β€’ fix: Redis pub/sub race condition under high concurrency β”‚
61
93
  β”‚ β€’ fix: k8s readinessProbe threshold too low for cold start β”‚
62
94
  β”‚ β€’ fix: Stripe idempotency_key missing on retry path β”‚
63
- β”‚ β€’ fix: tRPC context not forwarded to background jobs β”‚
64
95
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
65
96
  β”‚ With cachly, your AI arrives pre-briefed every session. β”‚
66
- β”‚ No more re-explaining. No more repeated mistakes. β”‚
67
97
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
68
-
69
- Make this permanent (free, 1–5 minutes):
70
- $ npx @cachly-dev/mcp-server@latest setup
71
-
72
- Works with: Claude Code Β· Cursor Β· Windsurf Β· Copilot Β· Cline Β· Zed
73
- Free forever Β· GDPR Β· German servers Β· No credit card
74
- ```
75
-
76
- ---
77
-
78
- ## Already in Claude / Cursor / Copilot? Just paste this
79
-
80
- Skip the setup guide β€” copy the prompt below and paste it directly into your AI. It will run the command and configure everything automatically:
81
-
82
- ```
83
- Set up cachly for this project. Run this in the terminal:
84
- npx @cachly-dev/mcp-server@latest setup
85
-
86
- It gives you persistent memory across sessions β€” your AI recalls past
87
- decisions, avoids repeated bugs, and arrives briefed every time you
88
- open it. Follow the browser login (one click, no credit card), then
89
- restart your editor. Free forever.
90
98
  ```
91
99
 
92
- Your AI will execute the command, detect your editors, write the config, and brief itself on your project.
100
+ Like what you see? Make it permanent in the next step.
93
101
 
94
102
  ---
95
103
 
96
- ## The Problem
97
-
98
- Every morning, you open your AI coding assistant. It doesn't remember yesterday.
99
- You explain your architecture. You explain the deployment process. You explain the bug you fixed last week.
104
+ ## The plan β€” three steps, then it's automatic
100
105
 
101
- **The average developer wastes 45 minutes/day re-establishing context.**
102
-
103
- ---
104
-
105
- ## One Command. Fully Automatic.
106
+ ### 1. Run one command
106
107
 
107
108
  ```bash
108
109
  npx @cachly-dev/mcp-server@latest setup
109
110
  ```
110
111
 
111
- Run it once. It handles everything:
112
-
113
- 1. **Signs you in** β€” one click in your browser, no password, no credit card
114
- 2. **Detects your editors** β€” Claude Code, Cursor, Windsurf, VS Code, Copilot, Cline & Zed
115
- 3. **Writes the MCP config** for every detected editor automatically
116
- 4. **Creates `CLAUDE.md`** with Brain rules so your AI acts autonomously
117
- 5. **Reads your git history** β€” extracts lessons from years of commits before your first session
118
- 6. **Installs a git hook** β€” learns from every future commit automatically
119
-
120
- **Restart your editor.** From now on your AI arrives pre-briefed β€” every session.
112
+ It signs you in (one browser click, no password, no credit card), detects every AI
113
+ editor you use, writes the MCP config, seeds your brain from git history, and installs
114
+ a git hook so it keeps learning.
121
115
 
122
- ---
116
+ ### 2. Restart your editor
123
117
 
124
- ## What happens after setup β€” everything is automatic
118
+ That's it. From now on your AI arrives pre-briefed β€” every session.
125
119
 
126
- | Trigger | What the Brain does automatically |
127
- |---------|----------------------------------|
128
- | First tool call | Session starts, project gets indexed in background |
129
- | Before every task | AI recalls relevant past lessons |
130
- | During debugging | AI traces root causes through causal memory |
131
- | Before deploys | AI predicts failure risks from past patterns |
132
- | After every fix | AI stores the lesson with commands and file paths |
133
- | Every git commit | Hook extracts lessons from commit message |
134
- | Editor closes | Session summary saved for next time |
120
+ ### 3. Just work
135
121
 
136
- ---
122
+ cachly learns in the background. You never have to "remember to save." Every fix,
123
+ every commit, every session feeds the brain automatically.
137
124
 
138
- ## With vs. Without cachly
125
+ > **Already inside Claude / Cursor / Copilot?** Paste this to your AI and it configures everything itself:
126
+ > ```
127
+ > Set up cachly for this project. Run: npx @cachly-dev/mcp-server@latest setup
128
+ > It gives my AI persistent memory across sessions. Follow the browser login
129
+ > (one click, no credit card), then restart the editor.
130
+ > ```
139
131
 
140
- | Situation | Without cachly | With cachly |
141
- |-----------|----------------|-------------|
142
- | Session start | "What's your architecture?" | "Ready. 23 lessons, last session: deployed API." |
143
- | Known bug hits again | Re-researches from scratch | "You fixed this March 12, here's the exact command" |
144
- | After holiday / handoff | Context dead | Fully briefed in < 10 seconds |
145
- | New team member | Weeks to onboard | `setup` gives full context instantly |
146
- | Pre-deploy check | Hope nothing breaks | Brain predicts failures before they happen |
132
+ **Our agreement with you:** Free forever tier. GDPR, EU servers. No model lock-in β€”
133
+ leave anytime and take your data. No code content is ever stored.
147
134
 
148
135
  ---
149
136
 
150
- ## CLI Commands
137
+ ## What changes the moment you turn it on
151
138
 
152
- ```bash
153
- npx @cachly-dev/mcp-server@latest demo # Preview your Brain (no account needed)
154
- npx @cachly-dev/mcp-server@latest setup # Wire up all your AI editors (1–5 minutes)
155
- npx @cachly-dev/mcp-server@latest health # Check token, API, editors, git hook
156
- npx @cachly-dev/mcp-server@latest digest # Weekly Brain summary β€” shareable
157
- npx @cachly-dev/mcp-server@latest share # Generate a shareable stats card + tweet
158
- npx @cachly-dev/mcp-server@latest badge # Get a live README badge for your Brain
159
- npx @cachly-dev/mcp-server@latest invite # Invite a teammate to share your Brain
160
- npx @cachly-dev/mcp-server@latest index . # Index a project's code into the Brain (CI-friendly)
161
- npx @cachly-dev/mcp-server@latest learn-git # Auto-learn lessons from recent git commits (PR-merge ready)
162
- ```
139
+ | The moment | Without cachly | With cachly |
140
+ |-----------|----------------|-------------|
141
+ | Session start | *"What's your architecture again?"* | *"Ready. 23 lessons. Last session: deployed API."* |
142
+ | A known bug returns | Re-researches from scratch | *"You fixed this March 12 β€” here's the exact command."* |
143
+ | You open an unfamiliar file | Cold start | *"Carol fixed 3 bugs here. Related: `fix:stripe-retry`."* |
144
+ | A teammate leaves | Their knowledge leaves too | Their lessons stay, attributed, searchable |
145
+ | New hire, day one | Weeks to onboard | `setup` β†’ full team context instantly |
146
+ | Pre-deploy | Hope nothing breaks | Brain predicts failure risks from past patterns |
163
147
 
164
- > **Tip β€” auto-learn on every merged PR:** run `learn-git` in CI via the
165
- > [cachly-brain-setup GitHub Action](https://github.com/cachly-dev/cachly/tree/main/sdk/github-action)
166
- > with `mode: learn`. Each merged PR teaches your Brain automatically β€” no manual calls.
148
+ This is the transformation: from the engineer who **re-explains everything every
149
+ morning** β†’ to the team whose **collective brain never forgets and gets sharper with
150
+ every commit.**
167
151
 
168
152
  ---
169
153
 
170
- ## Brain Badge β€” show your lessons live
171
-
172
- Add a live lesson-count badge to any README β€” updates every hour, no auth required:
154
+ ## cachly vs. Claude's built-in memory
155
+
156
+ Anthropic now ships memory for Claude β€” and it's genuinely good for **one developer,
157
+ using only Claude, alone.** That's not the game we're playing. Here's the honest map:
158
+
159
+ | | **cachly** | **Claude built-in memory** |
160
+ |--|------------|----------------------------|
161
+ | Works across **teams** | βœ… one engineer's fix β†’ everyone's reflex | ❌ per-user / per-agent only |
162
+ | Works across **models & tools** | βœ… MCP β€” Claude, Cursor, Copilot, Windsurf, Zed… | ❌ Claude + Anthropic API only |
163
+ | **Structured** knowledge | βœ… topic Β· outcome Β· severity Β· causal graph | ⚠️ flat text files, read linearly |
164
+ | **Causal root-cause** (`causal_trace`) | βœ… problem β†’ chain β†’ proven fix | ❌ |
165
+ | **Provable recall quality** | βœ… +22.2 % Precision@1 vs. BM25 ([benchmark](./BENCH.md)) | ❌ no public metric |
166
+ | **Governance** (review, attribution, audit) | βœ… `team_confirm`, roles, audit trail | ❌ |
167
+ | **Self-hosting / BYOK / VPC** | βœ… data stays in your infra | ❌ Anthropic-hosted |
168
+ | Survives a **model switch** | βœ… your brain is yours | ❌ memory is gone or fragmented |
169
+ | Zero-setup for one solo user | ⚠️ ~1 command | βœ… built in |
170
+
171
+ **The honest takeaway:** if you're a solo dev who only ever uses Claude, the built-in
172
+ memory is great β€” use it. If you work on a **team**, switch tools, care about **proof**,
173
+ or need **governance and data residency**, that's a gap Anthropic structurally can't
174
+ close without breaking its own lock-in. **That gap is where cachly wins.**
175
+ *(Full strategic analysis: [STRATEGY.md](./STRATEGY.md).)*
173
176
 
174
- ```bash
175
- npx @cachly-dev/mcp-server@latest badge
176
- ```
177
+ ---
177
178
 
178
- Outputs your personal Markdown snippet:
179
+ ## vs. other memory tools
179
180
 
180
- ```markdown
181
- [![cachly Brain](https://api.cachly.dev/api/v1/badge/YOUR_INSTANCE_ID)](https://cachly.dev)
182
- ```
183
-
184
- Drop it in your repo's README and anyone visiting sees how many lessons your AI has accumulated. The badge endpoint is public, rate-limited, and only exposes the lesson count β€” no topic names, no content.
181
+ | | cachly | mem0 | MemGPT / Letta | Plain CLAUDE.md |
182
+ |--|--------|------|----------------|-----------------|
183
+ | Persistent memory | βœ… | βœ… | βœ… | Manual |
184
+ | MCP server (no code changes) | βœ… | βœ… | ❌ | βœ… |
185
+ | Causal root cause analysis | βœ… | ❌ | ❌ | ❌ |
186
+ | Fully automatic (no explicit calls) | βœ… | ❌ | ❌ | ❌ |
187
+ | Team knowledge graph + attribution | βœ… | Paid | ❌ | ❌ |
188
+ | Provable recall lift (published) | βœ… | ❌ | ❌ | ❌ |
189
+ | Git-ambient learning | βœ… | ❌ | ❌ | ❌ |
190
+ | GDPR / EU servers | βœ… | ❌ | ❌ | βœ… |
191
+ | Free tier forever | βœ… | Limited | ❌ | βœ… |
185
192
 
186
193
  ---
187
194
 
188
- ## What makes cachly different
195
+ ## The standout moves
189
196
 
190
- | Feature | What it does |
197
+ | Capability | What it does |
191
198
  |---------|-------------|
192
- | **`causal_trace`** | Root Cause Analysis through memory: problem β†’ chain β†’ solution. **No other system does this.** |
193
- | **`brain_from_git`** | Reads your entire git history and loads every lesson before your first session. Incremental on repeat runs. |
194
- | **`brain_predict`** | Predicts failures before they happen based on past incident patterns |
195
- | **`memory_consolidate`** | Weekly garbage collector β€” detects contradictions, merges duplicates, expires stale lessons |
196
- | **Team Brain** | Shared lessons across your whole team with author attribution |
197
- | **Ambient Git** | git hook auto-extracts lessons from every commit. Zero extra calls. |
198
- | **Memory Crystals** | Distills all lessons into a compact snapshot for instant session briefing |
199
- | **11 languages** | BM25+ search in EN, DE, FR, ES, IT, PT, ZH, JA, KO, AR, HE β€” no config |
199
+ | **`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.** |
200
+ | **`brain_who_knows`** | *"Who on my team knows about Kubernetes deploys?"* β†’ ranked experts πŸ₯‡πŸ₯ˆπŸ₯‰, built automatically from authorship. |
201
+ | **`brain_file_map`** | Before you touch a file: who's worked on it and which lessons reference it. |
202
+ | **`team_expertise_map`** | The whole team's skills matrix in one table β€” onboarding and bus-factor insurance. |
203
+ | **`brain_from_git`** | Reads your entire git history and populates the team knowledge graph (people + files + lessons) β€” zero setup, retroactively. |
204
+ | **`brain_coverage` / `skill_gaps`** | A 0–100 health score for your knowledge + a ranked list of blind spots to fix. |
205
+ | **`brain_predict`** | Predicts likely failures *before* they happen, from past incident patterns. |
206
+ | **Ambient Git** | A git hook auto-extracts lessons from every commit. Zero extra calls. |
200
207
 
201
208
  **`causal_trace` in action:**
202
209
  ```
@@ -210,100 +217,117 @@ causal_trace(problem="auth breaks after restart")
210
217
 
211
218
  ---
212
219
 
213
- ## cachly vs. alternatives
220
+ ## What runs automatically after setup
214
221
 
215
- | | cachly | mem0 | MemGPT / Letta | Plain CLAUDE.md |
216
- |--|--------|------|----------------|-----------------|
217
- | Persistent memory | βœ… | βœ… | βœ… | Manual |
218
- | MCP server (no code changes) | βœ… | βœ… | ❌ | βœ… |
219
- | Causal root cause analysis | βœ… | ❌ | ❌ | ❌ |
220
- | Fully automatic (no explicit calls) | βœ… | ❌ | ❌ | ❌ |
221
- | Failure prediction | βœ… | ❌ | ❌ | ❌ |
222
- | Team knowledge sharing | βœ… | Paid | ❌ | ❌ |
223
- | Git-ambient learning | βœ… | ❌ | ❌ | ❌ |
224
- | 11-language search | βœ… | ❌ | ❌ | ❌ |
225
- | GDPR / EU servers | βœ… | ❌ | ❌ | βœ… |
226
- | Free tier forever | βœ… | Limited | ❌ | βœ… |
222
+ | Trigger | What the Brain does β€” no prompting |
223
+ |---------|----------------------------------|
224
+ | First tool call | Session starts; project indexed in background |
225
+ | Before every task | Recalls relevant past lessons |
226
+ | During debugging | Traces root causes through causal memory |
227
+ | Before deploys | Predicts failure risks from past patterns |
228
+ | After every fix | Stores the lesson with commands + file paths + author |
229
+ | Every git commit | Hook extracts a lesson from the commit |
230
+ | Editor closes | Session summary saved for next time |
227
231
 
228
232
  ---
229
233
 
230
- ## MCP Tools (80 total)
234
+ ## CLI Commands
235
+
236
+ ```bash
237
+ npx @cachly-dev/mcp-server@latest demo # Preview your Brain (no account needed)
238
+ npx @cachly-dev/mcp-server@latest setup # Wire up all your AI editors (1–5 minutes)
239
+ npx @cachly-dev/mcp-server@latest health # Check token, API, editors, git hook
240
+ npx @cachly-dev/mcp-server@latest digest # Weekly Brain summary β€” shareable
241
+ npx @cachly-dev/mcp-server@latest share # Generate a shareable stats card + tweet
242
+ npx @cachly-dev/mcp-server@latest badge # Get a live README badge for your Brain
243
+ npx @cachly-dev/mcp-server@latest invite # Invite a teammate to share your Brain
244
+ npx @cachly-dev/mcp-server@latest index . # Index a project's code into the Brain (CI-friendly)
245
+ npx @cachly-dev/mcp-server@latest learn-git # Auto-learn lessons from recent git commits
246
+ ```
247
+
248
+ > **Tip β€” auto-learn on every merged PR:** run `learn-git` in CI via the
249
+ > [cachly-brain-setup GitHub Action](https://github.com/cachly-dev/cachly/tree/main/sdk/github-action)
250
+ > with `mode: learn`. Each merged PR teaches your Brain automatically.
251
+
252
+ ---
253
+
254
+ ## MCP Tools (100 total)
231
255
 
232
256
  ### 🧠 Session & Memory (most used)
233
257
 
234
258
  | Tool | What it does |
235
259
  |------|-------------|
236
- | **`session_start`** | Full briefing: last session summary, open failures, recent lessons, brain health |
237
- | **`session_end`** | Save what you built, auto-extract lessons from summary + git log |
238
- | **`learn_from_attempts`** | Store structured lessons after any fix, deploy, or discovery |
260
+ | **`session_start`** | Full briefing: last session, open failures, recent lessons, brain health |
261
+ | **`session_end`** | Save what you built; auto-extract lessons from summary + git log |
262
+ | **`learn_from_attempts`** | Store structured lessons after any fix, deploy, or discovery (with `author`, `visibility`) |
239
263
  | **`recall_best_solution`** | Best known solution for a topic β€” with success/failure history |
264
+ | **`smart_recall`** | Hybrid BM25 + semantic + causal-graph search β€” 11 languages, quality-reranked |
240
265
  | **`remember_context`** | Cache architecture findings, decisions, file summaries |
241
- | **`smart_recall`** | BM25+ full-text search across all brain data β€” 11 languages |
242
- | **`causal_trace`** | Root cause analysis through memory |
243
- | **`brain_predict`** | Predict likely failures before they happen |
244
- | **`brain_from_git`** | Bootstrap from git history β€” incremental, only new commits each run |
245
- | **`memory_consolidate`** | Deduplicate and expire stale lessons |
246
- | **`compact_recover`** | Full context recovery after hitting context window limit |
266
+ | **`compact_recover`** | Full context recovery after hitting the context-window limit |
247
267
 
248
- ### πŸ‘₯ Team Brain
268
+ ### πŸ‘₯ Team Brain & Org Knowledge Graph
249
269
 
250
270
  | Tool | What it does |
251
271
  |------|-------------|
252
272
  | `team_learn` / `team_recall` | Share lessons across the team with author attribution |
253
- | `team_synthesize` | Merge conflicting lessons into one canonical version |
254
- | `madc_deliberate` | 6 specialist AI agents vote to resolve contradictory lessons |
273
+ | `team_confirm` | A reviewer confirms a lesson (πŸ›‘οΈ senior / βœ”οΈ peer) β†’ ranks higher in recall |
274
+ | **`brain_who_knows`** | Find your team's experts on any topic β€” ranked πŸ₯‡πŸ₯ˆπŸ₯‰ |
275
+ | **`brain_file_map`** | Experts + lessons per file, before you touch it |
276
+ | **`team_expertise_map`** | Full team skills matrix in one table |
277
+ | **`skill_gaps`** | Knowledge blind spots: unresolved failures, missing attribution |
278
+ | **`brain_coverage`** | 0–100 knowledge-health score for your codebase |
279
+ | `madc_deliberate` | Specialist AI agents vote to resolve contradictory lessons |
255
280
  | `memory_crystalize` | Distill all lessons into a Crystal for instant team context |
256
- | `brain_doctor` | Health check: lesson count, IQ boost %, open failures |
257
- | `autopilot` | Generate a self-managing `CLAUDE.md` from Brain content |
258
- | `global_learn` / `global_recall` | Cross-project universal lessons |
259
281
 
260
- ### 🌍 Knowledge Commons
282
+ ### 🧬 Causal Intelligence
261
283
 
262
284
  | Tool | What it does |
263
285
  |------|-------------|
264
- | `syndicate` | Contribute verified lesson to global Knowledge Commons |
265
- | `fedbrain_search` | Context-weighted global search |
286
+ | **`causal_trace`** | Root-cause analysis through the Causal Knowledge Graph |
287
+ | **`brain_predict`** / `brain_predict_failures` | Predict likely failures before they happen |
288
+ | **`brain_from_git`** | Bootstrap people + files + lessons from git history β€” incremental |
289
+ | `memory_consolidate` | Detect contradictions, merge duplicates, expire stale lessons |
290
+ | `ckg_inspect` | Inspect the causal graph around any concept |
266
291
 
267
- ### βš™οΈ Infrastructure
292
+ ### 🌍 Knowledge Commons Β· βš™οΈ Infrastructure Β· πŸ“‹ Roadmap
268
293
 
269
294
  | Tool | What it does |
270
295
  |------|-------------|
296
+ | `syndicate` / `fedbrain_search` | Contribute to / search the global Knowledge Commons |
297
+ | `cache_get` / `cache_set` / `semantic_search` / `index_project` | Cache + semantic ops |
271
298
  | `list_instances` / `create_instance` / `delete_instance` | Manage Brain instances |
272
- | `cache_get` / `cache_set` / `cache_delete` | Standard cache operations |
273
- | `semantic_search` | Find cached entries by meaning |
274
- | `index_project` | Index source files for semantic retrieval |
299
+ | `roadmap_add` / `roadmap_next` | Persistent project roadmap stored in the Brain |
275
300
 
276
- ### πŸ“‹ Roadmap & Planning
277
-
278
- | Tool | What it does |
279
- |------|-------------|
280
- | `roadmap_add` / `roadmap_update` | Persistent project roadmap stored in Brain |
281
- | `roadmap_list` / `roadmap_next` | List items or get the single most important next action |
301
+ *…and ~70 more. Run `health` to see what's wired up in your editor.*
282
302
 
283
303
  ---
284
304
 
285
305
  ## FAQ
286
306
 
287
- **Does my AI need to call `session_start` manually?**
307
+ **Does my AI need to call `session_start` manually?**
288
308
  No. Sessions start and end automatically on the first tool call and when the editor closes.
289
309
 
290
- **What is incremental `brain_from_git`?**
291
- After the first run, only new commits since the last scan are processed. Repeated calls are instant.
292
-
293
- **Can my whole team share the same Brain?**
294
- Yes. Use `team_learn` / `team_recall` or run `npx @cachly-dev/mcp-server@latest invite teammate@example.com`.
310
+ **How is this different from Claude's built-in memory?**
311
+ Claude's memory is per-user, Claude-only, flat-file, and unbenchmarked. cachly is
312
+ team-shared, model-neutral (any MCP client), structured + causal, governed, and has a
313
+ [published recall benchmark](./BENCH.md). See the comparison table above.
295
314
 
296
- **What is a Memory Crystal?**
297
- A compressed snapshot of all lessons injected at every session start. The AI arrives pre-briefed even with a cold context window.
315
+ **Can my whole team share one Brain?**
316
+ Yes β€” that's the point. `team_learn` / `team_recall`, or
317
+ `npx @cachly-dev/mcp-server@latest invite teammate@example.com`.
298
318
 
299
- **What is `causal_trace` and why is it unique?**
300
- Given any error, `causal_trace` walks the Causal Knowledge Graph to find: root cause, intermediate causes, and the exact fix that worked β€” including the date and commands used. No other memory system builds or queries a causal graph.
319
+ **Is my code sent to cachly servers?**
320
+ No code content is stored. cachly stores lesson text, commit messages, session
321
+ summaries, and key-value context. All data on EU servers, GDPR-compliant.
301
322
 
302
- **Is my code sent to cachly servers?**
303
- No code content is stored. cachly stores: lesson text, commit messages, session summaries, key-value context entries. All data on German servers, GDPR-compliant.
323
+ **What is `causal_trace` and why is it unique?**
324
+ Given any error, it walks the Causal Knowledge Graph to find root cause, intermediate
325
+ causes, and the exact fix that worked β€” including date and commands. No other memory
326
+ system builds or queries a causal graph.
304
327
 
305
- **What if I hit the context window limit mid-session?**
306
- Call `compact_recover`. It reconstructs full context from Memory Crystal + recent sessions + WIP registry β€” typically one tool call.
328
+ **What if I hit the context-window limit mid-session?**
329
+ Call `compact_recover`. It reconstructs full context from Memory Crystal + recent
330
+ sessions + WIP registry β€” typically one tool call.
307
331
 
308
332
  ---
309
333
 
@@ -370,7 +394,7 @@ On the first tool call your AI will prompt you to sign in β€” takes 10 seconds.
370
394
  | **Speed** | 900 MB + Dragonfly | €79/mo | AI-heavy workloads |
371
395
  | **Business** | 7 GB | €199/mo | Scale-ups |
372
396
 
373
- βœ… All plans: **German servers Β· GDPR-compliant Β· 99.9% SLA Β· No credit card for Free**
397
+ βœ… All plans: **EU servers Β· GDPR-compliant Β· 99.9% SLA Β· No credit card for Free**
374
398
 
375
399
  ---
376
400
 
@@ -385,18 +409,24 @@ On the first tool call your AI will prompt you to sign in β€” takes 10 seconds.
385
409
 
386
410
  ---
387
411
 
388
- ## πŸ› οΈ Ecosystem
412
+ ## πŸ› οΈ Ecosystem & Docs
389
413
 
390
414
  | Package | What it does |
391
415
  |---------|-------------|
392
416
  | **[`@cachly-dev/mcp-server`](https://www.npmjs.com/package/@cachly-dev/mcp-server)** | ← you are here |
393
417
  | **[`@cachly-dev/openclaw`](https://www.npmjs.com/package/@cachly-dev/openclaw)** | Cut LLM costs 60–90% in JS/TS apps |
394
418
 
395
- ---
396
-
397
- ## Links
398
-
399
419
  - 🌐 [cachly.dev](https://cachly.dev) β€” Dashboard & free signup
400
420
  - πŸ“– [Docs](https://cachly.dev/docs/ai-memory) β€” Full documentation
401
- - πŸ’¬ [GitHub Issues](https://github.com/cachly-dev/cachly-mcp/issues) β€” Bug reports & feature requests
402
- - ⭐ [Star on GitHub](https://github.com/cachly-dev/cachly-mcp) β€” If cachly saves you time, a star means a lot!
421
+ - πŸ“Š [BENCH.md](./BENCH.md) β€” The recall-quality proof
422
+ - 🧭 [STRATEGY.md](./STRATEGY.md) · [VISION_10X.md](./VISION_10X.md) · [PROGRESS.md](./PROGRESS.md)
423
+ - πŸ’¬ [GitHub Issues](https://github.com/cachly-dev/cachly-mcp/issues) β€” Bugs & feature requests
424
+
425
+ ---
426
+
427
+ > **Stop re-explaining yourself to your own tools.** Give your AI β€” and your team β€” a
428
+ > brain that remembers, learns, and gets sharper with every commit.
429
+ >
430
+ > ```bash
431
+ > npx @cachly-dev/mcp-server@latest setup
432
+ > ```