Search Claude Code conversation history
## Claude Historian MCP Server: Conversation Memory The **Claude Historian MCP Server** provides persistent conversation history for Google Antigravity sessions. This integration maintains context across conversations, enabling AI assistants that remember past interactions and build on previous discussions. ### Why Claude Historian MCP? Persistent memory enhances AI: - **Long-Term Memory**: Remember past conversations - **Context Retrieval**: Find relevant past discussions - **Summarization**: Condense conversation history - **Cross-Session**: Memory persists between sessions - **Searchable**: Query conversation history ### Key Features #### 1. Store Conversations ```python from claude_historian import Historian historian = Historian() # Save conversation automatically historian.save_conversation( messages=messages, metadata={ "topic": "API design", "project": "backend-refactor" } ) ``` #### 2. Retrieve Context ```python # Find relevant past conversations relevant = historian.search( query="How did we implement authentication?", limit=5 ) for conv in relevant: print(f"Date: {conv.timestamp}") print(f"Summary: {conv.summary}") ``` #### 3. Inject History ```python # Add relevant history to current conversation context = historian.get_context( current_query="Continue the refactoring discussion", max_tokens=2000 ) messages = [ {"role": "system", "content": f"Previous context: {context}"}, {"role": "user", "content": current_query} ] ``` ### Configuration ```json { "mcpServers": { "claude-historian": { "command": "npx", "args": ["-y", "@anthropic/mcp-historian"], "env": { "HISTORIAN_STORAGE": "~/.claude-history", "MAX_HISTORY_SIZE": "10000" } } } } ``` ### Use Cases **Project Continuity**: Resume discussions from previous sessions. **Knowledge Accumulation**: Build on past solutions and decisions. **Team Context**: Share conversation history across team members. The Claude Historian MCP Server brings persistent memory to Antigravity.
{
"mcpServers": {
"claude-historian": {
"mcpServers": {
"claude-historian": {
"args": [
"-y",
"claude-historian-mcp"
],
"command": "npx"
}
}
}
}
}