Ccsinfo
Query and analyze Claude Code session data from a remote server. Use when asked to inspect Claude Code sessions, view conversation history, check tool calls,...
Query and analyze Claude Code session data from a remote server. Use when asked to inspect Claude Code sessions, view conversation history, check tool calls,...
Real data. Real impact.
Growing
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Access and analyze Claude Code session data from a remote ccsinfo server running on the user's machine.
Server Repository: https://github.com/myk-org/ccsinfo
The ccsinfo server must be running on the machine that has Claude Code session data.
Install and run the server:
# Install ccsinfo uv tool install git+https://github.com/myk-org/ccsinfo.gitStart the server (accessible on LAN)
ccsinfo serve --host 0.0.0.0 --port 9999
The server reads Claude Code session data from
~/.claude/projects/ and exposes it via REST API.
For full server documentation, see: https://github.com/myk-org/ccsinfo
The
ccsinfo CLI tool must be installed. Check if installed:
which ccsinfo
If not installed, run the installation script:
bash scripts/install.sh
Set the
CCSINFO_SERVER_URL environment variable to point to your server:
export CCSINFO_SERVER_URL=http://192.168.1.100:9999
Add this to your shell profile (
.bashrc, .zshrc, etc.) to persist across sessions.
All commands automatically connect to the remote server via
$CCSINFO_SERVER_URL.
ccsinfo sessions list
ccsinfo sessions show <session-id>
ccsinfo sessions messages <session-id>
ccsinfo search sessions "search term"
ccsinfo stats global
List sessions to find the ID:
ccsinfo sessions list
Show session details:
ccsinfo sessions show <id>
View messages:
ccsinfo sessions messages <id>
Check tool calls:
ccsinfo sessions tools <id>
# Search across all sessions ccsinfo search sessions "refactor"Search message content
ccsinfo search messages "fix bug"
Search prompt history
ccsinfo search history "implement feature"
# Show all pending tasks ccsinfo tasks pendingList tasks for a session
ccsinfo tasks list -s <session-id>
Show specific task details
ccsinfo tasks show <task-id> -s <session-id>
# Overall usage stats ccsinfo stats globalDaily activity breakdown
ccsinfo stats daily
Analyze trends over time
ccsinfo stats trends
# List all projects ccsinfo projects listShow project details
ccsinfo projects show <project-id>
Project statistics
ccsinfo projects stats <project-id>
Most commands support
--json for machine-readable output:
ccsinfo sessions list --json ccsinfo stats global --json
This is useful for parsing results programmatically or filtering with
jq.
Session IDs support partial matching - use the first few characters:
ccsinfo sessions show a1b2c3 # matches a1b2c3d4-e5f6-7890-abcd-ef1234567890
For complete command reference, see cli-commands.md.
# Verify server URL is set echo $CCSINFO_SERVER_URLTest connection (list sessions)
ccsinfo sessions list
# Check if ccsinfo is installed which ccsinfoCheck version
ccsinfo --version
bash scripts/install.sh
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.