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.2

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.2
File Size Uploaded Provenance Actions
search_claude_history-0.3.2.tar.gz 2.2 kB Without provenance Details for search_claude_history-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 5.2 kB

Release files / search_claude_history-0.3.2.tar.gz

Download URL search_claude_history-0.3.2.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7b0712515b47d99849cb8f15ca00ff9246ca9818210b5a24cbc187b57be713bf
BLAKE2b-256 checksum
How to use checksums
545d2d217458af826d3a5fa91da544260198196e378e38a0fad1880903af5b42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.2-py3-none-any.whl

Download URL search_claude_history-0.3.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f327c11871718ce66dc1c99af35ebddd044e8e6bcf2d37d58115b9edb619a34
BLAKE2b-256 checksum
How to use checksums
27a998bca10878c5c34f38245a31ade2dececffd0766439f21d83ea00f5668c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.2

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