Session Steward MCP server
Review and safely clean local Codex and Claude Code sessions
3 stars562 downloads/wk
Reviews
Write oneNobody has reviewed Session Steward yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Session Steward tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.5 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan38 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 3 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Session Steward repository's README, as published. We do not edit it. Read it on GitHub
Session Steward
Session Steward is a local session manager for Codex and Claude Code. It helps you find old or large sessions across workspaces, decide what is worth keeping, and clean up the related records it recognizes. You can use it with browser UI or terminal CLI, or through MCP with ChatGPT or Claude.
Codex can delete a session, and Claude Code can purge a project. Built-in deletion works when you already know what should go. Session Steward helps when the hard part is reviewing many sessions across both tools.
- Find inactive or large sessions across workspaces. Switch between Codex and Claude Code, then filter by archive status, name, or session ID.
- Open a session before deciding. See a distilled timeline of recent messages, file changes, commands, and command results, plus recognized storage and token use.
- Clean selected sessions using a plan you review first, with a local backup, verification afterward, and recovery when cleanup needs attention.
Try Session Steward locally
Try the browser app for one run without installing it globally:
Session Steward requires Node.js 24.15 or newer.
npx session-steward@latestThe browser app listens only on 127.0.0.1 and does not upload session contents.
For ongoing use, install it globally:
npm install --global session-stewardThe global install provides four commands:
Session Steward supports macOS, Linux, and Windows. Run session-steward to open the browser interface. Leave its terminal open while you use it; press Ctrl+C to stop it.
Find old and large Codex and Claude Code sessions
Session Steward reads the local session folders already used by Codex and Claude Code. It looks for ~/.codex and ~/.claude by default and lets you switch providers from the same interface.
You can:
- filter by inactivity, exact workspace, active or archived status, name, or session ID;
- see recognized session-owned storage by session and workspace, then sort by size;
- browse session timeline of recent messages, file changes, commands, and command results;
- inspect fresh input, cached input, cache writes, output, and recorded reasoning tokens;
- mark a session or workspace Keep so manual and scheduled cleanup skip it.
A workspace Keep covers that folder, its descendants, and future sessions there. Keep affects Session Steward cleanup only. Codex or Claude Code can still remove their own data.
Why not just delete sessions one at a time?
The native delete commands are useful when you already know what should go. They do not cover the same cross-workspace review and cleanup job.
A session can have more than its transcript. Depending on the provider and storage version, it may also have history or registry entries, logs, checkpoints, and other linked records. Removing a JSONL file by hand can leave those records behind.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y session-steward on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add session-steward -- npx -y session-steward
Session Steward: common questions
- Is Session Steward MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Session Steward safety report
- How do I install Session Steward?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Session Steward need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Session Steward maintained?
- The last commit was 5 days ago (2026-09-16). The latest release is v0.11.1.