Skip to main content

cclog

Python 3.10+ License: MIT

Browse, search, and analyze your Claude Code conversation history.

cclog

Install

pip install claude-log

Usage

cclog                          # opens browser at localhost:9117
cclog --port 3000              # custom port
cclog --no-open                # don't auto-open browser
cclog --host 0.0.0.0           # bind to all interfaces
cclog --claude-home /path/to   # custom claude directory

Features

  • Search — full-text search across all conversations via Whoosh
  • Browse — conversations grouped by project with auto-summaries
  • Analytics — token usage, estimated cost, model breakdown, activity heatmap
  • Tag & organize — name, tag, and favorite conversations
  • Export / Import — export per project or per chat, import on any machine
  • Resume — copy claude --resume <id> command from any conversation
  • Read-only — never modifies ~/.claude/, metadata stored separately in ~/.local/share/cclog/
  • API — full REST API with Swagger docs at /docs

How it works

cclog reads your Claude Code history from ~/.claude/ in read-only mode and serves a web UI.

~/.claude/                      <- read-only (never modified)
├── history.jsonl
├── projects/
│   └── -Users-you-project/
│       ├── session-id.jsonl    <- full conversation
│       └── sessions-index.json
└── sessions/

~/.local/share/cclog/           <- cclog's data
├── metadata.json               <- tags, renames, favorites
└── index/                      <- search index

API

Method Endpoint Description
GET /api/v1/projects List projects with stats
GET /api/v1/sessions/:id Full conversation
PATCH /api/v1/sessions/:id/meta Update name, tags, favorite
POST /api/v1/sessions/:id/delete Soft-delete
GET /api/v1/search?q=query Full-text search
GET /api/v1/analytics/overview Dashboard analytics
GET /api/v1/export/session/:id Export single conversation
GET /api/v1/export/project/:id Export project conversations
POST /api/v1/import Import from zip

Interactive docs at /docs (Swagger UI).

Tech

Python, FastAPI, Whoosh, Jinja2

License

MIT

Metadata

Release files for claude-log 0.1.4

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

Source distribution (sdist)

Source distribution for claude-log 0.1.4
File Size Uploaded Provenance Actions
claude_log-0.1.4.tar.gz 33.1 kB Without provenance Details for claude_log-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for claude-log 0.1.4
File Interpreter ABI Platform Actions
claude_log-0.1.4-py3-none-any.whl Python 3 none any Details for claude_log-0.1.4-py3-none-any.whl

Total release size: 72.0 kB

Release files / claude_log-0.1.4.tar.gz

Download URL claude_log-0.1.4.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f4b56bbb0a1c080972ae1995351c3b3a74779a3a3043e096dfd515c3537a4e56
BLAKE2b-256 checksum
How to use checksums
73a50f2d3316854a58989ad8fd7035da3037561b228879bd979bcb693080f6a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / claude_log-0.1.4-py3-none-any.whl

Download URL claude_log-0.1.4-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edbebf3970e3ad75fe4e7d971d5203e1dd2d1a70d131f23116ec23367e8c6f52
BLAKE2b-256 checksum
How to use checksums
8b475f90032de355edbcaa9ba53a7dcbda5b5915c116cdd1f1e686028041d5cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for claude-log 0.1.4

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