Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

deja-vu

Lets your AI agent search the saved session history of your coding agents so it stops repeating past debugging.

1.4k stars on GitHubby vshulczLicense MITUpdated 18 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 deja-vu -- npx -y @vshulcz/deja-vu mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Have we dealt with jwt refresh rotation before?
Which session changed this line in auth.go, and why?

What it is

deja-vu indexes the session histories that 43 coding agents already save to disk, such as Claude Code, Codex and Cursor. It then hands relevant past sessions back to your agent over MCP and hooks. It runs locally as one Go binary with no LLM calls.

What it can do

  • deja recall: bring back relevant past sessions
  • deja ctx: get context from history
  • deja blame: trace a file line back to the session that changed it
  • deja restore: restore a file path from history
  • deja promote: mark a decision as accepted or rejected
  • deja repo add: share chosen decisions in the repository
  • deja view: export history to one local HTML file

When to use

  • β€ΊWhen you fixed a bug in one agent and want another agent to remember the fix.
  • β€ΊWhen a context compaction made your agent forget decisions or commands.
  • β€ΊWhen you want teammates' agents to recall decisions stored in the repository.

What you need

Install the deja binary (install script, Homebrew, Scoop, winget, npm or go install), then run deja install --auto. No account and no LLM key.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The project uses an open license file and needs no cloud account.

Does it send my data anywhere?

The readme says it is local and private by default, with zero LLM calls and automatic credential redaction at index time.

Which agents does it work with?

43 agents, including Claude Code, Codex, Cursor, OpenCode, Gemini CLI and OpenClaw.

Does it work on Windows?

Yes, through Scoop, winget or a release zip. The install script itself is for macOS and Linux.

How long does setup take?

The readme says the initial index takes about 10 seconds after deja install --auto.

Can I try it without installing?

Yes, with npx @vshulcz/deja-vu sources.

If it does not work

  • β€ΊRun deja doctor to see which agents are wired; binary-only setups show config missing, which is expected.
  • β€ΊOn Windows the shell install script exits with unsupported OS; use Scoop or winget instead.
  • β€ΊOpen a new agent session after deja install so the hooks and MCP config load.

5 new skills a week. 1 minute to read.