claude-sesh
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 15 GitHub stars
Code Basarisiz
- execSync — Synchronous shell command execution in src/cli.ts
- process.env — Environment variable access in src/services/enricher.ts
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Session explorer for Claude Code - find, search, and resume all your past sessions
🗂️ claude-sesh
Your Claude Code sessions, organized.
Claude Code buries your sessions in ~/.claude/projects/.
Good luck finding that conversation from last week.
npx claude-sesh web
One command. Zero config. Your entire Claude Code history.
Features · Quick Start · Dashboard · CLI · MCP
Features
🔍 Session ExplorerFind any conversation instantly. Browse your complete Claude Code history with powerful filtering by project, date, model, and more. Never lose track of that perfect solution again. |
🔎 Full-Text SearchSearch across everything. Find sessions by code snippets, error messages, or any text. Search spans all your conversations, tool calls, and outputs. |
📊 Usage AnalyticsKnow where your tokens go. Track costs, token usage, and coding time across all sessions. See breakdowns by project, model, and time period. |
🔄 Easy ResumePick up where you left off. Get rich context summaries to continue any session. Copy resume prompts or use Claude's native resume feature. |
🏷️ AI EnrichmentAuto-generated insights. Let AI summarize sessions, extract key decisions, and add searchable tags. Powered by your Anthropic API key. |
🧠 MCP IntegrationGive Claude memory. Let Claude search your past sessions directly. Ask "How did I solve this before?" and get real answers. |
Quick Start
⚡ Try instantly
Opens No install. No config. No API keys. |
📦 Install globally
Then use the CLI anywhere:
|
🖥️ Web Dashboard
sesh web
📈Stats at a GlanceTotal tokens, cost, hours coded |
📅Activity HeatmapGitHub-style contribution graph |
⏱️Session TimelineVisual history of all your work |
🏆LeaderboardsTop projects, tools, models |
🔍Deep SearchFind by content, project, date |
📋Session DetailsFull context for any session |
💻 CLI Commands
|
Browse Sessions
|
Search & Find
|
|
Resume Work
|
AI Features
|
🧠 MCP Integration
Give Claude access to your session history.
claude mcp add claude-sesh --scope user -- npx claude-sesh mcp
Restart Claude Code. Now ask things like:
"What was I working on in this project?"
"How did I solve the caching issue before?"
"What files have changed recently?"
Available MCP Tools
| Tool | Description |
|---|---|
search_sessions |
Full-text search across all sessions |
get_session |
Get detailed info about a specific session |
get_project_context |
Recent sessions, decisions, todos for a project |
get_pending_todos |
Find incomplete tasks across sessions |
search_decisions |
Find past architectural decisions |
search_knowledge |
Search learnings and solutions |
get_file_history |
Track changes to specific files |
get_recent_activity |
Summary of recent coding activity |
🏷️ AI Enrichment
Auto-generate summaries and tags for better search.
export ANTHROPIC_API_KEY=your-key
sesh enrich
| 📝 Summary What was accomplished |
🎯 Decisions Key choices made |
🐛 Problems Issues & solutions |
🏷️ Tags Auto-categorization |
How It Works
┌────────────────────────────────────────────────────────────────┐
│ Claude Code writes sessions to ~/.claude/projects/ │
│ ↓ │
│ claude-sesh parses & aggregates session data │
│ • Token counts, costs, duration │
│ • Tool usage breakdown │
│ • File changes tracked │
│ ↓ │
│ AI Enrichment (optional) │
│ • Auto-generate summaries │
│ • Extract key decisions │
│ • Add searchable tags │
│ ↓ │
│ Web Dashboard & CLI │
│ • Search all sessions │
│ • View analytics & trends │
│ • Resume past work │
└────────────────────────────────────────────────────────────────┘
Your data stays local. claude-sesh reads Claude's existing session files. Nothing is uploaded anywhere.
🔒 Privacy & Security
| 💾 100% Local All data stays on your machine |
👀 Read-Only Never modifies Claude's files |
📡 No Telemetry Zero data collection |
Configuration
Change Dashboard Portsesh web --port 8080
Data Locations
Claude Code sessions:
~/.claude/projects/[project-path]/[session-id].jsonl
Enriched data (optional):
~/.claude-sesh/enriched/[session-id].json
Troubleshooting
Dashboard not loading?
lsof -i :3847 # Check if port in use
sesh web --port 8080 # Try different port
Search returning nothing?
- Try broader search terms
- Run
sesh enrichto improve searchability
MCP not working?
- Restart Claude Code after adding MCP server
- Verify with
claude mcp list
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines and our roadmap.
Built for the Claude Code community ❤️
Report Bug · Request Feature · Discussions
MIT License · Claude Code · Model Context Protocol
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi