claude-sessions-mcp
Click on "Install 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
1Share 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.
11- TaprootOAuthcom.taproothq
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides 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.62BSD 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.45720MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code sessions to query fleet status, focus terminals, and manage sessions programmatically via MCP tools.1MIT
- AlicenseAqualityAmaintenanceEnables search, analytics, and visualization of Claude Code sessions with MCP tools for session management, recovery, and insights.101MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/es6kr/claude-code-sessions'
If you have feedback or need assistance with the MCP directory API, please join our Discord server