Search Claude Code and OpenAI Codex CLI conversations locally with hybrid semantic and keyword retrieval.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag ā we're steadily working through the catalog.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Lore.
manage_projectsExclude/include projects from indexing (opt-out model)
indexStart background indexing. All non-excluded projects. Modes: `incremental` (default), `rebuild`, `cancel
statusCheck indexing progress, ETA, skip reasons, DB health
searchSemantic + keyword search across conversations
get_contextExpand search results with surrounding conversation
list_sessionsBrowse indexed sessions by project
Semantic search across your Claude Code and OpenAI Codex CLI conversations. Find anything you've ever discussed -- across all projects, all sessions, any branch, any agent.
Hybrid search (vector + keyword) Combines multilingual-e5-small embeddings with FTS5/BM25 via Reciprocal Rank Fusion. Finds results by meaning and exact terms.
Multi-agent: Claude Code + Codex CLI
Indexes both ~/.claude/projects/ (Claude Code) and ~/.codex/sessions/ (OpenAI Codex CLI) in the same DB. Codex sessions are grouped by cwd from session_meta, surfaced as codex-<path> virtual projects so you can search them together or filter to one agent.
Fully local, zero API keys Everything runs on your machine. ONNX Runtime for embedding, sqlite-vec for storage. No data leaves your device.
Auto-index on session end A SessionEnd hook automatically indexes all new sessions in the background. No manual triggers needed.
Background indexing Manual index triggers return instantly. Monitor progress while you keep working. Search what's already indexed while the rest catches up.
Opt-out by default All projects are indexed automatically. Exclude the ones you don't want. No registration needed.
Conversation-aware chunking Splits by logical turns (user question + full assistant response chain), not arbitrary token windows. Handles tool-use chains, thinking blocks, and multi-step interactions correctly.
100+ languages Korean, Japanese, Chinese, English, and 90+ more. CJK-aware token estimation for accurate chunking.
Once connected, the AI can use lore's tools directly:
First time setup:
index() scans all projects automatically, runs in background| Tool | Purpose |
|---|---|
manage_projects | Exclude/include projects from indexing (opt-out model) |
index | Start background indexing. All non-excluded projects. Modes: incremental (default), rebuild, cancel |
status | Check indexing progress, ETA, skip reasons, DB health |
search | Semantic + keyword search across conversations |
get_context | Expand search results with surrounding conversation |
list_sessions | Browse indexed sessions by project |
Claude Code stores every conversation as a JSONL transcript in ~/.claude/projects/, and OpenAI Codex CLI stores its rollouts in ~/.codex/sessions/YYYY/MM/DD/. After a few weeks, you have hundreds of sessions across dozens of projects, often spread across both agents -- discussions about architecture decisions, debugging sessions, code reviews, and design explorations.
But there's no way to search through them. You can't ask "what approach did we take for the auth middleware?" or "which project had that database migration discussion?"
Existing tools either require cloud APIs, spawn zombie processes, or treat conversations as generic documents. lore is purpose-built for AI coding sessions: it understands turn boundaries, tool-use chains, and thinking blocks, and parses both Claude Code and Codex JSONL formats natively. It runs entirely locally with zero dependencies beyond Node.js.
Codex sessions are grouped by cwd extracted from each file's session_meta line and surfaced as codex-<path> virtual projects in the index.
Storage: Single SQLite file at ~/.lore/lore.db with WAL mode for concurrent reads.
Config: Project exclusions stored in ~/.lore/config.json.
| Variable | Default | Description |
|---|---|---|
LORE_DIR | ~/.lore | Data directory |
LORE_DB | ~/.lore/lore.db | Database path |
CLAUDE_PROJECTS_DIR | ~/.claude/projects | Claude Code transcripts location |
CODEX_SESSIONS_DIR | ~/.codex/sessions | OpenAI Codex CLI rollouts location |
Measured on Apple Silicon (M-series):
| Metric | Value |
|---|---|
| Search latency | 20-30ms |
| Index speed | ~10 sessions/sec |
| First search (cold model load) | ~5s |
| DB size | ~0.1MB per 10 sessions |
| Model size (downloaded once) | ~112MB |
Run manage_projects with action list to see available projects. All are indexed by default unless excluded.
If indexing was interrupted, the lock file auto-cleans on next run (PID-based detection).
Delete ~/.lore/lore.db and re-index. Your source data (~/.claude/projects/) is never modified.
MIT
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hyunjae-labs-lore)<a href="https://allmcps.com/mcp/hyunjae-labs-lore"><img src="https://allmcps.com/api/badge/hyunjae-labs-lore?style=directory" alt="Lore on AllMCPs" /></a>