th-memory-mcp

worakorn-prince/th-memory-mcp
★ 1 stars TypeScript AI/LLM Updated today
Adaptive long-term memory MCP server for OpenCode (SQLite-backed, local-only)
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": {
    "th-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "worakorn-prince/th-memory-mcp"
      ]
    }
  }
}

README Excerpt

Long-term memory MCP server for OpenCode — stores preferences, lessons, and usage history in a single local SQLite file (100% local, no external API) so the AI can "remember and adapt" to the user through context-based learning. **Status:** v2.2.2 — a temporal, conflict-aware, hybrid-retrieval memory engine. 16 MCP tools, 20 passing test suites. Non-destructive schema migration from v1 (all v1 data preserved). New in v2: lifecycle states, temporal validity, conflict/dedup resolution with USER/SE

Tools (16)

consolidateexport_memoryextract_memoriesforgetget_contextget_profileget_recent_interactionsimport_memorylink_memorymemory_statsmerge_memoryrecallremembersave_lessonsearch_historyupdate_memory

Topics

agentaiai-agentcontext-learningdeveloper-toolsllmlocal-firstmcpmemorymodel-context-protocolnodejsopencodeprivacyproductivitysqlite