AI Sessions
Provides unified access to local AI assistant CLI session histories from Claude Code, Gemini CLI, and OpenAI Codex with tools for
AI Sessions MCP Server provides unified access to local AI assistant CLI session histories from Claude Code, Gemini CLI, and OpenAI Codex, with partial support for Cursor CLI. Built by yoavf using Go and the MCP SDK, it reads session files stored locally by these tools (~/.claude/projects/, ~/.gemini/tmp/, ~/.codex/sessions/) and exposes them through four tools: listing available tools, browsing recent sessions with filtering by tool and project, searching session content for specific queries, and retrieving full session transcripts with pagination. The implementation handles different storage formats (JSONL for Claude/Codex, JSON for Gemini, SQLite for Cursor) and provides a normalized interface for finding past solutions, reviewing recent work, learning from previous conversations, and resuming interrupted coding sessions across multiple AI CLI tools.
Source
Repository: https://github.com/yoavf/ai-sessions-mcp
Maintain AI Sessions?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[AI Sessions on getagentictools](https://getagentictools.com/mcp/yoavf-ai-sessions-mcp?ref=badge)