ClaudeHistoryMCP
MCP server for searching and surfacing Claude Code conversation history
How to use
ClaudeHistoryMCP is a specialized Model Context Protocol server that allows you to search and retrieve conversation history from Claude Code interactions. Developers can leverage this tool to efficiently access past discussions, enabling them to improve their coding practices and revisit important insights without sifting through extensive logs. This server is particularly useful for teams that frequently collaborate using Claude Code, ensuring that valuable information is always at your fingertips.
Once connected to ClaudeHistoryMCP, you can issue queries to search for specific conversations or topics from your Claude Code history. You can use simple text-based commands to filter results by date or keywords, making it easy to find relevant discussions quickly. For best results, formulate your queries with specific terms or phrases related to your coding projects to help narrow down the search effectively.
How to install
Prerequisites
Before installing ClaudeHistoryMCP, ensure you have Node.js installed on your system. You can download it from nodejs.org.
Option A: Quick start with npx
If you want to quickly start using ClaudeHistoryMCP without a full installation, you can use npx:
npx -y jhammant/ClaudeHistoryMCP
Option B: Global install alternative
To install ClaudeHistoryMCP globally, use the following command:
npm install -g jhammant/ClaudeHistoryMCP
This allows you to access the server from anywhere on your machine.
Additional notes
When configuring ClaudeHistoryMCP, ensure your environment has access to the necessary network permissions to communicate effectively. You might also want to set environment variables for API keys or service endpoints if required for your specific use case. Be cautious of rate limits when querying the server, as excessive requests may lead to throttling.
Related MCP Servers
mcp-omnisearch
🔍 A Model Context Protocol (MCP) server providing unified access to multiple search engines (Tavily, Brave, Kagi), AI tools (Perplexity, FastGPT), and content processing services (Jina AI, Kagi). Combines search, AI responses, content processing, and enhancement features through a single interface.
omega-memory
Persistent memory for AI coding agents
docmole
Dig through any documentation with AI - MCP server for Claude, Cursor, and other AI assistants
mcp-tidy
CLI tool to visualize and manage MCP server configurations in Claude Code. List servers, analyze usage statistics, and clean up unused servers
harvest
MCP server for Harvest time tracking API - use with Claude Desktop and other AI assistants
twining
Agent coordination MCP server — shared blackboard, decision tracking, and context assembly