opencode-fractal-memory

holgerreppert/opencode-fractal-memory
★ 3 stars TypeScript Search Updated 1d ago
A fractal memory plugin and mcp server for opencode.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "opencode-fractal-mem": {
      "command": "npx",
      "args": [
        "-y",
        "holgerreppert/opencode-fractal-memory"
      ]
    }
  }
}

README Excerpt

Fractal memory system for [OpenCode](https://opencode.ai) with semantic search, automatic compression, and multi-level retrieval. I made this because I needed a longterm memory at first. Then while working with it I extended it's functionality. I realized that the overall amout of tokens that gets used is huge.

Tools (15)

autoCompressThresholdcacheSizecacheTTLHourscoreInjectionTokenscriticalContextThresholddefaultTtlDaysenableMiddleTermCaptureerrorPruningeventgenericgrephighContextThresholdmaxInjectionTokenstoolDeduptruncate