stifler-memex-mcp 0.5.0 → 0.6.0
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 +32 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -173,6 +173,37 @@ flowchart LR
|
|
|
173
173
|
| User overrides | `.memex/clusters.yaml` — any assignment can be locked |
|
|
174
174
|
| Context budget | `get_project_context` stays under 1500 tokens whether your repo has 50 or 5000 modules |
|
|
175
175
|
|
|
176
|
+
## Measure Your Savings
|
|
177
|
+
|
|
178
|
+
memex tracks token reduction metrics and human review actions locally in a SQLite database (`~/.config/memex/telemetry.db`).
|
|
179
|
+
|
|
180
|
+
You can query your savings at any time using the CLI:
|
|
181
|
+
```bash
|
|
182
|
+
memex stats
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Or view the raw JSON payload:
|
|
186
|
+
```bash
|
|
187
|
+
memex stats --json
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
Or target a specific repository scope:
|
|
191
|
+
```bash
|
|
192
|
+
memex stats --repo /path/to/repo
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
This returns an aggregation of:
|
|
196
|
+
- **Period Summaries**: Calls, tokens returned, naive tokens (size of files requested), tokens saved, and token reduction percentage across `today`, `last 7 days`, `last 30 days`, and `lifetime`.
|
|
197
|
+
- **Top Tools**: The most valuable tools sorted by total tokens saved.
|
|
198
|
+
- **Agent Clients**: Active agents (Claude Code, Gemini CLI, Cursor, Codex) and their token saving distribution.
|
|
199
|
+
- **Validation Health**: Total validated, unvalidated, and corroborated nodes, along with the elapsed days since the last review.
|
|
200
|
+
|
|
201
|
+
The same statistics are exposed via the HTTP MCP transport:
|
|
202
|
+
```http
|
|
203
|
+
GET /stats?repo=/path/to/repo
|
|
204
|
+
Authorization: Bearer <your-key>
|
|
205
|
+
```
|
|
206
|
+
|
|
176
207
|
## Connect your agent
|
|
177
208
|
|
|
178
209
|
<details>
|
|
@@ -310,6 +341,7 @@ memex/
|
|
|
310
341
|
| `memex graph --output graph.html` | Self-contained D3 force layout with cluster overlays |
|
|
311
342
|
| `memex cluster [--rerun] [--dry-run]` | Run Leiden over the hybrid edge graph; pin cluster IDs by Jaccard ≥ 0.5 |
|
|
312
343
|
| `memex memory-tool serve` | Back Anthropic's `memory_20250818` tool with a graph projection |
|
|
344
|
+
| `memex stats [--json] [--repo <path>]` | Show context token savings and telemetry stats |
|
|
313
345
|
|
|
314
346
|
## License
|
|
315
347
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stifler-memex-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"mcpName": "io.github.stifler7/memex",
|
|
5
5
|
"description": "Developer context continuity system — temporal knowledge graph for AI coding agents via MCP. Inspired by Vannevar Bush's 1945 concept of a machine that remembers everything.",
|
|
6
6
|
"bin": {
|