Back to Directory/Developer Tools

io.github.Cavinooo/claude-find

Pull Deep Memory from across your Claude Code Sessions — when you need it.

Developer ToolsTypeScriptv0.2.5

claude-find

Pull deep memory from across your Claude Code sessions — when you need it.

demo

Semantic search over all your past Claude Code sessions. Finds context by meaning and keywords. Searches the raw conversation transcripts, not compressed summaries, so Claude gets the full picture: reasoning, constraints, failed approaches, and decisions.

Setup

brew install bun ollama
bunx claude-find setup

setup starts Ollama, pulls the embedding model, sets session retention to permanent, and registers the MCP server with Claude Code. Sessions are indexed in the background on startup. Searches work immediately and return progressively more complete results as indexing continues.

Linux / Windows

Install Bun and Ollama, then run bunx claude-find setup. It detects your platform and guides you through anything missing.

Use it

In any Claude Code session:

/find that database migration we discussed last week
/find why we chose websockets over polling
/find the session where we kept getting timeout errors
/find refactoring the payment module across all projects

Claude searches your past sessions semantically, finds the relevant conversations, and synthesizes the context: what was tried, what failed, what constraints you set, and what decisions were made.

How it works

  1. Indexes all Claude Code session JSONL files from ~/.claude/projects/
  2. Extracts user + assistant messages, compact summaries, file paths from tool calls
  3. Enriches each chunk with metadata context (project, branch, files, date) for better retrieval
  4. Embeds conversation chunks using qwen3-embedding via Ollama (GPU accelerated)
  5. Searches with hybrid semantic + keyword (FTS5) merged via Reciprocal Rank Fusion
  6. Returns raw conversation chunks so Claude can synthesize with full context

After upgrading, run bunx claude-find index to rebuild the index with the latest improvements.

What makes this different

  • Searches raw transcripts. Nothing lost through compression.
  • Retroactive: works on all existing sessions immediately. No hooks needed.
  • Permanent history: setup disables Claude Code's 30-day session cleanup so your sessions are searchable forever.
  • Non-blocking: indexes in the background at startup. Searches work instantly, even mid-indexing.
  • Uses compact summaries: Claude's own session understanding, boosted in ranking.
  • Indexes tool call metadata: search by files touched, errors encountered.
  • Fast: Ollama + GPU keeps indexing fast and memory bounded.

Requirements

  • Bun runtime
  • Ollama (model auto-downloaded on first use)
  • Claude Code

License

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y claude-find

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-cavinooo-claude-find": {
      "command": "npx",
      "args": [
        "-y",
        "claude-find"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

claude-findnpm

Compatible MCP Clients

io.github.Cavinooo/claude-find works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More