Provides access to historical Docker configuration solutions and authentication troubleshooting
Enables finding information about Git operations during feature branch management and historical changes
Allows retrieving historical solutions for Kubernetes deployment issues and container crashes
Enables searching for past React-related solutions including infinite re-render loops and state management approaches
Provides access to historical solutions for Redis connection pooling problems
Allows finding historical discussions on state management comparing Redux with alternatives
claude-historian
A Model Context Protocol (MCP) server for searching your Claude Code conversation history. Find past solutions, track file changes, and learn from previous work.
install
Requirements:
From shell:
From inside Claude (restart required):
From any manually configurable mcp.json
: (Cursor, Windsurf, etc.)
That's it. No npm install
needed; there are no external dependencies or local databases, only search algorithms.
features
MCP server that gives Claude access to your conversation history. Fast search with smart prioritization.
Runs locally (with cool shades [⌐■_■]
):
methodology
How claude-historian works (source):
Pure streaming architecture using:
- JSON streaming parser: Reads Claude Code conversation files on-demand without full deserialization
- LRU caching: In-memory cache with intelligent eviction for frequently accessed conversations
- TF-IDF inspired scoring: Term frequency scoring with document frequency weighting for relevance
- Query classification: Naive Bayes-style classification (error/implementation/analysis/general) with adaptive limits
- Edit distance: Fuzzy matching for technical terms and typo tolerance
- Exponential time decay: Recent messages weighted higher with configurable half-life
File access:
- Reads from:
~/.claude/conversations/
- Zero persistent storage or indexing
- Never leaves your machine
development
Contributing:
- Please fork the repository and create feature branches
- Test with large conversation histories before submitting PRs
- Follow TypeScript strict mode and MCP protocol standards
Learn from examples:
- Official MCP servers for reference implementations
- TypeScript SDK for best practices
license
Claude Fauchet (1744-1793), French Historian
This server cannot be installed
MCP server that lets you search your Claude Code conversation history to find past solutions, track file changes, and learn from previous work.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.Last updated -224PythonMIT License
- -securityFlicense-qualityAn MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.Last updated -Python
- AsecurityAlicenseAqualityAn MCP server implementation that helps Claude remember and learn from programming errors by storing, retrieving, and finding similar errors with full context.Last updated -64PythonMIT License
- AsecurityAlicenseAqualityMCP server that provides Claude AI assistants with the ability to search the web, get news, and perform research using the You.com API.Last updated -4TypeScriptMIT License