jhammant

MCP server for searching and surfacing Claude Code conversation history

56
7
100% credibility
Found Feb 25, 2026 at 20 stars 3x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A companion tool for Claude Code that indexes past conversation history for fast searching, solution retrieval, session summaries, and automatic project context injection.

How It Works

1
🔍 Discover the Chat Memory Helper

You hear about this friendly tool that remembers all your past talks with your AI coding buddy, Claude.

2
📥 Bring It Home

Download it to your computer and set it up with easy steps, like unpacking a gift.

3
🧠 Scan Your Old Chats

It quickly reads through your saved conversations and builds a smart memory bank in seconds.

4
🔗 Link to Your AI Buddy

Connect it so Claude can peek into the memory whenever you chat.

5
Add Auto-Reminders

Turn on a feature that shares relevant past notes right when you start a new chat.

6
💬 Ask and Get Answers Fast

Say things like 'How did I fix this error before?' and see exact past solutions pop up.

🎉 Work Smarter Every Day

Now your AI recalls everything from before, saving you time and frustration on repeat problems.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 20 to 56 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ClaudeHistoryMCP?

ClaudeHistoryMCP is a TypeScript MCP server that indexes your Claude Code conversation history from JSONL files in ~/.claude/projects, making past chats searchable via six MCP tools like search_history, find_solutions, and get_project_context. It solves the pain of digging through old sessions for fixes, decisions, or patterns by offering hybrid keyword-semantic search with filters (project:name, before:7d, tool:Bash) and a session-start hook that auto-injects relevant context. Setup is straightforward: build index with npm run build-index, register via claude mcp add, and optionally install the hook.

Why is it gaining traction?

Unlike basic log grep tools, it fuses BM25 precision with TF-IDF recall for sub-200ms queries, extracts knowledge like error fixes automatically, and proactively surfaces project context—perfect for MCP server ai workflows akin to mcp github copilot vscode or mcp github issues integrations. Incremental file watching keeps indexes fresh without rebuilds, and CLI skills like /claude-history --solutions ECONNREFUSED deliver instant value. Devs love the no-LLM summaries and recency boosts that prioritize recent wins.

Who should use this?

Claude Code power users managing multiple projects, especially backend devs chasing docker network errors or frontend folks repeating auth flows across sessions. Ideal for teams using mcp github project manager setups or mcp server docker examples, where rediscovering past solutions saves hours. Skip if you're casual with Claude or prefer manual history scrolling.

Verdict

Worth trying for heavy Claude users—solid docs, CLI install, and 44 tests make it reliable despite 18 stars and 1.0% credibility score signaling early maturity. Pair with mcp server tutorial resources; expect refinements as adoption grows.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.