Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By janbjorgeMITIn 1 marketplace
Lets Claude Code recall relevant past preferences and decisions in each prompt and save durable facts before compaction. Hooks on every prompt inject matches and redirect memory-file reads; needs the rekal MCP server and uv on PATH.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Long-term memory for AI coding agents, stored in one SQLite file on your machine.
rekal is an MCP server. As your agent works, it stores durable facts in rekal, such as your preferences, decisions about the project, and things it took effort to find out. In later sessions, rekal recalls the facts that match the current task.
Session 1 You: I prefer Ruff over Black.
Agent: memory_store("User prefers Ruff over Black for linting and formatting")
Session 47 You: Set up linting for this repo.
rekal: recalls "User prefers Ruff over Black for linting and formatting"
Agent: sets up Ruff without asking.
uv tool install rekal # or: pip install rekal
rekal needs Python 3.11 or newer. It creates ~/.rekal/memory.db on first run, and downloads the embedding model (about 67 MB) into ~/.rekal/models the first time it embeds text.
claude mcp add --scope user rekal -- rekal mcp # register the MCP server for all projects
claude plugin marketplace add janbjorge/rekal # add the plugin marketplace
claude plugin install rekal-skills@rekal # install the plugin's hooks and skills
Then add "autoMemoryEnabled": false to ~/.claude/settings.json and restart Claude Code:
{
"autoMemoryEnabled": false
}
Without --scope user, Claude Code registers the server in local scope, which loads it only in the project where you ran the command (MCP scopes).
The plugin's hooks run rekal through uvx, so uv must be on your PATH even if you installed rekal with pip.
Claude Code's built-in auto memory (settings) loads its own notes into the context (context window), and the agent tends to favor them over rekal. Those notes are a flat file that cannot be searched, deduplicated, or ranked. The plugin cannot turn this setting off for you, because a plugin's settings can only set agent and subagentStatusLine (plugins). If you leave it on, the plugin's PreToolUse hooks still steer the agent back to rekal, but every redirect costs a turn.
| Hook | What it does |
|---|---|
SessionStart | Tells the agent that memory lives only in rekal. Injects no memories yet, because there is no prompt to match. |
UserPromptSubmit | Recalls memories that match your prompt and injects the best hits under ## rekal memory. |
PreCompact | Before an automatic compaction, runs an agent hook that saves durable facts from the conversation. |
SessionEnd | Starts a detached, headless claude -p that saves durable facts from the transcript. It runs with --restricted (no shell or web tools, file access limited to the project and the transcript folder, only memory_build_context and memory_store pre-approved), stops after 25 turns, and counts toward your Claude usage. |
PreToolUse | Denies reads and writes of MEMORY.md, MEMORIES.md, and their .txt variants, and points the agent to rekal instead. |
The hooks run the released rekal from PyPI with uvx --from rekal==<version>, pinned to the version the plugin was released with. uvx caches that environment after the first fetch (uv tools), so later runs need no network. A failed fetch, for example when you are offline on first use, never blocks the session; the hook tries again on the next event. If the database is missing or no memory clears the relevance floor, the hook injects only the directive.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub janbjorge/rekal --plugin rekal-skillsPlugins from other owners that cover similar ground