Claude Sessions
claude_sessionsList recent Claude conversations with session IDs and workspace directories to find a lost session or continue earlier work.
Instructions
List recent Claude conversations this server has run, newest first, with each conversation's session_id, originating tool, workspace_dir, and topic excerpt. Use it when you lost a session_id or want to continue earlier work: pick the session and resume it with claude_continue (same workspace_dir). The ledger is in-memory and resets when the MCP server restarts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "claude_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum sessions to list, defaulting to 10. | |
| workspace_dir | No | Optional exact workspace_dir filter. |