memgrep makes Cursor chat history searchable across projects
Cursor saves chat on your computer, but they are usually separated by project and are hard to search together. memgrep collects Cursor agent into one able memory. It can also work with Claude Code and Kiro histories.
`npx memgrep ingest` scans the , `npx memgrep recall "how did we fix the auth race?"` searches past chats by meaning, and `npx memgrep copy` copies the best result to the clipboard so it can be pasted into another chat. The first recall or ingest downloads an of about 25MB, and after that the tool runs offline. As an MCP server, memgrep can let a Cursor agent look up old chats while it is working, including chats from other projects.
The agent gets `recall(query)`, `get_chat(id)`, and `list_chats()` tools for finding and opening past conversations.
Key points
- Cursor can be searched across projects instead of staying split by project.
- memgrep also supports Claude Code and Kiro histories.
- Search uses , so it can find related past chats without exact matching words.
- The tool downloads a roughly 25MB once, then works offline.
- As an MCP server, it lets an agent query old chats during a task.