
janbjorge/rekal
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
janbjorge/rekal은 MCP 서버 후보로 수입 https://github.com/janbjorge/rekal.]
개요
janbjorge/rekal은 MCP 서버 후보로 수입 https://github.com/janbjorge/rekal.]
개요(AI 번역)
** LLM에 대한 장기 기억. SQLite 파일, 클라우드 없음, API 키 없음.**
rekal은 세션 전반에 걸쳐 AI 코딩 에이전트 지속 메모리를 제공하는 MCP 서버입니다. Memories는 SQLite에서 로컬로 저장되며 하이브리드 검색 (BM25 키워드 + 벡터 semantics + recency decay)로 검색됩니다. 아무것도 당신의 기계를 떠납니다.
어떻게 작동 · Quickstart · 설치 · 설정 · 업데이트 · 도구 · 후드 아래 · 문제 해결
MCP-capable 에이전트와 함께 작동 : Claude Code, Codex CLI, OpenCode, Cursor CLI.
어떻게 작동합니까?
- ** 상점.** 에이전트는
memory_store]로 내구성이 좋은 사실을 저장합니다. 환경, 결정, 비 명백한 발견. - ** Index. ** rekal은 SQLite에 그것을 쓰고 그 위에 2개의 색인을 건설합니다: BM25 키워드 색인과 384차원 벡터 embedding, 둘 다 네트워크 통화 없이 국부적으로로 계산했습니다.
- ** 통화.** 나중에 에이전트 호출에
memory_build_context. rekal 혼합 키워드 일치, semantic 유사성, 그리고 recency 단일 점수로 그리고 relevance 지면의 위쪽을 반환합니다.
모든 국가는 단일 파일입니다: ~/.rekal/memory.db. scoring 공식, 스키마 및 embedding 모형을 위해, 두건의 밑에 보십시오.
Quickstart (클래드 코드)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
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.
Session 1: "I prefer Ruff over Black" → memory_store(...)
Session 47: "Set up linting" → memory_build_context("formatting preferences")
← "User prefers Ruff over Black" (0.92)
Sets up Ruff without asking.
How it works
- Store. The agent saves a durable fact with
memory_store: a preference, a decision, a non-obvious discovery. - 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.
- 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)
uv tool install rekal # 1. install rekal (or: pip install rekal)
claude mcp add --scope user rekal -- rekal mcp # 2. register the MCP server (all projects)
claude plugin marketplace add janbjorge/rekal # 3. add the plugin marketplace
claude plugin install rekal-skills@rekal # 4. install the plugin
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
pip install rekal
# or
uv tool install rekal
Requires Python 3.11+. On first run, rekal creates ~/.rekal/memory.db. To upgrade an existing install later, see Updating.
Setup for Claude Code
Three steps: add the MCP server, install the plugin, and disable built-in memory.
1. Add the MCP server. This gives Claude Code the memory tools:
claude mcp add --scope user rekal -- rekal mcp
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"rekal": {
"command": "rekal",
"args": ["mcp"],
"env": {
"REKAL_PROJECT": "my-project"
}
}
}
}