プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Claude Code Conversation Search MCP

作者:TonySimonovskyバージョン 1.1.3i★ –iパソコンで動く
レジストリ名io.github.TonySimonovsky/claude-code-conversation-search-mcp

インストール

概要

作者による説明(英語の原文)

Search Claude Code conversation history with natural language queries across all projects

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 検索・AIの記憶

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "claude-code-conversation-search": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-conversation-search-mcp"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add claude-code-conversation-search -- npx -y claude-code-conversation-search-mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "claude-code-conversation-search": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-conversation-search-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "claude-code-conversation-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "claude-code-conversation-search-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント TonySimonovsky で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの5654件のうち0%よりスターが多い
  • このカテゴリのほかの5654件のうち0%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの5654件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Claude Code Conversation Search MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.1.3)がレジストリに届いたのは14 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Context7

作者:upstash

Up-to-date docs for AI agents

パソコンでもクラウドでも★ 64,224MIT昨日更新
インストール

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

パソコンで動く★ 48,148MIT21 日前更新
インストール

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

クラウドで動く★ 5,213MIT2 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Claude Code Conversation Search MCP

Stop losing your Claude Code conversations. Never again ask "where did we discuss that bug fix?" or lose hours of context when your terminal closes.

npm install -g claude-code-conversation-search-mcp

Find any conversation across all projects:

"where did we discuss the database issue?"

"find that authentication conversation" "docker configuration we talked about yesterday"

Get the exact project, date, and command to resume instantly.

Why You Need This

The Problem: Claude Code has no conversation search. When you close a terminal or switch projects, finding that important discussion becomes impossible. You're left scrolling through cryptic conversation titles hoping to recognize the right one.

The Solution: Search all your Claude Code conversations from any project session. Ask "where did we discuss authentication?" and instantly get the exact conversation with a resume command.

Features

  • Find lost conversations: Never lose track of important discussions again
  • Search across all projects: Working in Project A but need info from Project B? Just search
  • Resume instantly: Get exact claude --resume commands to continue where you left off
  • Natural language: Ask questions like you would a human - "find that Docker conversation"
  • Lightning fast: Search thousands of conversations in milliseconds
  • Zero setup: Install and it works immediately with your existing Claude Code

Quick Start

Install and it auto-configures with Claude Code:

npm install -g claude-code-conversation-search-mcp

Search across all projects while working in any project.

🎯 Recommended: Enhanced Claude Code Integration

For optimal search results and better Claude Code interaction, add these instructions to your global ~/.claude/CLAUDE.md file:

# Add to ~/.claude/CLAUDE.md

echo "- When asked to use conversation-search, you must start searching from very wide queries, narrowing down step by step. When responding based on this mcp results output a human readable text with proper newlines instead of formatting json." >> ~/.claude/CLAUDE.md

Why this helps:

  • Better search strategy: Claude will start with broad queries and progressively narrow down, finding more relevant results
  • Human-readable output: Instead of raw JSON, you'll get properly formatted responses with project paths, dates, and resume commands
  • Improved UX: Makes conversation search feel natural and intuitive within Claude Code workflows

Usage

# Find lost conversations

"where did we discuss the login bug?" "find that Docker conversation" "database setup we talked about"

Search by what you remember

"authentication error we fixed" "API endpoint discussion yesterday" "performance issue last week"

Find solutions from other projects

"how did we solve CORS issues?" "Redis configuration that worked" "deployment script we wrote"

Every search gives you:

  • Which project the conversation was in
  • When it happened (date and time)
  • What you discussed (conversation summary)
  • Smart shortcuts to resume: cd ~/.cs/project-name && claude --resume abc123

Smart Directory Shortcuts

The search automatically creates directory shortcuts for faster navigation:

  • Cross-platform: Works on macOS, Linux, and Windows
  • Short paths: Uses ~/.cs/ instead of long project paths
  • Real directories: Creates actual symlinks/junctions you can cd into
  • Project-based names: Uses meaningful names like poc-fbf-v023-1-cc
  • Automatic creation: Generated on-demand during search

Example:

# Instead of:

cd '/Users/username/very/long/path/to/project'

You get:

cd ~/.cs/project-name

Technical

Built with TypeScript, uses SQLite FTS5 for search, integrates via Model Context Protocol.

System requirements:

  • Node.js 18+
  • Claude Code with MCP support
  • macOS, Linux, or Windows

Performance:

  • Sub-second search across 10k+ conversations
  • Real-time indexing with file watching
  • Minimal memory footprint (~50MB)

Storage:

  • SQLite database in ~/.claude/conversation-search/
  • Indexes conversation content, not file contents
  • Automatic cleanup of deleted conversations

Installation

From source
# Clone the repository

git clone https://github.com/TonySimonovsky/claude-code-conversation-search-mcp.git cd claude-code-conversation-search-mcp

Install dependencies

npm install

Build the project

npm run build

Optional: Link globally

npm link

Configuration

Automatic Setup (Recommended)

After installation, the MCP server auto-configures with Claude Code. No manual configuration needed!

Manual Configuration (Optional)

If you need custom configuration, choose one of these approaches:

Option 1: Command Line (Recommended)

# Add globally for all projects

claude mcp add conversation-search claude-code-conversation-search-mcp

Add for current project only (creates .mcp.json)

claude mcp add --scope project conversation-search claude-code-conversation-search-mcp

Option 2: Edit Configuration Files Directly

Global configuration (all projects):

# Edit the global Claude Code config (run from anywhere)

nano ~/.claude.json

Or use your preferred editor: code ~/.claude.json

{

"mcpServers": { "conversation-search": { "command": "claude-code-conversation-search-mcp", "args": [] } } }

Project-specific configuration (team-shared):

# Create project config file (run from project root)

nano .mcp.json

Or: code .mcp.json

{

"mcpServers": { "conversation-search": { "command": "claude-code-conversation-search-mcp", "args": [] } } }

Configuration Options

The MCP server supports extensive configuration through environment variables. Here are the most commonly used options:

Environment VariableDescriptionDefault
CONVERSATION_DB_PATHPath to SQLite database~/.claude/conversation-search.db
CLAUDE_PROJECTS_DIRPath to Claude projects directory~/.claude/projects
INDEX_INTERVALAuto-index interval in milliseconds300000 (5 minutes)
MAX_RESULTSMaximum search results to return20
DEFAULT_CONTEXT_SIZEDefault context messages before/after2
AUTO_INDEXINGEnable automatic indexingtrue
DEBUGEnable debug loggingfalse

📖 For complete configuration options and performance tuning, see [Configuration Guide](docs/configuration.md)

Usage

Once configured, the following tools are available in Claude Code:

Search Conversations

Search through your conversation history with natural language:

search_conversations("Where did we create auth.js?")

search_conversations("database optimization last week") search_conversations("TypeError in index.ts")

Query Examples:

  • File operations: "created auth.js", "edited config.json", "modified database.ts"
  • Topics: "discuss React hooks", "security review", "performance optimization"
  • Errors: "TypeError", "CORS error", "undefined variable"
  • Commands: "npm install lodash", "git commit", "database migration"
  • Time filters: "today", "yesterday", "last week", "this month"
  • Project filters: "in project myapp", "from backend-api"

Parameters:

  • query (required): Natural language search query
  • limit (optional): Maximum results to return (default: 10)
  • includeContext (optional): Include surrounding messages (default: true)
List Projects

Get all indexed projects with statistics:

list_projects()

Returns project names, message counts, and last activity dates.

Get Message Context

Retrieve full context around a specific message:

get_message_context("msg_abc123", contextSize: 5)

Parameters:

  • messageId (required): The message ID to get context for
  • contextSize (optional): Number of messages before/after (default: 5)
Get Conversation Messages

Retrieve messages from a specific conversation:

get_conversation_messages("conv_456", limit: 50, startFrom: 0)

get_conversation_messages("conv_456", limit: 10, startFrom: -1) # Last 10 messages get_conversation_messages("conv_456", limit: 20, startFrom: -10) # 20 messages starting from 10th from end

Parameters:

  • conversationId (required): The conversation ID to get messages from
  • limit (optional): Number of messages to return (default: 50)
  • startFrom (optional): Starting position - 0=first, -1=last, -10=10th from end (default: 0)
List Tools

Show all available tools with their signatures:

list_tools()

Returns automatically generated tool signatures and descriptions. Updates automatically when new tools are added.

Refresh Index

Manually trigger re-indexing:

refresh_index()

Useful after adding new projects or when auto-indexing is disabled.

Get Server Information

Show server version, changelog, and system information:

get_server_info()

Displays current version, recent changes, system status, and available tools.

Advanced Usage

Complex Queries

Our built-in query parser supports sophisticated natural language patterns:

# Find specific file operations

"Where did we create or modify authentication files?"

Search by multiple criteria

"database migrations in project backend last week"

Find specific error patterns

"TypeError or ReferenceError in React components"

Search tool operations

"bash commands containing npm or yarn"

Find code discussions

"Where did we discuss implementing caching?"

Search Operators
  • AND: Terms are ANDed by default ("auth login" finds messages with both)
  • OR: Use "or" between terms ("auth or login")
  • NOT: Use "-" prefix ("auth -test" excludes test-related results)
  • Phrase: Use quotes for exact phrases ("user authentication")
  • Wildcard: Use * for prefix matching ("auth*" matches auth, authentication, etc.)
Time Filters

Supported time expressions:

  • today, yesterday
  • last week, this week
  • last month, this month
  • last 7 days, last 30 days
  • Specific dates: "on 2024-01-15", "since January 1"

Development

Setup Development Environment
# Clone and install

git clone cd claude-code-conversation-search-mcp npm install

Run in development mode with hot reload

npm run dev

Run tests

npm test

Build for production

npm run build

Project Structure
src/

├── index.ts # MCP server entry point ├── indexer/ │ ├── parser.ts # JSONL conversation parser │ ├── database.ts # SQLite database operations │ └── indexer.ts # Indexing orchestration ├── search/ │ └── query.ts # Natural language query parser └── types/ └── index.ts # TypeScript type definitions

Contributing
  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Troubleshooting

Database Issues

If the search index becomes corrupted:

# Remove the database file

rm ~/.claude/conversation-search.db

Restart Claude Code to trigger re-indexing

Performance Optimization

For large conversation histories:

  1. Increase INDEX_INTERVAL to reduce indexing frequency
  2. Set MAX_RESULTS to limit result size
  3. Use specific project filters in queries
Debug Mode

Enable debug logging to troubleshoot issues:

{

"mcpServers": { "conversation-search": { "command": "npx", "args": ["claude-code-conversation-search-mcp"], "env": { "DEBUG": "true" } }

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く