claude-find
claude-find
Извлекайте глубокую память из всех ваших сессий Claude Code — когда вам это нужно.

Семантический поиск по всем вашим прошлым сессиям Claude Code. Находит контекст по смыслу и ключевым словам. Выполняет поиск по необработанным транскриптам разговоров, а не по сжатым сводкам, поэтому Claude получает полную картину: рассуждения, ограничения, неудачные подходы и принятые решения.
Настройка
brew install bun ollama
bunx claude-find setupsetup запускает Ollama, загружает модель эмбеддингов, устанавливает постоянное хранение сессий и регистрирует MCP-сервер в Claude Code. Сессии индексируются в фоновом режиме при запуске. Поиск работает сразу и возвращает все более полные результаты по мере продолжения индексации.
Установите Bun и Ollama, затем выполните bunx claude-find setup. Программа определит вашу платформу и поможет с установкой недостающих компонентов.
Related MCP server: Central Brain
Использование
В любой сессии Claude Code:
/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 projectsClaude выполняет семантический поиск по вашим прошлым сессиям, находит соответствующие разговоры и синтезирует контекст: что было опробовано, что не удалось, какие ограничения вы установили и какие решения были приняты.
Как это работает
Индексирует все JSONL-файлы сессий Claude Code из
~/.claude/projects/Извлекает сообщения пользователя и ассистента, краткие сводки, пути к файлам из вызовов инструментов
Обогащает каждый фрагмент контекстными метаданными (проект, ветка, файлы, дата) для лучшего поиска
Создает эмбеддинги фрагментов разговоров с помощью qwen3-embedding через Ollama (с ускорением GPU)
Выполняет поиск с использованием гибридного семантического + ключевого (FTS5) поиска, объединенного через Reciprocal Rank Fusion
Возвращает необработанные фрагменты разговоров, чтобы Claude мог синтезировать их с полным контекстом
После обновления выполните bunx claude-find index, чтобы перестроить индекс с учетом последних улучшений.
В чем отличие
Поиск по необработанным транскриптам. Ничего не теряется из-за сжатия.
Ретроактивность: работает со всеми существующими сессиями сразу. Хуки не требуются.
Постоянная история: настройка отключает 30-дневную очистку сессий Claude Code, поэтому ваши сессии доступны для поиска вечно.
Неблокирующий режим: индексация происходит в фоновом режиме при запуске. Поиск работает мгновенно, даже во время индексации.
Использование кратких сводок: собственное понимание сессии Claude, повышенное в ранжировании.
Индексация метаданных вызовов инструментов: поиск по затронутым файлам, возникшим ошибкам.
Быстродействие: Ollama + GPU обеспечивают быструю индексацию с ограниченным потреблением памяти.
Требования
Лицензия
MIT
Available Tools
1 toolsearch_sessionsA
Search the full conversation history from past Claude Code sessions stored in ~/.claude/projects/. This tool has access to the complete raw transcripts of all previous sessions — including the actual back-and-forth discussion, reasoning, failed approaches, user constraints, and code decisions. Use this tool FIRST whenever the user mentions anything from a past session, asks 'what did we discuss', 'pull in context from', 'remember when we', 'how did we handle', or references any prior work. This tool searches semantically — the user doesn't need to remember exact words. Much more detailed than built-in memory.
Inputs: query (required), max_sessions, max_chunks, scope, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The tool's purpose is clearly defined.
The single tool name 'search_sessions' follows a consistent verb_noun pattern, though there are no other tools to compare against.
A single tool for searching is borderline thin; most servers of this scope would benefit from at least 2-3 tools (e.g., list_sessions, get_session). The count is at the low end of reasonable.
The tool covers the core search functionality well, but lacks complementary tools such as listing available sessions or retrieving full transcripts by ID, which would make the surface more complete.
Maintenance
Related MCP Connectors
Persistent memory for Claude Code and Cursor. Stop re-explaining your project every session.
Persistent cross-session memory shared by Codex, Claude Code, ChatGPT, and other AI agents.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Shared memory for AI tools: save once, recall word for word from Claude, ChatGPT, Codex or Gemini.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to query and analyze past Claude Code sessions, providing structured insights like file changes, decisions, errors, and git history across projects.1121 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProvides persistent memory for Claude Code, automatically extracting and surfacing relevant context from past sessions to avoid re-explaining issues and decisions.MIT
- AlicenseNot gradedqualityAmaintenanceEnables Claude Code to search and retrieve past chat history from Claude.ai exports and Claude Code sessions, allowing the AI to reference previous conversations and decisions.MIT
- AlicenseNot gradedqualityDmaintenanceProvides local-first, cross-session memory for Claude Code, enabling semantic search across past sessions to retrieve procedures, decisions, or answers without exposing secrets.Apache 2.0