AgentRecall
Lets your AI agent remember your corrections across sessions and check them before risky actions, all stored locally.
373 stars on GitHubby GoldentriiLicense MITUpdated 22 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add agent-recall -- npx -y agent-recall-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Remember that you must never bump the version without asking me.
Before you publish, check if any earlier correction applies.
What it is
AgentRecall keeps a local record of the corrections you give your agent, plus journals and notes, as markdown files in ~/.agent-recall/. At the start of a session the agent loads those rules, and it records whether the same mistake came back. Nothing leaves your machine.
What it can do
session_start: load corrections and warnings before actingremember: save a fact or correctionrecall: search past contextcheck: match a planned action against known correctionssession_end: save the journal at the endcheck_actionand more with the --full option
When to use
- βΊWhen you are tired of repeating the same correction to your agent every session.
- βΊWhen you want a warning before the agent publishes, pushes or deletes.
- βΊWhen you want session notes saved without a cloud service.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
AgentDB Memory PatternsLets your agent remember conversations and context across sessions, using AgentDB as its persistent memory store.agent-memory-coordinatorGuides your agent to save and recall useful information across sessions, and to share it with other agents.para-memory-filesLets your agent use a file-based memory system to store and organize knowledge. It's useful for saving facts, daily notes, and recalling information across sessions.Frequently asked questions
Is it free and open source?
Yes, it has an MIT license badge and is published on npm.
Where is my data stored?
Locally in ~/.agent-recall/ as markdown files. The readme says nothing leaves the machine.
Which tools are on by default?
Five: session_start, remember, recall, check and session_end.
Does it work automatically?
On Claude Code you can wire hooks that load context, capture corrections and warn before risky commands without being asked.
Does it keep secrets?
The readme tells the agent not to store secrets, tokens or credentials.
Which clients work?
Claude Code through claude mcp add, and any MCP client with the npx config.
If it does not work
- βΊCheck that Node.js is installed so npx can run agent-recall-mcp.
- βΊRun ar health to see recent hook failures if automatic saving stops.
- βΊRun npx -y agent-recall-mcp --list-tools to see what your install exposes.
5 new skills a week. 1 minute to read.