Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Conversation Search MCP Serversearch for conversations about SQLite optimization"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Conversation Search MCP Server
Version: 1.1.0
Status: Production Ready
Last Updated: 2025-01-07
Overview
Advanced MCP server providing semantic and traditional search capabilities across Claude Code conversation history. Features vector embeddings, hybrid search, and comprehensive conversation management tools.
π Key Features
Search Capabilities
Traditional Search: Fast FTS-based keyword search with session indexing
Vector Search: Semantic similarity using OpenAI embeddings
Hybrid Search: Combined semantic + keyword matching for optimal results
Context Retrieval: Adjacent chunk expansion for full conversation context
Conversation Management
Recent Conversations: Optimized retrieval with project filtering
Session Details: Full conversation history with message threading
Auto-Naming: AI-powered conversation title generation
Batch Operations: Bulk renaming and processing capabilities
Database Operations
Incremental Updates: Process only new conversations since last run
Full Migration: Complete conversation database rebuild
Statistics: Comprehensive indexing and usage metrics
Vector Migration: One-time embedding generation for existing conversations
π Current Scale
Conversations: 664 processed sessions
Messages: 118,453+ indexed messages
Vector Chunks: 13,847 semantic chunks
Database Size: ~420MB optimized storage
Embedding Cost: ~$0.57 (one-time migration)
π οΈ Technical Stack
Runtime: Node.js with TypeScript
Database: SQLite with FTS and vector extensions
Embeddings: OpenAI text-embedding-3-small
Protocol: Model Context Protocol (MCP)
Search: Hybrid semantic + keyword matching
π Security Configuration
Environment Variables Setup
Copy the environment template:
cp .env.example .envConfigure your API key:
# Edit .env and add your OpenAI API key OPENAI_API_KEY=your_actual_api_key_here
Security Best Practices
β Environment Variables: All sensitive data is configured via environment variables
β No Hardcoded Secrets: API keys are never committed to version control
β Secure Defaults: Vector search gracefully degrades without API key
β Read-Only Access: OpenAI API is used only for text embedding generation
β Local Processing: All conversation data remains on your system
β Cost Control: Built-in token estimation and cost tracking
API Key Management
Required For: Vector search, semantic search, AI-powered naming
Not Required For: Traditional keyword search, conversation management
Permissions: Read-only access to OpenAI embeddings API
Cost: ~$0.0001 per 1,000 tokens (very low cost for typical usage)
Rate Limits: Automatic batching and retry logic included
Data Privacy
Local Storage: All conversation data stored locally in SQLite
No Data Sharing: Conversations never sent to external services except for embedding generation
User Control: Vector search entirely optional and user-controlled
Audit Trail: All API usage logged with token counts and costs
β‘ Quick Start
Prerequisites
# 1. Copy and configure environment variables
cp .env.example .env
# Edit .env with your OpenAI API key (optional)
# 2. Install dependencies
npm installBuild and Run
# Build the server
npm run build
# Test direct communication
echo '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}' | node dist/src/index.jsMCP Integration
Add to your Claude Code configuration:
{
"conversation-search": {
"type": "stdio",
"command": "node",
"args": ["/path/to/conversation-search/dist/src/index.js"],
"env": {}
}
}π Available Tools
Traditional Search
search_conversations- Keyword search with role filteringget_recent_conversations- Latest conversations with project filteringget_conversation_details- Full session message historyget_session_for_resume- Resume-formatted conversation data
Vector Search (Requires OpenAI API Key)
vector_search_conversations- Semantic similarity searchhybrid_search_conversations- Combined semantic + keyword searchget_chunk_with_context- Expand search results with adjacent chunks
Management Tools
rename_conversation- Assign custom conversation namesgenerate_conversation_summary- AI-powered title generationlist_conversations_with_names- Named conversation listingbatch_rename_recent- Bulk conversation naming
Database Operations
update_database- Full conversation database rebuildupdate_database_incremental- Process only new conversationsget_indexing_stats- Database statistics and health metricsmigrate_to_vector_database- One-time vector embedding migration
π Documentation
Current Status - Real-time project state
Architecture - System design and decisions
API Reference - Complete tool documentation
Development Guide - Setup and contribution guide
π― Performance
Search Speed: Sub-second response for most queries
Memory Efficient: SQLite-based storage with optimized indexes
Scalable: Handles 100K+ messages with consistent performance
Graceful Degradation: Traditional search works without OpenAI API key
π§ Monitoring
Check server health:
# Get comprehensive statistics
echo '{"jsonrpc": "2.0", "method": "tools/call", "params": {"name": "get_indexing_stats"}, "id": 1}' | node dist/src/index.jsExpected output includes traditional and vector database metrics, processing dates, and configuration status.
π License
Private development tool - not for redistribution.
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.