---
title: Search
description: Grep search across all Claude Code sessions.
---

claude-view includes session search powered by Rust grep over Claude Code JSONL files. There is no persistent session search index to build, migrate, or repair.

## What's indexed

- All message content (user and assistant)
- Tool call inputs and outputs
- File paths referenced in sessions
- Session metadata (project, model, date)

## Using search

**In the UI:** Click the search bar or press `Cmd+K` / `Ctrl+K`.

**Via MCP:**
```
search_sessions(query: "authentication refactor", limit: 10)
```

## Search syntax

Search uses literal, case-insensitive matching:
- Plain text: `refactor auth module`
- Exact substrings: `git push origin`
- UI/API filters can narrow by project, model, and date before grep runs

## Performance

Search scans the filtered JSONL candidate set directly, so startup does not need to build a separate session search index.
