Labsco
MCP SERVER

AI Sessions

by yoavf

Search and re-read your past coding sessions — Claude Code, Codex, Gemini CLI, opencode, Mistral Vibe, Copilot CLI — from any client.

Session & Transcript Recall
Summary
Yesterday's session, searchable — including the ones from a different agent.

The transcripts were already sitting in ~/.claude, ~/.codex and their equivalents; what was missing is any way to ask them a question. search_sessions ranks by relevance and returns the excerpt, so "how did I fix that auth bug" resolves without you remembering which agent you were using at the time, and get_session pages the actual conversation into the one you are in now.

What it is

A Go binary that reads the session transcripts those CLI coding agents already write to disk and serves them over MCP. It reads the local stores through source-specific adapters; it does not launch the agent CLIs.

What you get
  • Recent sessions across all projects, newest first, filtered by source or by project directory
  • Keyword search over session content, ranked with BM25, each hit carrying a contextual snippet
  • Any session's full transcript, paged so a long one does not arrive in one piece
  • Which source adapters the running server can actually see on this machine
  • One place for Claude Code, Gemini CLI, OpenAI Codex, opencode, Mistral Vibe and GitHub Copilot CLI history
Requirements

A single binary. The install script at https://aisessions.dev/install.sh puts it in ~/.aisessions/bin, or take a release build for macOS, Linux or Windows amd64; INSTALL_DIR moves it elsewhere. Building from source needs Go 1.25.13 or later. Point your client at the binary path over stdio. Nothing to authorize for reading — the session files are already on the machine. The separate aisessions login and aisessions upload commands exist for publishing a transcript to aisessions.dev and are not part of the server.

Setup effort

One command — curl -fsSL https://aisessions.dev/install.sh | bash