top | item 46512501

Show HN: ccrider - Search and Resume Your Claude Code Sessions – TUI / MCP / CLI

19 points| nberkman | 1 month ago |github.com

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

4 comments

order

bakkerinho|1 month ago

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.

nberkman|1 month ago

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.