{"repo":"janbjorge/rekal","free":true,"listed":false,"github":"https://github.com/janbjorge/rekal","clone":"git clone https://github.com/janbjorge/rekal.git","description":"Long-term memory for LLMs. MCP server backed by hybrid search in a single SQLite file.","language":"Python","stars":52,"topics":["llm","mcp","mcp-server","memory","python","sqlite","vector-search"],"license":"MIT","category":"mcp-servers","readme_excerpt":"rekal Long-term memory for LLMs. One SQLite file, no cloud, no API keys. rekal is an MCP server that gives AI coding agents persistent memory across sessions. Memories are stored locally in SQLite and retrieved with hybrid search (BM25 keywords + vector semantics + recency decay). Nothing leaves your machine. How it works · Quickstart · Install · Setup · Updating · Tools · Under the hood · Troubleshooting Works with any MCP-capable agent: Claude Code, Codex CLI, OpenCode, Cursor CLI. How it works 1. Store. The agent saves a durable fact with memory store : a preference, a decision, a non-obvious discovery. 2. Index. rekal writes it to SQLite and builds two indexes over it: a BM25 keyword index and a 384-dimensional vector embedding, both computed locally with no network calls. 3. Recall. In a later session the agent calls memory build context . rekal blends keyword match, semantic similarity, and recency into a single score and returns the top hits above a relevance floor. All state is a single file: /.rekal/memory.db . For the scoring formula, schema, and embedding model, see Under the hood. Quickstart (Claude Code) Then add \"autoMemoryEnabled\": false to /.claude/settings.json so Claude Code's built-in memory doesn't compete with rekal. Restart Claude Code and the agent has persistent memory. For what each step does, the other agents (Codex CLI, OpenCode), and the rationale behind disabling built-in memory, read on. Install Requires Python 3.11+. On first run, rekal creates ","default_branch":null,"files":null,"tree":[],"storefront":"/r/janbjorge","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/janbjorge/rekal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}