Vvkmnn/claude-historian-mcp

View on GitHub โ†—

๐Ÿ“œ An MCP server for conversation history search and retrieval in Claude Code

177 โ˜…18 forksTypeScriptUpdated 2mo ago

What you need to know

MCP server for searching your Claude Code conversation history to find past solutions, track file changes and learn from previous work, with zero dependencies

Install

claude mcp add claude-historian-mcp -- npx claude-historian-mcp

Usage

  • โ€ขSearch with the search tool across 11 scopes like conversations, errors, plans, files and memories
  • โ€ขInspect any session by ID or short prefix with the inspect tool

Key features

  • โœ“Two tools and 11 scopes with no external databases
  • โœ“TF-IDF inspired scoring and workflow pattern detection
  • โœ“Parallel processing across projects and files with early termination
  • โœ“JSON streaming parser and LRU caching
  • โœ“Optional skill and plugin for proactive history checks
  • โœ“Reads local JSONL files only and never leaves the machine

Best for

Claude Code users who want to search past conversations and file change history

Caveats

  • โš Claude Desktop history is not supported - stored server-side
  • โš Node.js 20 or later required
  • โš Zero tokens at idle but each query costs tokens
Platforms: macOS ยท Linux ยท WindowsClients: Claude Code ยท Cursor ยท Windsurf

Reviewed 2026-08-11

Topics

aiai-toolsanthropicclaudeclaude-codecontext-retrievalconversation-historydeveloper-toolsinverted-indexjsonlllmmcpmcp-servermemorymodel-context-protocolnodejsnpxsearchsessiontypescript
Stars
177โ˜…
Forks
18
Language
TypeScript
License
MIT
Created
2025-07-14
Last push
2026-06-15