claude-sessions-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-sessions-mcplist my Claude Code projects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-code-sessions
Browse, search, rename, split, and clean up Claude Code sessions — via MCP server, Web UI, or VSCode extension.
Note: This is a community project and is not affiliated with or endorsed by Anthropic.
Packages
Package | Version | Description |
Core library | ||
Web UI | ||
MCP server | ||
VSCode extension |
Related MCP server: claude-code-mcp
Installation
Stable (@latest)
# MCP Server
claude mcp add claude-sessions -- npx claude-sessions-mcp
# Web UI
npx @claude-sessions/webOr add MCP server directly to ~/.claude.json:
{
"mcpServers": {
"claude-sessions": {
"command": "npx",
"args": ["claude-sessions-mcp"]
}
}
}Beta (@beta)
# MCP Server
claude mcp add claude-sessions -- npx claude-sessions-mcp@beta
# Web UI
npx @claude-sessions/web@betaOr add MCP server directly to ~/.claude.json:
{
"mcpServers": {
"claude-sessions": {
"command": "npx",
"args": ["claude-sessions-mcp@beta"]
}
}
}Development
# Install dependencies
corepack enable
pnpm install
# Dev server
pnpm dev # Web UI
pnpm dev:mcp # MCP server
# Build
pnpm build # All packages
pnpm build:core # core only
pnpm build:mcp # mcp only
pnpm build:web # web onlyFeatures
Project Listing
Browse Claude Code project folders with expandable tree view, sorted by summary time or name.

Session Management
List, rename, delete, and split sessions. Hover to see session details with tooltip.

Message Viewer
View messages with tab interface. Inspect user/assistant turns, tool calls, and thinking blocks.

Search
Search sessions by title across all projects.

Cleanup
Remove empty sessions, orphan agents, and orphan todos with preview before execution.

VSCode Extension

Web UI

MCP Tools
Tool | Description |
| List Claude Code projects |
| List sessions in a project |
| Rename a session |
| Delete session (moves to backup folder) |
| Delete message and repair UUID chain |
| Preview sessions to be cleaned |
| Clear empty sessions and invalid messages |
| Get files changed in a session |
| Split session at a specific message |
| Start Web UI |
| Stop Web UI |
Tech Stack
Core: TypeScript + Effect-TS
MCP Server: @modelcontextprotocol/sdk
Web UI: SvelteKit + Svelte 5 + TailwindCSS
Build: tsup + Vite
Package Manager: pnpm (monorepo)
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
Share context and questions between Claude instances — VS Code, claude.ai web, and mobile.
Creative workspace. Public MCP: outline previews for Codex and Claude Code; media in the web app.
- TaprootOAuthcom.taproothq
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides comprehensive session management for Claude Code with automatic initialization/cleanup, quality checkpoints, and local conversation memory with semantic search for capturing learnings across coding sessions.6631 PyPI2BSD 3-Clause
- AlicenseAqualityDmaintenanceWraps Claude Code as tools for MCP clients, enabling autonomous coding tasks via a 4-tool lifecycle with session management, async polling, and permission controls.434 npm20MIT
- AlicenseAqualityAmaintenanceEnables search, analytics, and visualization of Claude Code sessions with MCP tools for session management, recovery, and insights.101MIT
- FlicenseNot gradedqualityAmaintenanceMCP server for programmatic lifecycle management of Claude Code sessions, supporting list, create, read, send, fork, wait, and interrupt operations.4 npm1-