# AI Session Search

> Search and revisit local AI coding sessions.

- **URL**: https://followmcp.com/en/servers/ai-session-search
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 82
- **FMRS Score**: 51/100 (Grade D)
- **Source**: https://github.com/ahundt/ai-session-search
- **Transports**: stdio (local process)
- **Runtimes**: Rust 1.89+
- **Auth**: No credential needed

## Overview
AI Session Search uses a local index to search and analyze sessions from AI coding tools including Claude Code, Codex, and Gemini CLI. It provides an MCP server, CLI, Rust library, and Python API. Queries may refresh the index according to policy, or can be set to read the existing index only.

## Best for
- Developers who want to search local session history across AI coding tools.
- Users who want MCP access to an existing local session index.

## Not for
- Users who need to search conversations that exist only in cloud accounts and are not stored locally.
- Users who do not want the server to access local session records or its index.

## Required permissions
- Needs access to configured local session sources and the AI Session Search index; queries may refresh the index.
- The SQL query tool is described as read-only.

## Risks
- Local session records may contain prompts, generated text, tool evidence, and file snippets; search results can expose that content.
- Unless configured to use the existing index only, queries may update AI Session Search's own state.

## Tools (8)
- `search_sessions`: Search AI sessions.
- `search_messages`: Search session messages.
- `list_sessions`: List sessions.
- `get_session`: Read session content.
- `get_resume_command`: Get a command to resume a session.
- `get_index_status`: Check index status.
- `run_skill_capability`: Run a skill capability.
- `query_session_index`: Run read-only SQL queries against the session index.
