Hacker News new | ask | show | jobs
Show HN: ccrider - Search and Resume Your Claude Code Sessions – TUI / MCP / CLI (github.com)
19 points by nberkman 167 days ago
I built a tool that stores your full Claude Code history to let you easily find and resume sessions. It has TUI, CLI and MCP interfaces. It's a single Go binary, and the session history is synced to SQLite each time you use it.

Default mode is the TUI with a session browser and full-text search. Once a session is selected you can browse and search within it, resume it or export to markdown.

The MCP server provides tools to let Claude search back through the session for pre-compact context or pull from prior sessions. I use this constantly.

I've seen elaborate continuity systems to give Claude Code access to history but this simple approach has been very effective.

Installation:

macOS: brew install neilberkman/tap/ccrider

Linux/other: git clone https://github.com/neilberkman/ccrider && cd ccrider && go build

MCP server: claude mcp add --scope user ccrider $(which ccrider) serve-mcp

Source: https://github.com/neilberkman/ccrider

2 comments

Nice work.

But is just using `/rename` not solving this as well?

For example:

  /rename api-migration          # Names your current session.

  /resume api-migration          # Resumes by name.

  claude --resume api-migration  # Works from the command line too.
That makes resuming easier, if you remember to rename in your current session. But that doesn’t solve being able to search history from earlier in your current session or from your entire history of sessions. Or resuming sessions for which you’ve forgotten the name.
Your homebrew install fails

https://github.com/neilberkman/homebrew-tap - 404s

Ugh, thanks for flagging! Fixed.