Skip to main content

search-claude-history

Search your Claude Code session history from the command line: find the conversation where you solved something, a command you ran, or an error you hit, with regular expressions, time filters, and surrounding context. It searches Claude Code by default and can search your other coding agents too, without reinstalling anything (see below).

uv tool install search-claude-history
search-claude-history "pattern"

search-claude-history is a build of search-clanker-history, which also searches other coding agents, so it installs search-clanker-history at the same version and defaults to Claude Code. The documentation lives there.

To search other agents as well, change the default once, with no reinstall:

search-claude-history --default-agents claude codex     # for example, add another agent
search-claude-history --default-agents all               # every agent that has history
search-claude-history --default-agents reset             # back to Claude Code only

search-claude-history --agent AGENT overrides the default for a single search. The choice is saved in ~/.config/search-history/config.json (under $XDG_CONFIG_HOME when that is set, and in %APPDATA%\search-history\config.json on Windows), and search-claude-history --default-agents prints the exact path. The settings file is shared by every package, so a default you save applies to all of them.

Already have an older search-claude-history? uv tool upgrade search-claude-history keeps your behavior, but the short command sch is gone; use search-claude-history, or make sch an alias for it. search-claude-history --default-agents all adds the other agents.

Metadata

Release files for search-claude-history 0.3.0

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

Source distribution (sdist)

Source distribution for search-claude-history 0.3.0
File Size Uploaded Provenance Actions
search_claude_history-0.3.0.tar.gz 2.2 kB Without provenance Details for search_claude_history-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for search-claude-history 0.3.0
File Interpreter ABI Platform Actions
search_claude_history-0.3.0-py3-none-any.whl Python 3 none any Details for search_claude_history-0.3.0-py3-none-any.whl

Total release size: 5.2 kB

Release files / search_claude_history-0.3.0.tar.gz

Download URL search_claude_history-0.3.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2d69fabc0594a75556848d9ec5c64685b2c144bf1d297fa7ddc8b46b8ad02748
BLAKE2b-256 checksum
How to use checksums
8fb7ecd840de0fe7fa11e510f8397586abb4af11691edcd0c8b106b62478209b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / search_claude_history-0.3.0-py3-none-any.whl

Download URL search_claude_history-0.3.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b81889eb00aa38c3a1e35351ffb731ff6809531d9341acea68b05f701c70fbef
BLAKE2b-256 checksum
How to use checksums
0aa55a9dcf24a66b9fe8bf6bd869675333343ebb6c97cd52960c27448cf32a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for search-claude-history 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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