searchLABSCO SUMMARY
Claude Code rotates its session files; this copies them into SQLite before they are gone.
Nothing is summarized and no model decides what was worth keeping, so what you get back months later is what actually happened — and it survives the source files being deleted. Output is capped by design: a full recall across 100+ sessions comes back around 4K tokens, far less than reading a single raw session file.
What it is
A local memory store for Claude Code. It ingests session transcripts into SQLite — every tool call, file edit and thinking block, stored verbatim — and makes them searchable, replayable and recallable in natural language.
What you get
- recall — fuzzy natural-language recall across every session, the recommended first call
- recall_project_status — a git-aware summary of where a project was left, with commits, issues and last outcome
- search — filtered search by session, project, tool, file and event type, optionally with surrounding conversation
- list_sessions and get_session_timeline, with tail pagination for "how did it end"
- find_episodes — structured problem-to-fix pairs, with the referenced events, diff and post-fix file state
- replay_file and get_file_history — reconstruct a file at a point in time, or every edit across sessions
- find_commits, list_projects, list_plans and get_stats
- reconcile — re-ingest and re-attribute from inside a session; it defaults to a dry run
Requirements
pip install longhand, then longhand setup to ingest your history, install hooks and configure MCP. Python 3.10+, version 1.0.1. It reads your local session files and makes no API calls; longhand demo runs a sandboxed walkthrough that never touches them.
Setup effort
One command — pip install longhand
USE CASES
Finding that fix from three weeks ago
Describe it in your own words and get the episode, with the diff attached.
Picking a project back up
Ask where you left off and get commits, issues and the last outcome together.
Seeing what a file looked like before
Reconstruct its state at a point in time, or list every edit it has ever had.
Finding when a change actually landed
Search commits across all sessions by message, hash prefix or branch.
13 tools
Listed in project docs. Your client may show a different list.
list_sessionsget_session_timelinereplay_fileget_file_historyget_statsrecallrecall_project_statusfind_episodeslist_projectslist_plansfind_commitsreconcileBEFORE YOU INSTALL
What to know first
Tools you get
13 tools named in the project's documentation.
Requires
- pip on PATH
- Python 3.10
INSTALLATION
Connect your client
Server setup
pip install longhandMCP Clients
Claude Code
longhand setupClaude Desktop
longhand mcp install