Skip to main content

ccsearch

Search your Claude Code sessions by content — find the chat that discussed a ticket, PR, file, or idea weeks later, even after it drifted across topics. ccsearch reads the actual conversation from your transcripts (never the JSON metadata) and gives you a fast fuzzy browser with live preview and one-key resume.

The ccsearch browser: matching sessions on the left, the matching messages of the selected one on the right

Install

brew install alex-yanchenko/tap/ccsearch   # macOS/Linux — also installs ripgrep + fzf

Prefer Python tooling? uvx ccsearch (run once) or pipx install ccsearch — then install ripgrep and fzf yourself. Needs Python 3.9+.

Use

ccsearch              # interactive browser: type to search, Enter resumes the session
ccsearch <keyword>    # list sessions mentioning <keyword>, ranked
ccsearch --index [N]  # summarize the N most-recent sessions (title + tickets)

In the browser: Enter resumes · Ctrl-T search mode (anywhere / one-message / exact) · Ctrl-S sort (date ⇄ matches) · Esc quits.

ccsearch "rate limit" listing three sessions, each with its match count, a snippet and the command to resume it

The sessions in these images are invented. bash scripts/render-images.sh regenerates the images from scripts/images/demo-sessions with a throwaway cache, never reading your own sessions. It needs uv, Google Chrome, tmux, fzf and ripgrep, and fetches ansi2html through uvx; set CHROME_PATH if Chrome is not at its macOS location.

Zero config — it works out of the box. The first run caches your sessions under ~/.cache/ccsearch (plaintext, no network; rm -rf it anytime to reset).

License

PolyForm Noncommercial 1.0.0 — free for noncommercial use.

Metadata

Release files for ccsearch 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ccsearch 0.2.6
File Size Uploaded Provenance Actions
ccsearch-0.2.6.tar.gz 15.6 kB With provenance Details for ccsearch-0.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ccsearch 0.2.6
File Interpreter ABI Platform Actions
ccsearch-0.2.6-py3-none-any.whl Python 3 none any Details for ccsearch-0.2.6-py3-none-any.whl

Total release size: 31.6 kB

Release files / ccsearch-0.2.6.tar.gz

Download URL ccsearch-0.2.6.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5c7ba739bf97c19ac7749fb89714fa277f959bcd303932ea47a234abc2507514
BLAKE2b-256 checksum
How to use checksums
094bbbffd410715ff1e3c86ec91e99236b563a4bc46908ad0723692a31aa14fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / ccsearch-0.2.6-py3-none-any.whl

Download URL ccsearch-0.2.6-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e65f0fc4a777effb667341db4af07c3b785bf7151078d20180f33fa4f143529
BLAKE2b-256 checksum
How to use checksums
0bd2ec4a3cc1c7b8d8317abc1ea255582dbeed184ff741d69783261becd9e6b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for ccsearch 0.2.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ccsearch-0.2.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page