
Claude Code Conversation Search Mcp
io.github.TonySimonovsky由 GitHub 帳號 TonySimonovsky 發布v1.1.3更新於 Oct 27, 2026
Search Claude Code conversation history with natural language queries across all projects
發布方自己的服務:Claude Platform Docs
概覽
以自然語言搜尋本機所有專案的 Claude Code 對話紀錄,回傳所屬專案、日期與續接對話的指令。
- 可以做什麼
- 以自然語言查詢搜尋對話,支援時間與專案篩選、運算子與片語比對
- 列出已建立索引的專案及其訊息數與最近活動日期
- 讀取指定對話的訊息,可從開頭或結尾分頁
- 取得某則訊息前後的上下文
- 手動重建搜尋索引,並查看伺服器版本與系統資訊
- 適用情境
- 適合同時使用多個 Claude Code 專案、需要回想某個錯誤修正、設定或設計討論發生在哪裡,或想取得正確指令續接先前對話的情況。
- 執行需求
- 以本機程序執行,需 Node.js 18 以上,從 npm 安裝,支援 macOS、Linux 與 Windows,並需具備 MCP 支援的 Claude Code。它會讀取 Claude 專案目錄,並在 Claude 設定目錄下維護 SQLite 索引;可用 CONVERSATION_DB_PATH、CLAUDE_PROJECTS_DIR、INDEX_INTERVAL、MAX_RESULTS、AUTO_INDEXING 等環境變數調整路徑與索引行為。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Claude Code Conversation Search Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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.
Find any conversation across all projects:
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 --resumecommands 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:
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:
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
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
cdinto - Project-based names: Uses meaningful names like
poc-fbf-v023-1-cc - Automatic creation: Generated on-demand during search
Example:
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
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)
Option 2: Edit Configuration Files Directly
Global configuration (all projects):
Project-specific configuration (team-shared):
Configuration Options
The MCP server supports extensive configuration through environment variables. Here are the most commonly used options:
📖 For complete configuration options and performance tuning, see Configuration Guide
Usage
Once configured, the following tools are available in Claude Code:
Search Conversations
Search through your conversation history with natural language:
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 querylimit(optional): Maximum results to return (default: 10)includeContext(optional): Include surrounding messages (default: true)
List Projects
Get all indexed projects with statistics:
Returns project names, message counts, and last activity dates.
Get Message Context
Retrieve full context around a specific message:
Parameters:
messageId(required): The message ID to get context forcontextSize(optional): Number of messages before/after (default: 5)
Get Conversation Messages
Retrieve messages from a specific conversation:
Parameters:
conversationId(required): The conversation ID to get messages fromlimit(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:
Returns automatically generated tool signatures and descriptions. Updates automatically when new tools are added.
Refresh Index
Manually trigger re-indexing:
Useful after adding new projects or when auto-indexing is disabled.
Get Server Information
Show server version, changelog, and system information:
Displays current version, recent changes, system status, and available tools.
Advanced Usage
Complex Queries
Our built-in query parser supports sophisticated natural language patterns:
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,yesterdaylast week,this weeklast month,this monthlast 7 days,last 30 days- Specific dates:
"on 2024-01-15","since January 1"
Development
Setup Development Environment
Project Structure
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Troubleshooting
Database Issues
If the search index becomes corrupted:
Performance Optimization
For large conversation histories:
- Increase
INDEX_INTERVALto reduce indexing frequency - Set
MAX_RESULTSto limit result size - Use specific project filters in queries
Debug Mode
Enable debug logging to troubleshoot issues:
License
MIT License - see LICENSE file for details
Acknowledgments
Built using the Model Context Protocol SDK by Anthropic.
Credits
Developed by Tony AI Champ & Claude Code, 09-2025
Support
For issues, feature requests, or questions:
- Open an issue on GitHub
- Check existing issues for solutions
- Include debug logs when reporting bugs
來源:README.md,提交 7c83a03
工具
0版本歷史
1- v1.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Claude 整合
Claude Platform Docs
com.claude.platform官方發布者
遠端 MCP 伺服器,讓助理搜尋並閱讀 Claude 平台文件與 API 參考。

Insta Edits for Claude
由 GitHub 帳號 faisalkhanzemi 發布
讓 Claude 驅動 Mac 版 Instagram Edits 完整 274 個工具編輯器的橋接服務,並隨專案開啟同步工具清單。

Claude Checkpoint Mcp
由 GitHub 帳號 daniel-munoz 發布
本機 MCP 伺服器,把 Claude Code 工作階段狀態存成專案內的檢查點檔案,並可重新載入為精簡的續接摘要。

Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen
由 GitHub 帳號 spk-c 發布
通過 GDB、LLDB 和 MCP 為 Claude Code、Codex 和 Qwen 提供 C/C++ 崩潰、掛起和轉儲除錯AI 翻譯

AVE for Claude Code — Local Video Editing
由 GitHub 帳號 lemberalla 發布
僅適用於 Claude Code 的本機 AVE 時間軸編輯與匯出。需要現有 AVE 連接。AI 翻譯