claude-sessions-mcp MCP Server
MCP server for managing Claude Code conversation sessions
claude-sessions-mcp scores 50 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 11 tools. Filed under AI and memory. GitHub shows 22 stars. Package registries report about 89 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
50 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
88/100 for listing completeness. Lost points: 4 of 11 tools barely described, short summary.
How quality is graded
Where the 50 comes from
0 + 20 + 6 + 10 + 4 + 10 = 50. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 6 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "es6kr-claude-code-sessions": { "command": "npx", "args": [ "-y", "claude-sessions-mcp@0.5.6" ] } }}
Environment variables
This server does not declare environment variables.
Tools11Tool docs quality grade D
All capabilitiesclear_sessionstoolClear empty sessions and invalid messages
delete_messagetoolDelete message and repair UUID chain
delete_sessiontoolDelete session (moves to backup folder)
Get files changed in a session
list_projectstoolList Claude Code projects
list_sessionstoolList sessions in a project
preview_cleanuptoolPreview sessions to be cleaned
rename_sessiontoolRename a session
split_sessiontoolSplit session at a specific message
start_guitoolStart Web UI
stop_guitoolStop Web UI
About
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 |
|---|---|---|
| @claude-sessions/core | Core library | |
| @claude-sessions/web | Web UI | |
| claude-sessions-mcp | MCP server | |
| claude-sessions | VSCode extension |
Installation
Stable (@latest)
# MCP Server
claude mcp add claude-sessions -- npx claude-sessions-mcp
# Web UI
npx @claude-sessions/web
Or 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@beta
Or 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 only
Features
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_projects | List Claude Code projects |
list_sessions | List sessions in a project |
rename_session | Rename a session |
delete_session | Delete session (moves to backup folder) |
delete_message | Delete message and repair UUID chain |
preview_cleanup | Preview sessions to be cleaned |
clear_sessions | Clear empty sessions and invalid messages |
get_session_files | Get files changed in a session |
split_session | Split session at a specific message |
start_gui | Start Web UI |
stop_gui | 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
Frequently asked questions
What is claude-sessions-mcp MCP Server?
MCP server for managing Claude Code conversation sessions
How do I install claude-sessions-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. claude-sessions-mcp MCP Server runs locally from the npm package claude-sessions-mcp with the command npx -y claude-sessions-mcp@0.5.6.
Is claude-sessions-mcp MCP Server free and open source?
Yes. claude-sessions-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does claude-sessions-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for claude-sessions-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does claude-sessions-mcp MCP Server provide?
claude-sessions-mcp MCP Server provides 11 tools, including clear_sessions, delete_message, delete_session, and get_session_files. See the full tool list for descriptions and parameters.
How is claude-sessions-mcp MCP Server's trust score calculated?
claude-sessions-mcp MCP Server scores 50 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.