Skip to content
MCP server

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.

by es6krMITTypeScript22 stars
Trust score
50Fair
Trust score 50 of 100, Fair

Fair trust

50 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 50 comes from

0 + 20 + 6 + 10 + 4 + 10 = 50. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity6 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 6 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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 capabilities

About

claude-code-sessions

License: MIT Unofficial

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

PackageVersionDescription
@claude-sessions/corenpmCore library
@claude-sessions/webnpmWeb UI
claude-sessions-mcpnpmMCP server
claude-sessionsVS MarketplaceOpen VSXVSCode 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.

Project Listing

Session Management

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

Session Management

Message Viewer

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

Message Viewer

Search

Search sessions by title across all projects.

Search

Cleanup

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

Cleanup

VSCode Extension

VSCode Extension

Web UI

Web UI

MCP Tools

ToolDescription
list_projectsList Claude Code projects
list_sessionsList sessions in a project
rename_sessionRename a session
delete_sessionDelete session (moves to backup folder)
delete_messageDelete message and repair UUID chain
preview_cleanupPreview sessions to be cleaned
clear_sessionsClear empty sessions and invalid messages
get_session_filesGet files changed in a session
split_sessionSplit session at a specific message
start_guiStart Web UI
stop_guiStop 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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server