# claude-code-conversation-search-mcp

Search Claude Code conversation history across projects and get the project, date, and a command to resume a chat. Useful when you remember the subject but not where you discussed it.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: TonySimonovsky
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/TonySimonovsky/claude-code-conversation-search-mcp
- Updated: 2025-09-28
- HTML: https://affpapa.org/en/nevibecode/mcp/claude-code-conversation-search-mcp

## What it does

The server searches the content of Claude Code conversations across projects. Results include the project, date, a conversation summary, and a `claude --resume` command for picking up where you left off. It also creates short directory links under `~/.cs/` to help you navigate to a project.

Search runs on SQLite FTS5, with indexing updated as files change. The index covers conversations, not project files. You need Node.js 18+ and Claude Code with MCP support; the server runs on macOS, Linux, and Windows. It won't search text in your source files.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add claude-code-conversation-search-mcp -- npx -y claude-code-conversation-search-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add claude-code-conversation-search-mcp -- npx -y claude-code-conversation-search-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "claude-code-conversation-search-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "claude-code-conversation-search-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "claude-code-conversation-search-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "claude-code-conversation-search-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add claude-code-conversation-search-mcp npx -y claude-code-conversation-search-mcp
```

## When to use it
- locate a conversation by topic across projects
- find where an error or configuration was discussed
- get a command to resume an older conversation
- reach a project through a short directory link

## Example prompts
- Find where we discussed the database setup.
- Search another project for the conversation about the login issue.
- Find our Docker configuration discussion and give me the command to resume it.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74569
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
