# AI Sessions

> Use this tool when you need to access and manage local AI assistant session histories from various CLI tools, such as Claude Code, Gemini CLI, and OpenAI Codex. It solves problems like finding past solutions, reviewing recent work, and resuming interrupted coding sessions by providing a unified interface to search, browse, and retrieve session transcripts. With support for multiple storage formats, it takes in local session files and outputs normalized session data, making it ideal for users working with multiple AI CLI tools.

Canonical page: https://skillsregistry.net/skills/yoavf-ai-sessions  
JSON: https://api.skillsregistry.net/v1/skills/yoavf-ai-sessions

## Description

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.

## Trust

- **Trust score (0–1):** 0.62
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-01

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/yoavf-ai-sessions)
- **Repository:** <https://github.com/yoavf/ai-sessions-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "yoavf-ai-sessions"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/yoavf-ai-sessions` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/yoavf-ai-sessions/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
